Is this a Good Idea or not ?

I really don't know if it is......(and I would Really like your Feedback about it)  I have been keeping myself busy with building a SmartGrid.

The Idea is to tell a datagrid where to get it's data in the property section of the grid. Place the form on a grid and be done with it..... No coding needed.

I don't know if this will fit a 3-tier architecture (or any architecture at all) and that's where you guys come in. You can give me feedback about it. Would this be a usefull control or not ?

After placing the SmartGrid on a form you will have some extra properties below is a screenshot of this

if the autoload is set to true you the grid will load itself with data. After clicking on the “DataSetmethod” you will be able to select the DLL where to get the data from...

 

Just compile and run and the grid will be filled with data.

I am really curious if this is a good idea ?

To download the project goto the  GotDotNet Workspace 

Published 02-22-2005 1:38 PM by Patrick Wellink
Filed under:

Comments

# re: Is this a Good Idea or not ?

Tuesday, February 22, 2005 8:27 PM by Patrick Wellink
I'm not a fan of DataGrid, so I don't think it is a good idea. Then again, before lart week I didn't think much about O/R Mapping, so there you go.
At any rate, it is useful for you for it teaches you how write/extend components.

# re: Is this a Good Idea or not ?

Wednesday, February 23, 2005 10:51 AM by Patrick Wellink
Looks good, if it will give compile time errors if stuff isn't available I don't see any problems with going this route.

If it doesn't then it gets a little more dangerous... and for me a lot less usefull.

# re: Is this a Good Idea or not ?

Wednesday, February 23, 2005 11:09 AM by Patrick Wellink
Well it tries to load an assembly and if that fails it will give an error message.......

# re: Is this a Good Idea or not ?

Wednesday, February 23, 2005 12:33 PM by Patrick Wellink
I like the idea, but the standard datagrid is not really hard to use. What I find hard is to have a dataform with two-way databinding.

Bas.

# re: Is this a Good Idea or not ?

Wednesday, February 23, 2005 1:21 PM by Patrick Wellink
It's not that the standard datagrid is hard to use.. I am not Saying that.

But Don't you get sick and tird of alwayd typing the same code...

Doubleclick on the form to get to the Form.Load event

Then Datagrid.datasource = somedatalayer.somemethod
Datagrid1.datamember = something.

and idem for comboboxes....

This way you set the properties at design time and you're done with it.....