Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Onchange of dropdownlist say "country" loaded,it must load all "states" for that country in another drop downlist.

Reply
Thread Tools

Onchange of dropdownlist say "country" loaded,it must load all "states" for that country in another drop downlist.

 
 
S.Guhananth
Guest
Posts: n/a
 
      04-30-2005
I need to capture a country from dropdown list and use that in sql query.

How to do this



protected DataSet GetCountry()
{

I have the code for this block

}

From http://www.developmentnow.com/g/8_20...ork-aspnet.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
 
Reply With Quote
 
 
 
 
Alvin Bruney [Microsoft MVP]
Guest
Posts: n/a
 
      04-30-2005
handle the selectionchange event and fire your query using the selected item
as part of your where clause if you are going against a database. if the
data is in a dataset, use a filter made up of the selecteditem

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------


"S.Guhananth" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I need to capture a country from dropdown list and use that in sql query.
>
> How to do this
>
>
>
> protected DataSet GetCountry()
> {
>
> I have the code for this block
>
> }
>
> From
> http://www.developmentnow.com/g/8_20...ork-aspnet.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
France - Belgium July 2008 Travel Pictures Country next to Country BoBi Digital Photography 0 07-19-2008 10:27 AM
Kenya-France July 2008 Travel Pictures Country next to Country BoBi Digital Photography 0 07-13-2008 06:55 AM
Kenya-Belgium June 2008 Travel Pictures Country next to Country BoBi Digital Photography 0 06-01-2008 03:12 PM
Country list with iso1366 codes and local country names Zyron HTML 2 11-08-2005 04:55 PM
In Schema, how to say "If one element exist, another element must exist"? Y.S. XML 3 09-17-2003 02:51 PM



Advertisments