Solved

Drawing a table on my form

Posted on 2015-01-30
2
135 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 500 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

This article will show, step by step, how to integrate R code into a R Sweave document
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

717 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