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
Anshul Gupta
NA
2
1.7k
i want data from given table on my editor in 2d array
Dec 20 2014 5:43 AM
public void GetData()
{
try
{
mshtmlElement tableElement = GetHTMLElementOfTable();
tableElement.setAttribute("id", "datatable");
HtmlElement table = this.editorWebBrowser.Document.GetElementById("datatable");
if (table != null)
{
foreach (HtmlElement row in table.GetElementsByTagName("tr"))
{
foreach (HtmlElement cell in row.GetElementsByTagName("td"))
{
//?????????????
}
}
}
else
{
throw new HtmlEditorException("Please Select a table table", "ActionTableConvert");
}
}
catch (Exception ex)
{
// process the standard exception
OnHtmlException(new HtmlExceptionEventArgs(null, ex));
}
}
Reply
Answers (
1
)
Close Form
Combobox Error in c#