MytableTableAda pter.FillBy(myD ataSet.Mytable, myString);

I used the code above in C#, to retrieve a row of data from a database with a single table, myString is a variable passed on to the FillBy query. How do I assign the value of this query directly to a variable.