Home > Net >  Access to the front desk on the gridview can edit field
Access to the front desk on the gridview can edit field

Time:11-28


Ask a question, on the front page with the gridview created a list, now the background for the editable field, how to do?









In each record finally has a button, transfer data, but can edit text content not available,





I inquire on the net, see use onRowCommand for some people, but I like to write the application is not successful, right ells [6]. The value of the Text has been to an empty string,
Protected void gv_RowCommand (object sender, GridViewCommandEventArgs e)
{
String deliveryDate="";
The Control c=e.Com mandSource (Control);
GridViewRow g=(GridViewRow) c.N amingContainer;
DeliveryDate=right ells [6]. The Text;

}
  • Related