|
Just go in HTML and in that put textbox inside.For ex:
<asp:templatecolumn>
<itemtemplate>
<asp:textbox textmode="SingleLine">
I hope this will help u.
|
|
|
|
|
Hello, I couldn'see ur example.... can u please repost it?
Thanks in advance,
commickey
|
|
|
|
|
hi
I am trying that but its not working.U just need to go to the HTML code and add <asp:templatecolumn>
Inside this u will see <itemtemplate>and inside this u will find <asp:textbox>I hope now u can c and also u got help from me.
Thanks and Regards.
|
|
|
|
|
hi
I am trying that but its not working.U just need to go to the HTML code and add
Commickey wrote: <asp:templatecolumn>
<asp:templatecolumn>
Inside this u will see
Commickey wrote: <itemtemplate>
<itemtemplate>and inside this u will find
Commickey wrote: <asp:textbox>
<asp:textbox>I hope now u can c and also u got help from me.
Thanks and Regards.
|
|
|
|
|
Hi
Try this one....
textpersid = (System.Web.UI.WebControls.TextBox)e.Item.Cells[0].Controls[0];
or
textpersid = (System.Web.UI.WebControls.TextBox)e.Item.Cells[0].Controls[1];
Abhijeet
|
|
|
|
|
Hello,
I tried ur suggestion but am still gettin the same error message....
Any further help?
|
|
|
|
|
Just go in HTML and in that put textbox inside.For ex:
<asp:templatecolumn>
<itemtemplate>
<asp:textbox textmode="SingleLine">
I hope this will help u.
|
|
|
|
|
Just go in HTML and in that put textbox inside.For ex:
<asp:TemplateColumn>
<itemtemplate>
<asp:textbox textmode="SingleLine">
I hope this will help u.
|
|
|
|
|
Just use TemplateColumn u will find edititemtemplate.
|
|
|
|
|
<datagrid> <br />
<columns><br />
<asp:templatecolumn><br />
<itemtemplate><br />
<asp:label id = "label" runat = server"></asp:label><br />
</itemtemplate><br />
<edititemtemplate><br />
<asp:textbox id = "textbox" runat = server></asp:textbox><br />
<edititemtemplate><br />
</asp:templatecolumn><br />
</columns><br />
</datagrid>
-- modified at 6:26 Monday 12th June, 2006
|
|
|
|
|
Hi
I have Datagrid and i want to print data in datagrid but only first two columns of datagrid.Can i do this.
Any help will be Appreciated
bye
Varun
|
|
|
|
|
Lets get this straight u r saying u got a datagrid and u want to read only two columns from the source (which might very well be a database) and display them is this right.
If so lemme know and I will help
If only they could see what I see in my mind
|
|
|
|
|
I want to read all the columns from datagrid
Suppose i have datagrid:
This much Data will be shown in datagrid
Name Age Address State
a 10 abc ss
b 20 vvv dd
Now i want to print only two columns
The result to be printed should be
Name Age
a 10
b 20
Can u help
bye
Varun
|
|
|
|
|
OleDbCommmand cmd = new OleDbCommand("Select Name, Age from DATABASENAME",Conn);
OleDbDataAdapter da = new OleDbDataAdapter(cmd);
da.Fill(ds2); //da is DataAdapter and ds2 is Dataset
DataGrid2.DataSource = ds2.Tables[0];
DataGrid2.DataBind();
If only they could see what I see in my mind
|
|
|
|
|
I will call all 4 columns from database but print only 2 columns as i have shown earlier also
|
|
|
|
|
|
Hi
I'm currently doing a project in asp.net. I need pass values to the controls in the third party website. I want to create objects to the controls in the web site. Is there any solution to my problem.
Help me plz...
Thanks in advance
kani
|
|
|
|
|
Kani ur problem is not clear at all, frankly I dont even understand what you are saying please be more descriptive
If only they could see what I see in my mind
|
|
|
|
|
Hi alyeasad
In my project, I'm accessing indian customs web site. I want to pass the username,password to the login page and also the submit button should be set true.
I tried in vb.net, I used the web browser. I'm able to pass the values.
The code is
AxWebBrowser1.Document.theForm.Username.value = "###"
I need the same in asp.net.
Is there any possibility. Please help.
Thanks in Advance..
kani
|
|
|
|
|
I cant say I clearly understood what u said but here goes.
U can move info from one page to another or from one website to another using Session.
Session["anyname"] = "Username";
Session["anypassword"] = "Password";
this value can be accessed throughout ur project on any form (page).
As for the submit button when u say it shud be true , do u mean enabled cause, if not then whats true ??
If only they could see what I see in my mind
|
|
|
|
|
Hi
Thanks for your reply.
I think still you are not clear with my problem.
I need to create objects to the controls like username and password textboxes in that website from my asp.net application.
Also the event handling method for the button 'submit' in that web page should be written in my asp.net application.
Help me ..
Thanks
kani
|
|
|
|
|
hi,
Can anyone tell me how can i send mails without using SMTP Server provided by .NET (without using SMTPServer.Send())
I want to send mails in a large number so i dont want to use the relay server of the IIS, as it is slow.
Can anyone tell me how i can bypass the SMTP Server and directly send mail to the internet.
It will be a great help,
Thanks
Sushant Duggal.
|
|
|
|
|
I think may be not, you should user stmpserver to specifice, if you can please tell me back
Thanks
................
|
|
|
|
|
Hi,
I am using web parts in my application. I have dragged and dropped web part manager, web part zone on my aspx page. Then I dropped few controls in web part zone and gave title etc. The problem is, at the design time I can see the image to open the menu to minimise and close the web part zone. But when I run my application in IE, I can't see that image to open the popup menu to minimise and close.
Please assist.
Thanks in advance !!
Chintan
|
|
|
|
|
I am doing project in ASP.NET(VB),I am having a dropdownlist in all rows in datagrid, and i want to update database on last dropdaown list's selected index.
Please send me the solution soon.
Thanks in advance
|
|
|
|