I'm trying to find out how to pass a parameter to a predefined parameter in a dataset. I've found everywhere a solution if you build the sqldata adapter and the dataset in the code. Then you can pass the parameter like:
da.SelectCommand.Parameters.Add("@param1", SqlDbType.Char).Value = param1_variable (as example)
But if you have builded a dataset (with table adapters), and then in the form app you want just to pass the param1 to a DataGridView1 (as example) which is using the table adapter, I did not find how to do this.
Any help would be high appreciated, as I'm looking for several hours and did not find anything around ;-)
Thanks in advance for your help