protected void gridbindnotes() { DataTable dt = conn.GetDataTable("select * from vw_apprequesttrack where requestid = @1 order by seq desc", new object[] { Request.QueryString["requestid"] }, dbtimeout); if (dt.Rows.Count > 0) { GRID_NOTES.DataSource = dt; GRID_NOTES.DataBind(); tbl_history.Style.Remove("display"); } }
protected void gridbindnotes() { DataTable dt = conn.GetDataTable("select * from vw_apprequesttrack where requestid = @1 order by seq desc", new object[] { Request.QueryString["requestid"] }, dbtimeout); if (dt.Rows.Count > 0) { GRID_NOTES.DataSource = dt; GRID_NOTES.DataBind(); } else { GRID_NOTES.Visible = false; } }