Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gridview question

Status
Not open for further replies.

sean78

MIS
Jan 4, 2002
11
0
0
US
would like to have a second select statement in my gridview for one of the fields that is based off of one of the other fields.

ex. name, add, state
I want to get extra info based on the state in the row and put it into the current row.

If anyone could give me an idea on how to do this or if it is even possible..

thanks in advance
s
 
Do you mean you have 2 tables that you need to get info from? Then you need to construct a SQL statement that joins the 2 tables. I suggest using a stored procedure to return your results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top