Click here to Skip to main content
15,901,505 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Wide table visualization Pin
Luc Pattyn16-Feb-12 6:54
sitebuilderLuc Pattyn16-Feb-12 6:54 
AnswerRe: Wide table visualization Pin
Bernhard Hiller16-Feb-12 20:54
Bernhard Hiller16-Feb-12 20:54 
GeneralRe: Wide table visualization Pin
TPIRick17-Feb-12 3:12
TPIRick17-Feb-12 3:12 
AnswerRe: Wide table visualization Pin
Dave Kreskowiak18-Feb-12 4:08
mveDave Kreskowiak18-Feb-12 4:08 
AnswerRe: Wide table visualization Pin
Eddy Vluggen18-Feb-12 4:15
professionalEddy Vluggen18-Feb-12 4:15 
AnswerRe: Wide table visualization Pin
jschell20-Feb-12 9:55
jschell20-Feb-12 9:55 
AnswerRe: Wide table visualization Pin
Luc Pattyn20-Feb-12 12:18
sitebuilderLuc Pattyn20-Feb-12 12:18 
AnswerWORKAROUND/SOLUTION !!! Pin
TPIRick7-Mar-12 10:09
TPIRick7-Mar-12 10:09 
Thought I would post my workaround in case it helps others.

Once the data is in a datatable I did a check on the number of columns and if it was very large then I disabled the datagridview to disable viewing. I then added code to allow the user to view the data via HTML. I created a humongo string which was an HTML representation of the data in the datatable. Nothing fancy just kept appending to the same StringBuilder object. Started with html cmds to set up the table then looped thru #rows, #columns spitting out tr, /tr, td, /td cmds with the cell contents in the middle. I then used a StreamWriter to write the humongo string to a file. I then added a button to allow the user to view the file that was created using the default browser. Button invocation calls "Process.Start(htmlFileCreated)".

I tried Firefox and IE 8/9 and was able to view the table even though it was 750 columns wide. Hope this helps someone.

Regards,
Rick
Question.Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 3:34
julian@giant16-Feb-12 3:34 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 3:41
mvePete O'Hanlon16-Feb-12 3:41 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 4:59
julian@giant16-Feb-12 4:59 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 4:06
sitebuilderLuc Pattyn16-Feb-12 4:06 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 4:54
julian@giant16-Feb-12 4:54 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 5:11
sitebuilderLuc Pattyn16-Feb-12 5:11 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 5:19
julian@giant16-Feb-12 5:19 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 5:33
sitebuilderLuc Pattyn16-Feb-12 5:33 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 6:13
julian@giant16-Feb-12 6:13 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant22-Feb-12 5:04
julian@giant22-Feb-12 5:04 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn22-Feb-12 5:10
sitebuilderLuc Pattyn22-Feb-12 5:10 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant22-Feb-12 5:32
julian@giant22-Feb-12 5:32 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Dave Kreskowiak16-Feb-12 6:04
mveDave Kreskowiak16-Feb-12 6:04 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 6:15
julian@giant16-Feb-12 6:15 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 6:36
sitebuilderLuc Pattyn16-Feb-12 6:36 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 22:17
julian@giant16-Feb-12 22:17 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
AspDotNetDev18-Feb-12 22:11
protectorAspDotNetDev18-Feb-12 22:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.