2
Answers

Retrieve value from sql database to dropdownlist and label

Photo of samanta

samanta

11y
2.3k
1

Anyone help me,

i have database table like this [sql server 2008]
table1
state-id
country
pincodeStateName
1ttt587030xyz
2yyy678543htk

in asp.net i have dropdownlist and lable.
how i can  fetch stateName value to dropdown and its respective pincode to lable.

Answers (2)