Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What to do instead of a msflexgrid

Status
Not open for further replies.

xxman

Technical User
Jun 1, 2004
80
US
Hi
Today I attempted to upgrade my vb6 application to net. That was unsuccessful. Also, to my surprise, there isn`t a version of the MsFlexGrid for Net(unbound) The application is a woodworking program that calculates the parts required to build cabinet drawers.
The user selects various options, selects a type of drawer construction and the grid is then populated up to 4 rows with data at a time. The program also has on the fly notation conversion for all the controls in the application. This means if the user selected metric as the choice. All data in all controls would show this data type. With a selection of fractions from a option button the existing data would be converted. The code was done with a unbound controls. That seemed to be a good solution. What would be the best method to deal with such a project in net.

 
Not a complete answer to your question..

MS Flexgrid can be used in vb.net as com component.

If it is calculating and producing 4 rows of data then it can be done with any grid tool in .net.


Zameer Abdulla
 
There are two native Grid components in .Net Windows Forms.

The DataGrid is older and probably not in your toolbox by default if you are using Visual Studio 2005 or 2008. It does takes a datasource, however you could easily create an in-memory DataTable to use as a source.

The DataGridView is a newer control, and should be in your toolbox. It can either take a datasource or have rows added to it which are not databound. Overall, it has more functionality that the DataGrid, but could be a little slower than the DataGrid, depending on what you are doing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top