samanta

samanta

  • NA
  • 429
  • 135.7k

Retrieve value from sql database to dropdownlist and label

Dec 13 2013 12:05 AM

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)