Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 30, 2013 12:15 AM by Decker Dong - MSFT
Jan 27, 2013 11:03 PM|LINK
I am developing a web program in which the user will be able to input data in textfields. The user requires to have 20 rows and 7 columns containing textfields where the data will be inputted.. i'm just wondering, is it possible to use grid view control?
I'm thinking about placing textboxes in each of the columns of the gridview that i created and just multiply the rows so the work will be easier for me. I'm thinking if this is posible rather than creating a table with 20 rows and 7 columns and manually place
140 textboxes in each cell. Can you please help me about this matter?
Jan 28, 2013 12:37 AM|LINK
Use gv with 7 templatefields and 20 rows datatable, gv.datasource=dt
place the textboxes to each itemtemplate. use foreach to get the textboxes using findcontrol
Jan 30, 2013 12:15 AM|LINK
The user requires to have 20 rows and 7 columns containing textfields where the data will be inputted.. i'm just wondering, is it possible to use grid view control?
Yes you can use but GridView is for read-only mode instead of let you do editing batchly. If you wanna do batch-CRUD directly, you can download this demo: