Exemple #1
0
 public void BindDDL_SubSystem(DropDownList ddl)
 {
     DataTable dt = new CommonDAL().GetSubSystem();
     ddl.DataSource = dt;
     ddl.DataValueField = "SystemCode";
     ddl.DataTextField = "SystemName";
 }
Exemple #2
0
 public static void BindDDL_ObjectType(DropDownList ddl)
 {
     DataTable dt = new CommonDAL().GetObjectType();
     ddl.DataSource = dt;
     ddl.DataValueField = "TypeCode";
     ddl.DataTextField = "TypeName";
 }