Injecting a variable attribute from a select grid control

T

Thaddius39

Hello all,

I'm very new to asp.net and very green with programming in general. I
did however take some VB in college.

Anyway, here is my issue. I'm trying to set up a web application where
an individual can make a selection from a data grid view. From that
selection I want to place the value in a variable, then inject that
variable into SQL string, which is a attached to a SQLDataSource
object. From there the query is ran against the database and places
the results into a DetailsView object.

I know that programatically there is a way to do it. I've had limited
success in taking the value of the selection, placing it into the SQL
string but after that is where I run into my problems. How does one
bind this SQL query string to a DataSource object?

What I'm using for my dev tools (IDE) is visual studio 2005
webdeveloper express edition. This IDE is great for newbies like me.
Anyway, is there a non-programmatic way of doing what I need to do?
I've played around with the command and parameter editor, trying to add
the variable to the DataSource this way, but I'm having no luck.

Any help would be greatly appreciated.

Thanks in advance,

Thad
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top