Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET
1. how to add a text box for every rows in a grid view where i can put integer/money values.
2. how to insert all grid view values values into a sql table??
Table structure is :
id int
name varchar(20)
address Varchar
collection int (this collection option is the adding text box in grid view )
Posted 1-Apr-13 20:15pm
Edited 1-Apr-13 22:09pm
ThePhantomUpvoter at 2-Apr-13 1:49am
Why are you asking the question when you already know the answer?
prodipjsr at 2-Apr-13 2:46am
what do u mean??
i want to a grid view where i will see all members ID,Name and Address,i also need one extra field in grid view for each row say name is collection. where i can put the amount and save it.when i save it the all datas are store in a table.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

check this link for create textbox in gridview
How to create template columns dynamically in a grid view[^]
check this link for get the gridview values[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


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

  Print Answers RSS
0 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 Zoltán Zörgő 99
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294

Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 2 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100