Exemple #1
0
    private void ListBind(string receipt_id)
    {
        ReceiptAuditAdapter raa = new ReceiptAuditAdapter();
        DataSet             ds  = raa.getReceiptList(receipt_id);

        if (ds.Tables[0].Rows.Count == 0)
        {
            GridView1EmptyBind();
        }
        else
        {
            GridView1.DataSource = ds;
            GridView1.DataBind();
        }
    }