Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
I have a page in which a have a grid view in which values are coming from database and it have edit and delate option .
but for adding i have text boxes below grid view , not in grid view.
please tell me how to add values of textbox to gridview or tell me that if i do it another way that i use textbox for inserting new values in of grid view how can i make them show if there is no other values in grid view.
Posted 19-Nov-12 19:08pm
Comments
pradiprenushe at 20-Nov-12 1:32am
   
Add query to insert data from textbox to database & called gridview databind method.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Not sure if i understood your question correctly. If you are looking to insert data into gridview you can check the below CP article
Insert, Update, Delete with Gridview ... Simple Way[^]
  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 585
1 OriginalGriff 458
2 CPallini 239
3 Sergey Alexandrovich Kryukov 175
4 Peter Leow 175
0 OriginalGriff 6,092
1 Sergey Alexandrovich Kryukov 4,898
2 Maciej Los 3,159
3 Peter Leow 3,129
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 20 Nov 2012
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