StrataFrame Forum

Data is not saving on MaintenanceFormToolStrip save click

http://forum.strataframe.net/Topic26034.aspx

By Vikas Gupta - 2/14/2010

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

By Trent L. Taylor - 2/15/2010

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?