Click here to Skip to main content
15,889,876 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: TemplateColumn, DateTime sorting Pin
Paddy Boyd4-Dec-06 0:55
Paddy Boyd4-Dec-06 0:55 
GeneralRe: TemplateColumn, DateTime sorting Pin
phimix4-Dec-06 1:01
phimix4-Dec-06 1:01 
GeneralRe: TemplateColumn, DateTime sorting Pin
Paddy Boyd4-Dec-06 1:08
Paddy Boyd4-Dec-06 1:08 
QuestionRegarding Typed Dataset Updation in DataBase Pin
VishalSharmaDev3-Dec-06 23:00
VishalSharmaDev3-Dec-06 23:00 
AnswerRe: Regarding Typed Dataset Updation in DataBase Pin
Sandeep Akhare3-Dec-06 23:42
Sandeep Akhare3-Dec-06 23:42 
QuestionInserting images Pin
sudidela3-Dec-06 22:56
sudidela3-Dec-06 22:56 
QuestionDropDown Event Related Query Pin
param thaker3-Dec-06 22:54
param thaker3-Dec-06 22:54 
AnswerRe: DropDown Event Related Query Pin
swguy233-Dec-06 23:30
swguy233-Dec-06 23:30 
You can write following code on SelectedIndexChanged event of first dropdown list. and then load the data based on first dropdown's detail. and in second drop down keep AutoPostback off.

/***************************** Code *************************************

Protected Sub Dropdown1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles SelectCmpCmb.SelectedIndexChanged

Dim str As String
str = "Select CompanyName from Company where
CompanyName = '" & dropdown1.Text & "'" (Name of your first dropdown list)

dropdown2.DataSource = dbaccess.ExecuteDataReader(str)
dropdown2.DataTextField = "GroupName"
dropdown2.DataBind()

End Sub

Note : Here dropdown1 is name of first dropdown list.
and dropdown2 is name of second dropdown list.



I hope this will help you.

QuestionDatagrid in javascript Pin
monika_vasvani3-Dec-06 22:39
monika_vasvani3-Dec-06 22:39 
AnswerRe: Datagrid in javascript Pin
Sandeep Akhare3-Dec-06 23:48
Sandeep Akhare3-Dec-06 23:48 
AnswerRe: Datagrid in javascript Pin
Paddy Boyd4-Dec-06 0:36
Paddy Boyd4-Dec-06 0:36 
GeneralRe: Datagrid in javascript Pin
monika_vasvani4-Dec-06 1:00
monika_vasvani4-Dec-06 1:00 
GeneralRe: Datagrid in javascript Pin
Paddy Boyd4-Dec-06 1:05
Paddy Boyd4-Dec-06 1:05 
Questioncalendar control Pin
MissionSuccess3-Dec-06 22:03
MissionSuccess3-Dec-06 22:03 
AnswerRe: calendar control Pin
just3ala23-Dec-06 22:22
just3ala23-Dec-06 22:22 
QuestionWroking with Active directory Pin
sdsdsds@hotmail.com3-Dec-06 21:08
sdsdsds@hotmail.com3-Dec-06 21:08 
QuestionTransfer Data from Placeholder to Word [modified] Pin
varun_khanna173-Dec-06 20:55
varun_khanna173-Dec-06 20:55 
QuestionSQL Server 2000 Configuration Pin
R.Palanivel3-Dec-06 20:44
R.Palanivel3-Dec-06 20:44 
AnswerRe: SQL Server 2000 Configuration Pin
Guffa3-Dec-06 22:39
Guffa3-Dec-06 22:39 
GeneralRe: SQL Server 2000 Configuration Pin
R.Palanivel3-Dec-06 23:05
R.Palanivel3-Dec-06 23:05 
QuestionDotNetNuke - how to enable leftpane in all pages Pin
Prasad J3-Dec-06 20:25
Prasad J3-Dec-06 20:25 
QuestionPostBack refreshes Javascript Pin
Sushantc3-Dec-06 19:32
Sushantc3-Dec-06 19:32 
AnswerRe: PostBack refreshes Javascript Pin
Eduard Keilholz3-Dec-06 20:29
Eduard Keilholz3-Dec-06 20:29 
GeneralRe: PostBack refreshes Javascript Pin
Sushantc3-Dec-06 20:35
Sushantc3-Dec-06 20:35 
GeneralRe: PostBack refreshes Javascript Pin
Eduard Keilholz3-Dec-06 21:07
Eduard Keilholz3-Dec-06 21:07 

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.