Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: datagrid problems


Message #1 by "Scott Sign" <ssign@l...> on Mon, 11 Feb 2002 17:13:36
I have an windows application that was written in delphi that I am 
converting to vb.net.  This app currently generates a lot of varied 
information based upon certain input parameters choosen.  It makes use of 
a built in delphi-html control that is able to build the output in html 
tables and display via the windows form.  What I am trying to figure out 
is how to do the same or similiar.  In vb6, I could use the webbrowser 
control but that requires IE on the client machine.  I don't know if it 
even works in vb.net either.  But regardless, I cannot make that a 
requirement of the user.  Anyway, I have been investigating using 
datagrids and it seems like if I can become a little more familiar with 
them, I can create similiar type results.  My questions are the following:
1) Does anyone know of any html-like user control for vb.net I could 
investigate using?
2) If I have to use datagrids, how can I programmatically alter the size 
based upon the variable output of my program.  For instance, I may have 3 
columns or I may have 4 or 5.  I may have only 3 rows, or I may have 20.  
I do not want them to have to scroll within the control on the form.  I 
would love it to look alot like the start page of vs.net where it almost 
looks like an html table display (ie...not look like excel or access).
3) Also when I bind to the data grid, it seems to not make the field large 
enuf to show the entire column's contents.  And I cannot seem to figure 
out how to control this.  help!
4) any other ideas or brainstorms you guys can dream up to help me would 
be GREATLY appreciated.

Thanks in Advance,
Scott Sign
ssign@l... 

  Return to Index