How to write in TextBox in a datagrid?

G

Guest

I have a datagrid whose colums are created dynamically.
For example; Product name; Quantity ; Price.

I want "quantity column" to be written in a textbox which is edittable. For
example a customer can change their idea about quantity.
www.toshibadirect.com is a good example for this kind of shopping cart.

How can i do that?
 
G

Guest

If you are using the <asp:BoundColumn, then you do not have to create the
TextBox explicitly. However, if you are using the <asp:TemplateColumn, you
have to.

Try to look at the EditCommand and UpdateCommand events in MSDN. It would
serve your need.

Hope it helps..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top