Link to home
Start Free TrialLog in
Avatar of TrialUser
TrialUserFlag for Afghanistan

asked on

Databind a textbox column

I want a column in a gridview to be databound, but the user should also be able to enter text into it.  How do I create this column. Please help. I do not want to have a edit link and when the user clicks on it to open it in the edit mode instead I want the user to directly enter text into it. Thanks
ASKER CERTIFIED SOLUTION
Avatar of Tom Beck
Tom Beck
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try Using a DataGridView instead, it should do the trick. you can even databind it to sql if you want and changes, can be saved directly to a database is you want them to.

in datagridview, value are always editable, you enable or disable the insertion of new rows, and you can Enable / disable as you wish column edit / delete / order by, just by using the controls properties or events.