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
Aisha Srivastava
NA
230
28.5k
html table in C#
Jan 15 2015 8:00 AM
Hi ,
1. Want to merge cells in table in Windows form and i am using mhtml table...
code for merge cell right and down.
2. split table
code-for insert table...
public void TableInsertPrompt()
{
// if user has selected a table create a reference
mshtmlTable table = GetFirstControl() as mshtmlTable;
ProcessTablePrompt(table);
}
private void ProcessTablePrompt(mshtmlTable table)
{
using (TablePropertyForm dialog = new TablePropertyForm())
{
// define the base set of table properties
HtmlTableProperty tableProperties = GetTableProperties(table);
// set the dialog properties
dialog.TableProperties = tableProperties;
DefineDialogProperties(dialog);
// based on the user interaction perform the neccessary action
if (dialog.ShowDialog(this.ParentForm) == DialogResult.OK)
{
tableProperties = dialog.TableProperties;
if (table == null) TableInsert(tableProperties);
else ProcessTable(table, tableProperties);
}
}
} // ProcessTablePrompt
Help is really appreciated............
Reply
Answers (
1
)
how can traslate english to multiple language using unicode
how to add spell check to my html editor in windows form