|
-
March 6th, 2003, 11:36 AM
#1
Dynamic SQL
Hello,
I hope this isn't a dumb question, but from my limited experience I haven't been able to figure this out. I want to setup a generic function that takes a sql statement (could be any sql statement - dynamically built) as a parameter, opens a connection, etc, and populates a datagrid (I think a datagrid is what I want). Basically I just want to see the results of the query that I passed in.
Would a datagrid be best for this? I don't need (or want) to update or delete data in the database through the datagrid - I just want to see the results of the query.
Any thoughts? Thanks for your help.
Regards,
Nick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|