Ejemplo n.º 1
0
 private string GetMenuID(string valuepid)
 {
     if (valuepid == "0")
     {
         drpMenu.Visible = false;
         Label1.Visible  = false;
     }
     objMenuSchema.Parentid = Convert.ToInt32(valuepid);
     ds = ObjmenuBL.GetMenuId(objMenuSchema);
     dt = ds.Tables[0];
     if (dt.Rows.Count > 0)
     {
         return(dt.Rows[0]["ParentID"].ToString());
     }
     else
     {
         return("0");
     }
 }