protected void FillDataParticular() { try { int userid = Convert.ToInt32(Session["LoginId"]); Int64 distributorID = Convert.ToInt64(Session["DistributorID"]); DataSet ds = ssc.ViewNotification(distributorID, Convert.ToInt32(Request.QueryString["MsgId"])); if (ds.Tables.Count > 0) { if (ds.Tables[0].Rows.Count > 0) { GridNotification.DataSource = ds.Tables[0]; GridNotification.DataBind(); } else { } } else { } } catch (Exception ex) { } }
protected void FillData() { try { int userid = Convert.ToInt32(Session["LoginId"]); Int64 distributorID = Convert.ToInt64(Session["DistributorID"]); DataSet ds = ssc.GetNotification(distributorID, 0); if (ds.Tables.Count > 0) { if (ds.Tables[1].Rows.Count > 0) { GridNotification.DataSource = ds.Tables[1]; GridNotification.DataBind(); } else { } } else { } } catch (Exception ex) { } }