TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mark Tabor
589
2k
460.2k
How to get country name instead of its ID
Apr 24 2019 12:53 AM
I have a peroperty Table and in which i am saving the city and country id , although i have city and country separate table as well and it is having the id and name and my property table is having city and country id as foriegn key , although i new i need to join the table and then get the name but my property class is having properties of column as integer type so it gives error when i am assigning the name instead of id as shown below
p.Property_City = rdr["Property_City"].ToString();
it ask me to convert this to int , because my property class has property_City as type int
Reply
Answers (
4
)
DEV EXPRESS In Asp.Net
Regarding Angular 5 and ASP .Net MVC.