Data is not saving on MaintenanceFormToolStrip save click


Author
Message
Vikas Gupta
Vikas Gupta
StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)
Group: Forum Members
Posts: 19, Visits: 60
hello

i hav read documentation n watch out many tutorial n sample

but till now i don,t get any idea how to save data on

on MaintenanceFormToolStrip save button click

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Well, the Save of a MaintenanceFormToolstrip will, by default, save any dirty BO on the form.  So most likely you do not have your data sources setup correctly.  Generally you will setup your data sources in the AppMain.vb or the program.cs in the SetDataSources method.  This tells your application what connections to use for a specified data source.  By default, all BOs will have an empty data source string, so you need to create a data source that points to your deployed database with an empty string as the data source key.

Second, if you are able to create a new record and it isn't saving, I am willing to bet there is an error showing up.  What exception is being thrown?

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