Click here to Skip to main content
Sign Up to vote bad
good
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:08

Comments
pradiprenushe - 20 Nov '12 - 1:32
Add query to insert data from textbox to database & called gridview databind method.

1 solution

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
Your Filters
Interested
Ignored
     
0 OriginalGriff 325
1 Abhinav S 168
2 Sergey Alexandrovich Kryukov 150
3 Ron Beyer 100
4 Zoltán Zörgő 85
0 Sergey Alexandrovich Kryukov 8,386
1 OriginalGriff 6,596
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 20 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid