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
Sbonga Mathobela
NA
68
7.5k
How to make a grdview field value a link -Anchor link
Mar 28 2017 4:33 AM
Hi all.
DateTime dd = Convert.ToDateTime(site.Collection_Date);
dr["Collection Date"] = dd.ToShortDateString();
dr["Collection Time"] = site.Collection_Time;
dr["Collection Proof"] = "<a href=test.aspx>" + site.AttachImageReport + "</a>";
var st = db.tb_Status.FirstOrDefault(x => x.Status_Id == site.Vehicle_Status);
dr["Vehicle Status"] = st.Status;
I am using a gridview to display items like above. Now I can't make the field dr["Collection Proof"] value to be a link.
Can you assist.
Reply
Answers (
4
)
how multiple file upload in jquery ajax submit?
varchar data type to a smalldatetime out-of-range exception