Click here to Skip to main content
12,952,277 members (42,539 online)
Rate this:
Please Sign up or sign in to vote.
See more:
how can i simulate the function of WORD TABLE,that can split and meger cells arbitrarily,any code can help? thank you all
Posted 10-Dec-12 21:58pm
Richard MacCutchan 11-Dec-12 4:14am
Probably by writing a lot of code.

You could also look at the DataGridView class to see if that has any features that you could adapt for your needs.
Sergey Alexandrovich Kryukov 11-Dec-12 13:10pm
I know one "secret weapon", of a very good quality -- please see my answer.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

One wonderful way of doing it is provided in this CodeProject article: A Professional HTML Renderer You Will Use[^].

The control is based on RichTextBox and allows you to use HTML as a data source. And, with HTML you can simulate almost everything.

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

thanks Sergey,bu is not what i want,it like this Picture,in that, i can meger and split any cell,and i can select one cell to update its property, like font、color and so on
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

thanks for Lina99, i don't want to buy a component at the moment, desire a better solution, The most important thing is split a cell

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,239
CHill60 3,490
Maciej Los 3,083
Jochen Arndt 1,975
ppolymorphe 1,880

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 12 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100