Click here to Skip to main content
15,879,348 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
i have a table like this
C#
sno   sname marks action
1     siva  89     --
2     mahi  56     --


now i have seperate button to add row.once i click on add row then i have add row like this to the existing grid
C#
sno   sname    marks          action
1     siva      89             --
2     mahi      56             --
3   (label)  (textbox)  (edit submit/cancel delete button)


now once i enter text box value and click on submit it will store on data base.

thanks in advance friends and seniors...
Posted
Updated 15-Jun-14 21:02pm
v2
Comments
Debabrata_Das 16-Jun-14 2:56am    
Hello friend, can you please share what have you tried so far? Please update the question with your code changes.
- DD
roopasanthoshkumar 16-Jun-14 3:05am    
i have not tried i want code for this task
Debabrata_Das 16-Jun-14 3:12am    
Hello friend, this community helps developers when they're stuck solving a particular problem. As a developer, you have to try to solve your problem / requirement. If you're stuck to a specific point, come back and post your query. We'll be happy to help you out. :)

- DD
Nandakishore G N 16-Jun-14 6:30am    
This community does not spoonfeed the developers. What Das said is right. Search in google you will find a lot of support , then try with your knowledge and atlast, If you find problem come back here and post your problem. We will help you out.

i solve myself only thanks Debabrata_Das what u said is correct.
 
Share this answer
 
After adding a row in gridview ,keep it in a datatable and finally submit the data to database.
 
Share this answer
 
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900