Click here to Skip to main content
11,922,641 members (55,644 online)
Rate this:
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 2-Apr-13 1:49am
Why are you asking the question when you already know the answer?
prodipjsr 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151125.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