How to Insert Table in Rich Text Control
-
Can anybody tell me..How to insert table in richtextbox control as in MS word..I'll be helpful to u...PLease help me sir.. I'll be very thankful to u. OK! Good Bye...Have a Nice Life..Bye. Sumit Kapoor ---Sumit Kapoor---
-
Can anybody tell me..How to insert table in richtextbox control as in MS word..I'll be helpful to u...PLease help me sir.. I'll be very thankful to u. OK! Good Bye...Have a Nice Life..Bye. Sumit Kapoor ---Sumit Kapoor---
1. You can insert the RTF code using SelectRTF, you'd have get the basic code from wordpad, then modify it a bit. 2. Also you can (although I've not been able to get it to work myself), create a word object and add a table, see the newsgroups for example. However, even if you get point 1 working there is a problem. Tables cells don't word wrap in the richtextbox. I've been looking for a solution to this was a day or two. I've just been looking at the OLE Object example on this site, I thought I might be able to insert HTML, but I can't get it to work. Even if I could I'd then have a problem with resizing columns. I've just about ready to give up.