M
mazda_88
Not sure where to post this, but this is the problem I am having. I
am trying to pass an id in a datatable that will be used to query the
database to extract the rest of the row. For example, suppose, I have
a customer id and this id is used to query the database to extract the
rest of the columns assoicated with the customer id. I update the
datatable column/row 0 associated with the customer id, and then call
a method with the datatable as an argument. This method then extracts
the customer_id from the datatable and then executes a stored
procedure that fills the data to the datatable. When this occurs
another row is added to the datatable with the results from the query.
Is there a way of doing this so that the results of the query update
row 0?
I know that there are a number of otherways of approaching the
problem, such as passing the customer_id instead of including the
value in the datatable. Or I could delete row 0 before executing the
stored procedure.
Thanks,
am trying to pass an id in a datatable that will be used to query the
database to extract the rest of the row. For example, suppose, I have
a customer id and this id is used to query the database to extract the
rest of the columns assoicated with the customer id. I update the
datatable column/row 0 associated with the customer id, and then call
a method with the datatable as an argument. This method then extracts
the customer_id from the datatable and then executes a stored
procedure that fills the data to the datatable. When this occurs
another row is added to the datatable with the results from the query.
Is there a way of doing this so that the results of the query update
row 0?
I know that there are a number of otherways of approaching the
problem, such as passing the customer_id instead of including the
value in the datatable. Or I could delete row 0 before executing the
stored procedure.
Thanks,