Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Ruben Jackson   on Jul 27 In Asp.net Category.

  
Question Answered By: Herbert Weaver   on Jul 27

Yes, that works fine when I use a select  statement based on a table.
What I'd like to do is use a stored  proc that has no criteria then
use a dynamically generated where clause. I can do this in Access
but can't get it to work with SQL Server. Something like:


strSQL = "SELECT * FROM MyStoredProc WHERE (tblPerson.State = " &"'"&
cboState.value &"')"

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Select Parameter query driven by listbox Or get search suggestion and latest updates.


Tagged: