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 Sergey Alexandrovich Kryukov 547
1 ChauhanAjay 180
2 CHill60 135
3 Maciej Los 125
4 Richard Deeming 125
0 Sergey Alexandrovich Kryukov 9,735
1 OriginalGriff 6,987
2 CPallini 5,835
3 George Jonsson 4,017
4 Gihan Liyanage 3,266


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