how to retrieve data to a textbox depending on the value selected from a dropdownlist from sqlDb...
I have Managed code for populating Dropdownlist as below:
Public Sub fildp()
cmd.Connection = cn
cmd.CommandText = "Select * From Acct_Sum"
Dim da As New SqlDataAdapter(cmd)
Dim dt As New DataTable()
DPList.DataSource = dt
DPList.DataTextField = "Bor_Name"
DPList.DataValueField = "Loan_code"
DPList.Items.Insert(0, "Select Loan code")
Now, I have multiple textboxes on Form. I want to display data from sqldb based on selected item form Dropdownlist..