protected void P12_Button_Save_Click(object sender, EventArgs e) { if (P12_DropDownList_Driver.Items.Count > 0 && P12_DropDownList_Vehicle.Items.Count > 0) { P12_SqlDataSource_Save.Insert(); } P12_DropDownList_Vehicle.DataBind(); P12_DropDownList_Driver.DataBind(); P12_GridView_Save.DataBind(); }
protected void P12_SqlDataSource_Save_Deleted(object sender, SqlDataSourceStatusEventArgs e) { P12_DropDownList_Driver.DataBind(); P12_DropDownList_Vehicle.DataBind(); }