private void BindGridView() { _invMstr.CompanyId = Convert.ToInt16(Session["CompanyId"]); _ds.Tables.Add(_sobj.SelectInvoice(_invMstr)); gvInvoice.DataSource = _ds; gvInvoice.DataBind(); }