DATAGRID QUESTION

R

Rick

I'm trying to build a datagrid by taking a parameter in the query
string and using that in my select or better yet using that to call a
stored proc. I'm using VB.NET.

Please help!
 
S

Scott M.

Dim x as string = request.querystring("queryStringName")

then just just the variable "x" in your select statement or use it in a
Select...Case statement to determine what stored proc. to call.
 
R

Rick Azoy

What if I have data that is being returned through a business class that
calls a stored proc. The fields are being used to populate the page
(e.g. labels, images, etc) Can I use on the fields that are being
returned in my select?
 
S

Scott M.

Can you use *what* on the fields that are being returned (you skipped a word
in your post).?
 
R

Rick Azoy

Sorry! Can I use one of the parameters being returned by the stored proc
(e.g ModelNumber) to run my select and populate the datagrid. In other
words, I would like to do a select on all records containing that
modelnumber. Which would be three, a small, medium and large.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top