2
Answers

bind country name using entity

Prasad Bhagat

Prasad Bhagat

10y
600
1
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)