Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,
I added a textbox to columns of grid and linked this grid with datatable. What I want is when I edit this text, column of datatable should also get edited.
Thanks for any help
Posted
Updated 31-May-11 0:48am
v3

My understanding of the question hints me that you don't know how to use the GridView. If that is the case then check articles like this one[^].
 
Share this answer
 
It has been a long while since I used ASP Grid Views for editing.

Open your aspx page that you are talking about in Visual Studio.

Select Split, or Design view of this page.

Navigate down to where your GridView is.

there should be a > in a button, if you click this you can see "Configure Data Source" as one of the options.

In here you can set what you want it to do on SELECT, UPDATE, INSERT, DELETE.

See the following link http://www.asp.net/data-access/tutorials/using-templatefields-in-the-gridview-control-cs[^]


This link here can help you in another way.

Editable GridView in ASP.NET 2.0[^]

Good luck
 
Share this answer
 
try this link
[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900