|
DavefromBaroda wrote: the control including table has changed d position on d webform n as a result in browser...
Some styles will be generated by the visual studio editor automatically for the table. Remove that.
DavefromBaroda wrote: what shall i do.. to avoid this..
is it possible to achieve widout using table on d webform..
It's better to use tables. For this problem set the table width in percentage. Like 100%. Then resize each column in percentages. This will work correctly on all other resolutions.
|
|
|
|
|
hi..
thanks fro replying...
is it applicable to both html n asp.net tables
i m using html tables
|
|
|
|
|
DavefromBaroda wrote: is it applicable to both html n asp.net tables
Yes it is for both
|
|
|
|
|
thanks bro.. wil get back after trying
|
|
|
|
|
Hi all...
I have two textboxes in a magic ajax Panel..
One textbox is to get the cardnumber(txtcardnumber) and another one is to get the PIN number(txtpinno)...Using this textboxes i have to get the corressponding values and then click the button(btnbuy)to proceed further and clear button(btnclear) to clear values in the text boxes.. Everything is ok till this ,but after the process is completed the clear button is not firing..Any one help in this regard..
Regards,
Balaguru
|
|
|
|
|
Hi to all,
I want to connect database(sqlserver2000) in .aspx file Not in Code behind File.
Mohan balal
|
|
|
|
|
Mkanchha wrote: I want to connect database(sqlserver2000) in .aspx file Not in Code behind File.
I assume you are using ASP.NET 2.0. When creating new ASPX page, visual studio will ask where you want to place the code. Single file or separate file. Choose single file , In this you can write all your code in ASPX file. Use the connection as usual here.
|
|
|
|
|
I am using asp.net 1.1, I want database connection code in .ASPx file. If you have some code or example Please Post it
Mohan Balal
|
|
|
|
|
There also you can put your code inside the script tag and making it runat=server
Best Regards,
Apurva Kaushal
|
|
|
|
|
Yup you can do so...just like asp...
<< >>
|
|
|
|
|
You can put it in your Web.config file in connectionStrings section , if .net 1.1 does not contain it, you can put it in appSetting part. You can see in MSDN how to read these settings from web.config .
Mazy
"This chancy chancy chancy world."
|
|
|
|
|
I am using a C# custom dll in my biztalk project, that dll is deployed in Global assembly. This dll reading some value from App.Config file using ConfigurationManager class.
But after deploying the dll to Global assembly, how will this assembly get the value from app.config file or anything needs to do to deploy this app.config file into somewhere....?
Regards
R.Arockiapathinathan
|
|
|
|
|
i want to handle image using kodak image edit for a data entry screen
sathish
|
|
|
|
|
What is kodak image edit?? can you give the link of it?
<< >>
|
|
|
|
|
kodak image edit is active x control it is most using in vb
sathish
|
|
|
|
|
Hi,
I am using a custom Membership provider, and when a user is registered I want to send him/her an e-mail to complete the registration process. On codeplex, after you have regsitered they send the following email with a link in it:
https://www.codeplex.com/UserAccount/ConfirmRegistration.aspx?UserName=myusername&ConfirmationCode=rdJCzEfKcRvshBqa1YBYQr
Normally just after you have registered the system signs you in automatically. How do prevent this? I want the user to sign in manually.
Please can someone advise me?
Regards
ma se
|
|
|
|
|
ma se wrote: Normally just after you have registered the system signs you in automatically. How do prevent this?
It depends the programmer who did it. If you don't want the system to be logged in automatically, don't create the sessions automatically after the registration process. Redirect user to login page to login manually. If you want to send a confirmation link then make a page for confirmation. Generate a link with a unique id to identify the customer. When the page is loaded change active flag in the DB which allows them to login.
|
|
|
|
|
Thanks.
But the membership registration does everything for you, right?? Isn't it a property that I must set somewhere to not have the user signed in automatically??
|
|
|
|
|
Hi there,
I am also learning about membership...just set LoginCreatedUser property to false (default it's true)
<< >>
|
|
|
|
|
Hi
Plz help me,i want to match textbox value to table'a value like in below code E_CODE.when i write ds.Tables["EMPLOYEE"]["E_CODE"] it gives error like
Can not apply indexing with [] to an expression of type System.Data.DataTable.
I m using asp.net with C#
conn.Open();
strSelect = "Select E_CODE from EMPLOYEE";
da.SelectCommand = new SqlCommand(strSelect, conn);
da.Fill(ds, "EMPLOYEE");
for (int i = 0; i < ds.Tables["EMPLOYEE"].Rows.Count; i++)
{
if (txtECODE.Text == ds.Tables["EMPLOYEE"]["E_CODE"])
{
ds.Clear();
string strSelectall = "Select * from Employee";
da.SelectCommand = new SqlCommand(strSelectall, conn);
da.Fill(ds, "Employee");
GrdEmpInfo.DataSource = ds.Tables["EMPLOYEE"];
GrdEmpInfo.DataBind();
}
Thanks
Care Career
|
|
|
|
|
Care Career wrote: if (txtECODE.Text == ds.Tables["EMPLOYEE"]["E_CODE"])
It should be ds.Tables["EMPLOYEE"].Rows[i]["E_CODE"].ToString();
Best Regards,
Apurva Kaushal
|
|
|
|
|
handling image as a different layer in asp.net
sathish
|
|
|
|
|
babusat wrote: handling image as a different layer in asp.net
What do you mean by a different layer ?
|
|
|
|
|
Hi there.
Can anyone help me. I need to convert System.Drawing.Image to System.web.UI.Webcontrol.Image so that i can display an foto in a imagebox.
Thanks
|
|
|
|
|
I don't think there is anyway to implement.
Although their names looks very similar.
I think you should change a method to do this.
Because one use Image Stream,another(WebControl.Image) use a ImageUrl.
You've already got a System.Drawing.Image object,you can save it for a temporary file,then give the WebControl.Image instance correct path.
Overload the Page's Render,after base.Render() then delete the temporary file.
Good luck!
|
|
|
|