Prasad Bhagat

Prasad Bhagat

  • NA
  • 516
  • 235.4k

bind country name using entity

Aug 13 2014 8:55 AM
Dear all,

in my database i have country table
in that counrty id
          countryname

i have two forms
default.aspx
--------------
heare iam binding the country name to dropdown
but dropdownlist sending the value is int

i saved this page in to db

 coming to next page

View.aspx
----------
here i want bind the latest record data from database

while iam binding to page

iam binding the country but its showing to me int value(countryid) but i need to disply country name using entity freamework  in asp.net
how to disply like that?



Answers (2)