public void BindPayment() { Employer obj = new Employer(); DataSet ds = new DataSet(); ds = obj.GetInvoicePayment(hdninvoicenumber.Value, txtCompanyID.Text); grdMakeInvoicePayment.DataSource = ds; grdMakeInvoicePayment.DataBind(); }