G
Guest
Hello,
I am developing ASP.NET 1.1 application against SQL Server 2000 db, where
users have ability to construct their own select criteria (for a where
clause). I already developed a user control where user can select field name,
operator (equals, like, begins with, etc) and value of the search criteria.
This control can already build where clause part. Now I am at the point,
where I need to execute SQL query, but I would really like to be able to use
stored procedures.
As far as I know, I have 2 options: (1) Pass in “where clause†string to SP
(2) Execute SQL Query inside ASP.NET
Are there any other options? If anyone ever had to implement something
similar, I want to hear your comments. Thanks
I am developing ASP.NET 1.1 application against SQL Server 2000 db, where
users have ability to construct their own select criteria (for a where
clause). I already developed a user control where user can select field name,
operator (equals, like, begins with, etc) and value of the search criteria.
This control can already build where clause part. Now I am at the point,
where I need to execute SQL query, but I would really like to be able to use
stored procedures.
As far as I know, I have 2 options: (1) Pass in “where clause†string to SP
(2) Execute SQL Query inside ASP.NET
Are there any other options? If anyone ever had to implement something
similar, I want to hear your comments. Thanks