Posted on: 8/20/2013 1:56:00 PM | Views : 309

Hi,
I have the following code for a db but am getting an error with the searchQuery part, I'm not sure how to form the string correctly:
Dim dataSource As SqlDataSource = New SqlDataSource(ConfigurationManager.ConnectionStrings("myDB").ConnectionString, searchQuery) dataSource.SelectCommandType = SqlDataSourceCommandType.StoredProcedure dataSource.SelectCommand = "spReviews" dataSource.ID = "myDataSource" Any help is appreciated.
 
...

Go to the complete details ...