Пример #1
0
 private void PopulateGrid(int iInvoiceID)
 {
     if (Category == "INV")
     {
         grdInvCur.DataSource = objinvoice.GetData(iInvoiceID, "INV");
         grdInvCur.DataBind();
     }
     else if (Category == "CRN")
     {
         grdInvCur.DataSource = objinvoice.GetData(iInvoiceID, "CRN");
         grdInvCur.DataBind();
     }
 }