Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2006, 02:11 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Declaring a dropdownlist

I am trying to populate a gridview with all the rows from a database until someone selects a value from a dropdownlist. I added a list item to the dropdownlist control named Choose City value is everything.

How do I put job_city = everything into the code below?

Public Function getJobsBySelectedCity(ByVal job_city As String) As Northwind.productsDataTable

If job_city = what code goes here Then

 Return getproducts()

Else

Return Adapter.GetJobsBySelectedCity(job_city)

End If



Any advise?






Similar Threads
Thread Thread Starter Forum Replies Last Post
A newer's declaring Ant_Yan J2EE 0 September 15th, 2007 12:35 AM
declaring structs scoobie C++ Programming 3 April 6th, 2006 12:44 AM
declaring variables that are not used crmpicco VB How-To 2 May 19th, 2005 04:22 PM
declaring public array DorisTan Beginning VB 6 2 January 4th, 2005 09:37 PM
Declaring and instantiating... jacob ASP.NET 1.0 and 1.1 Basics 4 August 21st, 2003 10:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.