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
prasanna kumar
NA
41
7.5k
While exporting repeater to excel ASP.NETC# getting HTML Tag
Aug 2 2019 4:33 AM
my asps file Customer.aspx
<
asp:UpdatePanel
runat
=
"server"
ID
=
"updpnl"
>
<
ContentTemplate
>
<
asp:Panel
runat
=
"server"
ID
=
"Panelmapdetail"
Height
=
"280px"
ScrollBars
=
"Auto"
>
<
table
class
=
"table table-hover table-nomargin table-colored-header"
>
<
thead
>
<
tr
>
<
th
>
UniqID
</
th
>
<
th
>
Customer Name
</
th
>
<
th
>
Product1
</
th
>
<
th
>
Product2
</
th
>
<
th
>
Product3
</
th
>
<
th
>
</
th
>
</
tr
>
</
thead
>
<
tbody
>
<
asp:Repeater
runat
=
"server"
ID
=
"rptrStudMarksDetails"
>
<
ItemTemplate
>
<
tr
>
<
td
style
=
"display:none"
>
<
asp:Label
ID
=
"lbCustomerProduct"
runat
=
"server"
Text
=
'<%#Eval("CustomerProduct") %>'
>
</
asp:Label
>
</
td
>
<
td
>
<
%#Eval("UniqID") %
>
</
td
>
<
td
>
<
%#Eval("Customer Name") %
>
</
td
>
<
td
>
<
%#Eval("Product1") %
>
</
td
>
<
td
>
<
%#Eval("Product2") %
>
</
td
>
<
td
>
<
%#Eval("Product2") %
>
</
td
>
</
tr
>
</
ItemTemplate
>
</
asp:Repeater
>
</
tbody
>
</
table
>
</
asp:Panel
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
<
asp:LinkButton
runat
=
"server"
ID
=
"lbnExport"
OnClick
=
"lbnExport_Click"
>
Export to Excel
</
asp:LinkButton
>
my aspx.cs file customer.aspx.cs
my output
Reply
Answers (
1
)
Asp.net MVc and Asp.net Core importance
Failing to load my website/page after publishing it on IIS