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
Sivakumar
NA
551
219.6k
How to send gridview column value to code behind
Apr 21 2016 11:05 AM
Hi
This is my gridview template field:
<asp:TemplateField HeaderText="Preview">
<ItemTemplate>
<div id='<%# "msgs" + Container.DataItemIndex + 1 %>' style="display: none;">
<img src="data:image/png;base64,<%# getBase64((byte[])Eval("Logo"))%>" style="width: 250px; height: 200px" />
<br />
<%# Eval("Message") %>
</div>
<a onclick="showMessage('<%# "msgs" + Container.DataItemIndex + 1 %>')" class="note_icon_order text-center center-block">Preview
</a>
</ItemTemplate>
</asp:TemplateField>
I want to use
<%# Eval("Message") %>
value in my c# code behind of command argument event.
Please tell me the procedure
Thanks.
Reply
Answers (
2
)
how to remove specific character in string c#
how to send sms in asp.net