Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Matching date values w/ dropdown values

  Asked By: Kerri    Date: Aug 08    Category: Asp.net    Views: 1307
  

In my program, I have 6 ddl's filled programatically with date info
(month, day & year) in my client-side code. Based on a selection in
a listbox, the ddl's show date info for the selection based on a SQL
SELECT statement in my (VB) server-side code; the problem is the date
parts returned had no value. I wanted to match what was returned
with values I had put in the dropdowns programatically. For example,
if the day from SQL was the 3rd, I'd want it to show up in the list
at the 3 that I've inserted on client-side, like so:

1
2
3 <--
4
5

Right now it comes up like this:

3 <--
1
2
3
4
5

How can this be corrected?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Emma Brown     Answered On: Aug 08

search your help for findbyvalue or findbytext .. examples there.

 
Didn't find what you were looking for? Find more on Matching date values w/ dropdown values Or get search suggestion and latest updates.




Tagged: