private void show() { AccountAdapter aa = new AccountAdapter(); DataSet ds = aa.getAccounts(); GridView1.DataSource = ds; GridView1.DataBind(); }
private void ddlAccount() { AccountAdapter aa = new AccountAdapter(); DataSet ds = aa.getAccounts(); ddl_account.DataTextField = "account_id"; ddl_account.DataValueField = "account_id"; ddl_account.DataSource = ds; ddl_account.DataBind(); }