![]() |
#2
MikeFT2007-11-27 09:53
|
DataGridItem t = e.Item;
string ItemName = ((TextBox)t.FindControl("TextBox4")).Text;
string TypeName =((DropDownList)t.FindControl("DropDownList3")).SelectedValue.ToString();
string SZName =((DropDownList)t.FindControl("DropDownList4")).SelectedValue.ToString();
string ShowName = ((TextBox)t.FindControl("TextBox5")).Text;
string sql = "update TrafficTable set TrafficItemName='" + ItemName + "',TrafficeType='" + TypeName + "',TrafficeFixation='" + SZName + "',TrafficeExplain='" + ShowName + "' where TrafficID=" + ();