DataGridView control


Author
Message
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
If you do this, since the datasource of the DataGridView is one of the exposed ADO.NET components within the business object, if you change the data within the grid, the changes will be directly reflected within the business object. I.E. the business object's IsDirty will return True and calling Save() on the business object will persist the changes back to the database. We left the CurrentDataTable and the CurrentView exposed to allow you to do exactly this.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Right now there is not a super-powered grid in StrataFrame.  However, you can take a regular DataGridView and attach a StrataFrame business object to the control using the MyBusinessObject.CurrentView or MyBusinessObject.CurrentDataTable.  To attach a StrataFrame Business object to a DataGridView, simply set the .DataSource property to one of the aformentioned properties and you will see your data presented through the control.
Scott
Scott
StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
I have a FoxPro background and have made extensive use of grids,  what control in .NET\StrataFrame would provide smilar fucntionallity?  I have been using the listview control for display "pick list" types so far.

Will there be a DataGridView StartaFrame control?

Sorry for all the questions,  this stuff is just so cool.  I am acually getting somewhere in my .NET development.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search