Exemple #1
0
 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();
 }
Exemple #2
0
 protected void P12_SqlDataSource_Save_Deleted(object sender, SqlDataSourceStatusEventArgs e)
 {
     P12_DropDownList_Driver.DataBind();
     P12_DropDownList_Vehicle.DataBind();
 }