Hi Kebo.
In this line of code, you have particularized 2 fields, received to the function. But in my case, everytime the function receives random number of fields, so how to cope with this?Code:cmd.CommandText = "SELECT * FROM <tableName> WHERE Name=@name and City=@city"




Reply With Quote