This question is locked. New answers and comments are not allowed.
I am looking for a way to implement the following with the DomainDataSource and GridView:
I have one stored procedure, "GetAccounts" that takes an Int parameter for a Customer ID. This will return all Accounts for a particular Customer. I want to be able to add a row to the GridView that is bound to this DomainDtaSource and have a new Account record added. I am attempting to do this using another stored procedure: "AddAccount" that also has the Customer ID as a parameter.
Can you give me some general ideas on how to get this to work, i.e. reading the data through one stored proc and inserting, updating and deleting via others.
Thanks,
Mark
I have one stored procedure, "GetAccounts" that takes an Int parameter for a Customer ID. This will return all Accounts for a particular Customer. I want to be able to add a row to the GridView that is bound to this DomainDtaSource and have a new Account record added. I am attempting to do this using another stored procedure: "AddAccount" that also has the Customer ID as a parameter.
Can you give me some general ideas on how to get this to work, i.e. reading the data through one stored proc and inserting, updating and deleting via others.
Thanks,
Mark