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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Query w/ ASP.NET 2.0 and DataGrid 1

Status
Not open for further replies.

akalinowski

IS-IT--Management
Oct 3, 2006
190
US
OK, i am able to make a data grid, but what i want to do on top of that is make a Query against the data. i have a table that looks like this:

Style, Qty, Sold

and when i view the data grid, it shows me all the styles, i would like to have a place to type in the style number to only show me that style.

akalinowski
MCSE 2000, A+, N+, LCP, CNE
 
add a text box and a submit button.

Modify your query string to use what ever is in the text box.

Select Style, Qty, Sold from mytable where style = " & textbox1.text & "




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top