Click here to Skip to main content
15,886,810 members
Home / Discussions / C#
   

C#

 
GeneralRe: Drop down control. Pin
dan!sh 18-Nov-09 20:28
professional dan!sh 18-Nov-09 20:28 
GeneralRe: Drop down control. Pin
Sasmi_Office18-Nov-09 20:38
Sasmi_Office18-Nov-09 20:38 
GeneralRe: Drop down control. Pin
Shameel18-Nov-09 21:27
professionalShameel18-Nov-09 21:27 
GeneralRe: Drop down control. Pin
dan!sh 18-Nov-09 23:09
professional dan!sh 18-Nov-09 23:09 
GeneralRe: Drop down control. Pin
Nguyen Thanh Quyen18-Nov-09 22:39
Nguyen Thanh Quyen18-Nov-09 22:39 
GeneralRe: Drop down control. Pin
dan!sh 18-Nov-09 22:45
professional dan!sh 18-Nov-09 22:45 
AnswerRe: Drop down control. Pin
0x3c018-Nov-09 20:21
0x3c018-Nov-09 20:21 
GeneralRe: Drop down control. Pin
Sasmi_Office18-Nov-09 20:37
Sasmi_Office18-Nov-09 20:37 
thanks for your quick response

me using following query to fill dropdown
"select CountryName, CountryID from CountryTable"
"select CityName, CityID from CityDetails where CountryID = 1"
"select LocationName, LocationID from LocationDetails wherer CityID = 1"

this way the data has been retrive from database
but before that
i want to clearify
at page Load it initialize each control

DropDown1.Items.Clear()
ListItem _Item = new ListItem("-Select Country-",0)
DropDown1.Items.Insert(_Item, 0)

DropDown2.Items.Clear()
ListItem _Item = new ListItem("-Select City-",0)
DropDown2.Items.Insert(_Item, 0)

DropDown3.Items.Clear()
ListItem _Item = new ListItem("-Select Location-",0)
DropDown3.Items.Insert(_Item, 0)

when i change selection of Country drop down
again

DropDown2.Items.Clear()
ListItem _Item = new ListItem("-Select City-",0)
DropDown2.Items.Insert(_Item, 0)

DropDown3.Items.Clear()
ListItem _Item = new ListItem("-Select Location-",0)
DropDown3.Items.Insert(_Item, 0)

this way its coded..

hope you get what i coded on my form

sasmi
Questionhow to avoid a leave event after it is called Pin
eyalle18-Nov-09 19:30
eyalle18-Nov-09 19:30 
AnswerRe: how to avoid a leave event after it is called Pin
dan!sh 18-Nov-09 19:48
professional dan!sh 18-Nov-09 19:48 
AnswerRe: how to avoid a leave event after it is called Pin
Shameel18-Nov-09 21:29
professionalShameel18-Nov-09 21:29 
GeneralRe: how to avoid a leave event after it is called Pin
eyalle18-Nov-09 21:32
eyalle18-Nov-09 21:32 
GeneralRe: how to avoid a leave event after it is called Pin
Shameel18-Nov-09 22:51
professionalShameel18-Nov-09 22:51 
Questiongrid to database Pin
Member 59031018-Nov-09 19:20
Member 59031018-Nov-09 19:20 
AnswerRe: grid to database Pin
Abhijit Jana18-Nov-09 19:27
professionalAbhijit Jana18-Nov-09 19:27 
GeneralRe: grid to database Pin
Member 59031018-Nov-09 19:33
Member 59031018-Nov-09 19:33 
AnswerRe: grid to database Pin
Amit Patel198518-Nov-09 20:08
Amit Patel198518-Nov-09 20:08 
GeneralRe: grid to database Pin
Member 59031018-Nov-09 20:12
Member 59031018-Nov-09 20:12 
QuestionHow to add new line in cell gridview in desktop application Pin
Rajesh_K_Sharma18-Nov-09 19:05
Rajesh_K_Sharma18-Nov-09 19:05 
AnswerRe: How to add new line in cell gridview in desktop application Pin
Abhijit Jana18-Nov-09 19:25
professionalAbhijit Jana18-Nov-09 19:25 
QuestionReducing avi file size Pin
kjsl2k918-Nov-09 14:39
kjsl2k918-Nov-09 14:39 
AnswerRe: Reducing avi file size Pin
Eduard Keilholz18-Nov-09 22:06
Eduard Keilholz18-Nov-09 22:06 
GeneralRe: Reducing avi file size Pin
kjsl2k919-Nov-09 0:37
kjsl2k919-Nov-09 0:37 
QuestionAny Software tool available for generating UML ACTIVITY DIAGRAM from C# Code ? Pin
Nadia Monalisa18-Nov-09 14:07
Nadia Monalisa18-Nov-09 14:07 
AnswerRe: Any Software tool available for generating UML ACTIVITY DIAGRAM from C# Code ? Pin
Abhijit Jana18-Nov-09 16:36
professionalAbhijit Jana18-Nov-09 16:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.