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