Page 1 of 1

Data Sorce for DatagridView

Posted: Fri Feb 17, 2012 9:20 am
I have been using PrimalForm 2009 for a while now and love it. I just upgrade to 2011 and created the database connections in my database browser. When ever I add a datagridview a dialog popsup saying Datagridview Tasks. The first and main item is a datasource selection drop down. Which is always empty. How do i setup the datasource to populate it?

I also tried draging the table over from the dtabase brower and it created the datagrid view but still no datasource. I tried going to the project to see if there was a right click property for adding a data source to the project but no luck.

What am I missing???? Help..... :)

Data Sorce for DatagridView

Posted: Fri Feb 17, 2012 9:26 am
by davidc
If you want to populate a DataGridView using a database table, simply drag the table from the Database browser into the designer. It will automatically generate a load function and insert a grid. Call the load function and the data will populate when you run the script. Note: DataSources in the designer are not supported at this point in time.David