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
Danish Habib
NA
694
245.9k
How to get the Id of Text from Gridview
Feb 23 2016 2:41 AM
I have a gridview and in which i am using join to get the text value like country
i am saving country ID in my table but when it comes to show in grid view item tamplates i am joining this table with another table where the country name is present so i am showing the name of the country .
Now when i want to delete the row i have a textvalue instaed of id like for country i have JAPAN but i want to pass the ID of JAPAN instead of the Name because in my table i have saved the ID .
How to do that like in below grid i have district Text while deleting the record i want the ID because in my db i have saved the ID instead of text
Reply
Answers (
2
)
Dynamic Paging For DataList Control with PagedDataSource
how to go second tab inside div tab using c# coding.