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
Dhimesh Parmar
NA
126
14.4k
I need help for bind html table using datatable?
Feb 27 2018 12:38 AM
Without using Asp.net control
<table border="1" id="TableUser" runat="server">
<tr>
<th>Main Action</th>
<th>Name</th>
<th>Email</th>
<th>Mobile</th>
<th>Action</th>
</tr>
<%
if (dt != null && dt.rows.count>0)
{
foreach (var item in dt.rows)
{
%>
<tr>
<td>
<asp:LinkButton ID="LinlEdit" runat="server" Text="Edit"/>
|
<asp:LinkButton ID="LinkDelete" runat="server" Text="Delete"/>
</td>
<td><%# Eval("name") %></td>
<td><%# Eval("emailid") %></td>
<td><%# Eval("mobilenumber") %></td>
<td>
<asp:LinkButton ID="LinkAction" runat="server" Text="Enable"/>
</td>
</tr>
<%
}
}
%>
Reply
Answers (
3
)
I need help for bind html table using datatable?
Retrieve the Status of the webjob after immediate run