示例#1
0
 private void BindAllEmployee()
 {
     if (Convert.ToString(Session[Global.SESSION_KEY_CULTURE]) == "ar-AE")
     {
         dt = MV.GetAllEmployeeArebic();
     }
     else
     {
         dt = MV.GetAllEmployeeEnlish();
     }
     if (dt.Rows.Count > 0)
     {
         ddlemp.DataSource = dt;
         ddlemp.DataBind();
         ddlSuperWiseSerach.DataSource = dt;
         ddlSuperWiseSerach.DataBind();
         ddlAssignedSearch.DataSource = dt;
         ddlAssignedSearch.DataBind();
         ddlAssignedSearch.Items.Insert(0, new ListItem(""));
         ddlSuperWiseSerach.Items.Insert(0, new ListItem(""));
         ddlemp.Items.Insert(0, new ListItem(""));
     }
 }