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
ravi chaudhary
NA
14
7.3k
Delete table At once
Dec 28 2014 2:43 AM
Delete Table at once in which we are present
Function for that is given below ..../
(We are making a html Editor in web form)
public void DeleteTable()
{
mshtmlTable table1 = null;
mshtmlTableRow rows = null;
GetTableElement (out table1,out rows);
if(table1!=null )
try
{
// table1.rows.
// int index = table1.rows.length;
//// for (int idxcol = 0; idxcol < index; idxcol++)
foreach (mshtmlTable row in table1.rows)
{
row.deleteRow();
}
}
catch (Exception ex)
{
throw new HtmlEditorException("Unable to delete a table", "tabledelete", ex);
}
else
{
throw new HtmlEditorException("Table not currently selected ", "tabledelete");
}
}
Reply
Answers (
1
)
DataGridView Bind Column
Need Code That Read Bar Code