Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Drawing a table on my form

Posted on 2015-01-30
2
Medium Priority
?
140 Views
Last Modified: 2015-01-30
Experts, my application generates word documents for internal use. The data in the documents is put into a word table similar to what is shown in the picture. As you can see from my form I have given the use the ability to format certain aspects of the appearance of the tables in the document that will be produced. Currently to provide the preview I create an instance of word and actually build the table according to the user selections. Then select and copy the table and then create a bipmap from the image on the clip board. What I dont like about this is having to wait for word and the image is not a very good image. Could someone give me some examples of how I could accomplish this by drawing this table directly on the form and do away with the process I am currently using?

Thanks in advance...

Form View
0
Comment
Question by:Basicfarmer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 2000 total points
ID: 40580568
Have you considered using the DataGridView?  It can be formatted to some degree.

Another option would be to use a TableLayoutPanel (with Labels in it) which can handle those rows at the top and bottom that span multiple columns.
0
 

Author Closing Comment

by:Basicfarmer
ID: 40581041
Mike, thanks for the advice. I have looked at the table layout control and that looks like the way to go.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question