Click here to Skip to main content
15,922,696 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Friends,


I have a gridview.But I do no how to view,insert,update,delete the gridview operation in 4 tier architecture.I am new to gridview.Plz help me.

Thanks in advance
Posted
Comments
AnthonyMG 26-Nov-13 1:51am    
You Need GridView CRUD operation functionality in Web Apps or Windows Apps..?
Be clear on your question.

If your using Database table bind the GridView's DataSource to Table

GridView1.DataSource = table;

If you need to add it manually.use below code

this.GridView1.Rows.Add();
this.GridView1.Rows[rowIndex].Cells[columnIndex].Value = " ";
this.GridView1.Rows[rowIndex].Cells[columnIndex].Value = " ";

For Updating and Refreching the Gid.:

GridView1.update();
GridView1.refresh();
 
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