How to change DataSet SqlCommand CommandText programmatically

I have a generated DataSet with many tables. In one table, I have a custom query that I am using to select people over 15 years old. I would like to modify this query during production so that the query looks like a "select" from people who are 17 years old. Now it looks like a "select" from people who are 15 years old.

All I know is the name of this request in the DataSet. This is GetNotYoungPeople. Could you help me with this?

0


source to share


1 answer


This is probably part of the SQLDataAdaptor.SelectCommand



The DataSet is filled with the SQLDataAdaptor.Fill method and itself has no connected queries

0


source







All Articles