DataForm connected to SQL DB

Hello,

   I've been trying for a couple of days to connect my DataForm to my SQL database with no luck and I have not found anything in the help documentation.  I have been able to get the ViewModel to work and the DataForm loads, it's just that it will not connect/load the data.  Any help/examples you may have would be appreciated.  At this point my database is simple address data, select an address from the first view and it is supposed to open the DataForm with the corresponding address data.

Thank you.

4 Replies

SV Srinivasan Vasu Syncfusion Team April 25, 2018 12:43 PM UTC

Hi Michael, 
 
Sorry for delay caused. 
 
We have checked your query and we have prepared a sample using SQLite database as per your requirement. You should bind the DataObject with address class instance in SfDataForm
 
Please download the same from the below location. 
 
 
Regards, 
Srinivasan 
 



FA Farooq November 19, 2019 04:47 AM UTC

Hi dear,

      I just downloaded and run the SampleDemo and encountered an error which is perhaps about connection string. Error snapshot is attached here.  Please guide me. 
      Anticpated Thanks
     Farooq  Ahmed 
     From Pakistan

Attachment: error_9044968d.rar


AK Ajith Kumar Senthil Kumar Syncfusion Team November 20, 2019 03:52 PM UTC

Hi Farooq, 
 
Thank you for contacting Syncfusion support. 
 
Currently, we are analyzing your reporting issue of “Getting Dll not found exception in Sqlite sample”. We will analyze and update you the further details and sample in two business days (November 22, 2019). We appreciate your patience until then. 
 
Regards,
Ajith.
 



AK Ajith Kumar Senthil Kumar Syncfusion Team November 22, 2019 08:55 AM UTC

Hi Farooq 
 
Thank you for your patience.  
 
We have analysed and we fixed the reporting issue of “Getting Dll not found exception in Sqlite samplein sample level by updating the sqlite-net-pcl and SqLitePcl.raw to recent version as the SQLite.Net-PCL nuget used is no longer being maintained by its author. You need to switch to another similar package or update it to sqlite-net-pcl. 
 
We hope this helps. Please let us know, if need any further assistance. 
 
Regards,
Ajith. 
 


Loader.
Up arrow icon