Click here to Skip to main content
15,867,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to edit and delete and add columns in gridview ?

Dear Frnds,

Am working on Asp.net Gridview C# and database as SQLSERVER 2005.

In gridview I have Students records at left side and teachers records at rightside.

if i click add button in gridview footer only left side records must be added and if i add right add button right side records must be added using Gridview footer.

same thing for edit.

if i click edit at left side, left side records must be edited,,,,and if i click right edit button in gridview right side records must be edited.

Please help me ,, how to do this..

THANKS
Posted
Comments
AshishChaudha 2-Mar-13 4:34am    
have you tried anything..where you get stuck?
Ranjith Reddy CSE 3-Mar-13 0:52am    
Ya i have triead a lot...everything is OK.

Total I have 12 fields in Gridview..one edit button at left and one edit button at right.

if i click on left edit buttons ONLY 6 columns must be edited. and If i click on right edit buton right 6 columns must be edited

but I want to edit 6 columns at left and 6 columns at right separately with separate edit buttons.

Can anybody solve this task.

Thanks...

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