示例#1
0
 private void BindMenuType()
 {
     try
     {
         ds = ObjmenuBL.GetMenuType();
         dt = ds.Tables[0];
         drpMenuType.DataSource = dt.DefaultView;
         drpMenuType.DataBind();
         drpMenuType.Items.Insert(0, new ListItem("Select", "0"));
         drpMenuType.SelectedValue = "0";
     }
     catch (Exception ee)
     { throw ee; }
 }