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............

Sibeesh VenuPosted Jan 19, 2015, 8:19 AM
Have you tried http://msdn.microsoft.com/en-us/library/system.windows.forms.tablelayoutpanel%28v=vs.110%29.aspx ?
Please accept and up vote if it helped you.
Kindest Regards
Sibeesh
http://sibeeshpassion.com/