예제 #1
0
 protected void BindProgramsInfo()
 {
     try
     {
         DataTable dt = new DataTable();
         dt = objBL_Login.BL_UserList(objML_Logn);
         if (dt.Rows.Count > 0)
         {
             GrdUserMaster.DataSource = dt;
             GrdUserMaster.DataBind();
         }
     }
     catch (Exception ex)
     {
         ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('" + ex.Message.ToString() + "');", true);
     }
 }