A
Aeden Jameson
Hi,
I'm sure this has been asked many times before, but I haven't had a
lot luck finding an answer; not googling the question right. So I
apologize before hand. I have a TableAdapter whose insert command uses
a store procedure. When I call TableAdapter.Update() passing in the
table the database gets updated, but the primary key in of the
DataTable doesn't match the one in the database. I've read some
responses about selecting the "Refresh Dataset" option under Advanced
Options in the Dataset Designer, but I only see that option when using
a SQL statement and not a stored procedure. I prefer to ues the stored
procedures. Is there an option I can configure on the TableAdapter
that I missed? What's the simplient way to handle this?
Cheers,
Aeden
I'm sure this has been asked many times before, but I haven't had a
lot luck finding an answer; not googling the question right. So I
apologize before hand. I have a TableAdapter whose insert command uses
a store procedure. When I call TableAdapter.Update() passing in the
table the database gets updated, but the primary key in of the
DataTable doesn't match the one in the database. I've read some
responses about selecting the "Refresh Dataset" option under Advanced
Options in the Dataset Designer, but I only see that option when using
a SQL statement and not a stored procedure. I prefer to ues the stored
procedures. Is there an option I can configure on the TableAdapter
that I missed? What's the simplient way to handle this?
Cheers,
Aeden