i have gridview in my project and database records are displayed in that but if i want to edit the row then wht code should i write??
pls help me for this.
snehalj
0
Light Poster
Recommended Answers
Jump to PostRow isn't member of GridViewEditEventArgs. Use e.NewEditIndex property
if (GridView1.Rows[e.NewEditIndex].RowType==DataControlRowType.DataRow) { GridView1.Rows[e.NewEditIndex].Attributes["key_here"] = "value"; }
All 4 Replies
snehalj
0
Light Poster
kvprajapati
1,826
Posting Genius
Team Colleague
snehalj
0
Light Poster
sujimon
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.