Click here to Skip to main content
11,702,396 members (73,649 online)
Rate this: bad
good
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 19:15pm
Edited 1-Apr-13 21:09pm
josh-jw13.9K
v2
Comments
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
good
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
http://forums.asp.net/t/1783073.aspx/1[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  

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

  Print Answers RSS
0 Maciej Los 455
1 Sergey Alexandrovich Kryukov 310
2 OriginalGriff 265
3 CHill60 145
4 Andy Lanng 99
0 OriginalGriff 8,369
1 Sergey Alexandrovich Kryukov 7,547
2 CPallini 4,922
3 Maciej Los 4,411
4 Mika Wendelius 3,556


Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 2 Apr 2013
Copyright © CodeProject, 1999-2015
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