if (ds.Tables.Count > 0) { if (ds != null && ds.Tables.Count > 0) ///if (ds.Tables[0].Rows.Count > 0) { gdvNotice.DataSource = ds.Tables[0]; Session["Get_Notice"] = ds.Tables[0]; gdvNotice.DataBind(); } else { gdvNotice.DataSource = null; gdvNotice.DataBind(); } }
if (ds.Tables.Count > 0)
if (ds.Tables[0].Rows.Count > 0)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)