how can we use gridview in gridview...
for single gridview we will write like these
protected void gridview1_RowEditing(object sender, GridViewEditEventArgs e)
{
gridview1.EditIndex = e.NewEditIndex;
gridview1bind();
}
then how can we write gridview in gridview
protected void gridview2_RowEditing(object sender, GridViewEditEventArgs e)
{
}
Suthish NairPosted Feb 14, 2011, 9:58 AM
shashi reddyPosted Feb 14, 2011, 7:21 AM
Amit ChoudharyPosted Feb 14, 2011, 7:11 AM
The similar type of code as you wrote in first... you just need to tk care of, when binding the second database then it must happen in Row_Bound event of first Grid.
Thanks..