﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » DevExpress Grid and SF</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 04 Jul 2026 09:42:18 GMT</lastBuildDate><ttl>20</ttl><item><title>DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24246.aspx</link><description>I am using the latest version of DevExpress and SF in VS 2008. I created a BO and just by using a break point I found that it [b]does have data in it[/b]. I also created a Custom Business Binding Source and put in the code so it does appear on my toolBox. I dropped the BO and the BBS on my form. I also have placed a DevExpress Grid on my form.&lt;br&gt;
Using the little black arrow on the top right of the grid(forgot what it is called) I did the following steps:&lt;br&gt;
1. Choose Data Source.&lt;br&gt;
2. Add Project Data Source.&lt;br&gt;
3. Choose Object as data type.&lt;br&gt;
4. Found my BOLib, found my BBS and selected it.&lt;br&gt;
5. It immediately created the databindingsource and put the columns that I want in the grid.&lt;br&gt;
6. I looked at the columns and they have the correct field names in them.&lt;br&gt;
7. Because of #5 and #6 I think the grid is set up correctly?????&lt;br&gt;
8. Run project and the grid shows with the column titles but no data. &lt;br&gt;
&lt;br&gt;
What am I missing? TIA.&lt;br&gt;</description><pubDate>Tue, 08 Sep 2009 16:54:48 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24585.aspx</link><description>Yes I did get it. Thanks.</description><pubDate>Tue, 08 Sep 2009 16:54:48 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24469.aspx</link><description>I am just scanning through the posts this morning.  If you still need help let me know, but it looks like you are on the track of getting things taken care of at this point.  Glad you got it going. :)</description><pubDate>Wed, 02 Sep 2009 08:41:44 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24455.aspx</link><description>I got it all working.&lt;br&gt;
Thank you so very much. Now to my other machine to see what is going on there?&lt;br&gt;
Thanks for all your time and energy.</description><pubDate>Tue, 01 Sep 2009 18:04:02 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24453.aspx</link><description>I'm sorry but I did not find any code in your example to save the data? So if I am correct all of that is handled behind the scene with the BO and BBS??? In my project that did not seem to work.&lt;br&gt;</description><pubDate>Tue, 01 Sep 2009 17:17:17 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24435.aspx</link><description>Terry,&lt;br&gt;
&lt;br&gt;
This post confuses me as the sample I posted SHOWs how to use an SF BBS with a DevExpress grid.  At this point I am unsure of what you are getting at.  Please provide more details.  Thanks.</description><pubDate>Tue, 01 Sep 2009 10:13:52 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24429.aspx</link><description>When I started playing with the DevExpress Grid I put in the [b]RowUpdated[/b] the following to update the data:&lt;br&gt;
Me.CustomersTableAdapter.Update(Me.DSCustomers.Customers)&lt;br&gt;
&lt;br&gt;
but how do I do it using a Strataframe BBS? TIA.</description><pubDate>Tue, 01 Sep 2009 07:02:14 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24428.aspx</link><description>All right it Works but what I had to do is stop using the machine I was using and moving too another of my laptops. Apparently the connection to the SQLExpress server is somehow hosed or something. I have not tried your suggestions yet but I will and report back. &lt;br&gt;
I do have SqlExpress 2005 and 2008 on that other machine (that does not work) and I use both instances but the strataframesample is attached to the 2008 instance. Could there be something that let's SF look at the 2005 instance even though I tell it that sqlexpress2008 is the instance?  I will try and attach to one of my other databases and see what happens with it............... &lt;br&gt;
Trent and Peter thanks for all of your help. At least I know how to get the DevExpress Grid to work now. I did create my own project on my other laptop and it did work also.  I just was too lazy to change the ethernet dongle.......  &lt;br&gt;
At least I was able to follow directions and make it work which makes me feel better.&lt;br&gt;</description><pubDate>Mon, 31 Aug 2009 22:07:58 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24418.aspx</link><description>Well, the good news is that this is 100% on the connection side.  This error is genuine as I have never seen this message to date when it truly cannot connect to SQL.  Check the following:&lt;br&gt;
&lt;br&gt;
1. That the server is up and running&lt;br&gt;
2. That the named instance is correct&lt;br&gt;
3. You have the proper login credentials&lt;br&gt;
4. If none of the above works, open the program.cs and change the Applicationkey to something other than StrataFrameSample and it will force the connection string wizard to come back up again and allow you to reset your connection.</description><pubDate>Mon, 31 Aug 2009 15:32:08 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24416.aspx</link><description>I wish I could say No Problem but I can not..... Now I get this error. I have rebuilt the partial, I have gotten v9.2 of devexpress, I have the latest version of SF. I get absolutely no errors when I rebuild the project and it says the partial are rebuilt with no errors but I get this when I run the project:?&lt;br&gt;
&lt;br&gt;
ApplicationException&lt;br&gt;
  An error occurred while creating the main form&lt;br&gt;
TargetInvocationException&lt;br&gt;
  Exception has been thrown by the target of an invocation.&lt;br&gt;
SqlException&lt;br&gt;
  Cannot open database "StrataFrameSample" requested by the login. The login failed.&lt;br&gt;
Login failed for user 'TERRY-143C60421\Terry'.&lt;br&gt;
&lt;br&gt;
Source     : MicroFour StrataFrame UI&lt;br&gt;
&lt;br&gt;
Stack Trace: &lt;br&gt;
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)&lt;br&gt;
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)&lt;br&gt;
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&lt;br&gt;
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)&lt;br&gt;
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)&lt;br&gt;
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)&lt;br&gt;
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)&lt;br&gt;
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)&lt;br&gt;
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)&lt;br&gt;
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)&lt;br&gt;
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)&lt;br&gt;
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)&lt;br&gt;
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)&lt;br&gt;
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)&lt;br&gt;
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)&lt;br&gt;
   at System.Data.SqlClient.SqlConnection.Open()&lt;br&gt;
   at System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState&amp; originalState)&lt;br&gt;
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)&lt;br&gt;
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)&lt;br&gt;
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)&lt;br&gt;
   at MicroFour.StrataFrame.Data.SqlDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(String Statement, OnChangeEventHandler CallBack)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DataLayer.GetDataTable(String Statement, Boolean RegisterNotification)&lt;br&gt;
   at MicroFour.StrataFrame.Business.BusinessLayer.FillDataTable(String SelectStatement)&lt;br&gt;
   at DevExGrid.CustomersBO.FillTop100() in D:\VSProjects\DevExGrid\DevExGrid\CustomersBO.cs:line 82&lt;br&gt;
   at DevExGrid.Form1..ctor() in D:\VSProjects\DevExGrid\DevExGrid\Form1.cs:line 24&lt;br&gt;
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandle&amp; ctor, Boolean&amp; bNeedSecurityCheck)&lt;br&gt;
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)&lt;br&gt;
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)&lt;br&gt;
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;br&gt;
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;br&gt;
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;br&gt;
   at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()&lt;br&gt;
&lt;br&gt;
I can not imagine why login failed for me. I can use SQL Server Management and look at the data when I login the same way??????&lt;br&gt;</description><pubDate>Mon, 31 Aug 2009 15:28:54 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24362.aspx</link><description>No problem. :)</description><pubDate>Sat, 29 Aug 2009 10:28:28 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24361.aspx</link><description>I'll try it and let you know. Thank you very much.</description><pubDate>Sat, 29 Aug 2009 10:27:27 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24351.aspx</link><description>Terry,&lt;br&gt;
&lt;br&gt;
Attached is the exact same sample compiled with the most recent version of DevExpress (9.2.4).  The ONLY change that I had to make to this sample for it to run is change the references and the lic file, recompile, and it worked.&lt;br&gt;
&lt;br&gt;
Please review this sample as this should get you going.  Thanks.</description><pubDate>Fri, 28 Aug 2009 14:16:21 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24342.aspx</link><description>I realized the time difference but I appreciate ALL the help. I am not under the gun so that is not a problem but it is just so frustrating when it should just WORK.  I'll try your steps tomorrow and let you know the outcome. TIA.</description><pubDate>Thu, 27 Aug 2009 19:30:42 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24341.aspx</link><description>Hi Terry,&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
BTW - sorry for the delay in responding - we are obviously in very different time zones.&lt;br&gt;
&lt;br&gt;
Cheers, Peter</description><pubDate>Thu, 27 Aug 2009 17:59:01 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24340.aspx</link><description>Hi Terry,&lt;br&gt;
&lt;br&gt;
I wonder if there is something pretty basic here. Follow these steps to create a BO and get it into form:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Open your project&lt;br&gt;
&lt;br&gt;
Right click on your Project Name&lt;br&gt;
&lt;br&gt;
Select Add &gt; New Item&lt;br&gt;
&lt;br&gt;
Click SF Business Object&lt;br&gt;
&lt;br&gt;
Click StrataFrame in the VS Menu Bar&lt;br&gt;
&lt;br&gt;
Click Business Object Mapper&lt;br&gt;
&lt;br&gt;
Go to your Project Name and expand&lt;br&gt;
&lt;br&gt;
Select your new BO&lt;br&gt;
&lt;br&gt;
In right hand panel click Configure Business Object&lt;br&gt;
&lt;br&gt;
Select a source etc&lt;br&gt;
&lt;br&gt;
When done right click on the BO in left panel and select Build Partial&lt;br&gt;
&lt;br&gt;
Close the BO mapper&lt;br&gt;
&lt;br&gt;
OPen the new BO&lt;br&gt;
&lt;br&gt;
Create the ParentFormLoading event handler&lt;br&gt;
&lt;br&gt;
Add some code to fill the BO&lt;br&gt;
&lt;br&gt;
Close the BO&lt;br&gt;
&lt;br&gt;
Build your project&lt;br&gt;
&lt;br&gt;
Open your form&lt;br&gt;
&lt;br&gt;
Drop the BO on the form&lt;br&gt;
&lt;br&gt;
Drop a BBS on the form and follow the previous instructions&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
When done this way does it work?&lt;br&gt;
&lt;br&gt;
Cheers, Peter</description><pubDate>Thu, 27 Aug 2009 17:58:02 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24338.aspx</link><description>OK I now have uninstalled and reinstalled SF to the latest version. Now I create a simple maintenance form, connect to customers with a BO. Put two text boxes and BO on form with binding source to the cust_lastname and cust_firstname. &lt;br&gt;
Run the project and it all loads and the navigation buttons work. Try to Edit and I now get this error?????&lt;br&gt;
[p]&lt;br&gt;
BusinessLayerException&lt;br&gt;
  An error occurred while saving an the data to the server.&lt;br&gt;
DataLayerSavingException&lt;br&gt;
  Cannot create UPDATE command because the updating DataTable does not contain columns for all PrimaryKeyFields.&lt;br&gt;
DataLayerException&lt;br&gt;
  Cannot create UPDATE command because the updating DataTable does not contain columns for all PrimaryKeyFields.&lt;br&gt;
&lt;br&gt;
Source     : MicroFour StrataFrame Business&lt;br&gt;
&lt;br&gt;
Stack Trace: &lt;br&gt;
   at MicroFour.StrataFrame.Data.DataLayer.BuildUpdateInfo(DataTable UpdatingTable, Boolean Transactional, String TransactionKey)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DataLayer.UpdateDataTableThread(Object ThreadParams)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DataLayer.UpdateDataTable(DataTable TableToUpdate, Boolean Transactional, String TransactionKey)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DataLayer.SaveByForm(DataTable TableToSave, Boolean Transactional, String TransactionKey)&lt;br&gt;
   at MicroFour.StrataFrame.Business.BusinessLayer.SaveByForm(Boolean Transactional, String TransactionKey)&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.Save(Boolean Transactional, String TransactionKey)&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.Save()&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip.cmdSave_Click(Object sender, EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)&lt;br&gt;
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;br&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)&lt;br&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.ToolStrip.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br&gt;
[/p]&lt;br&gt;
&lt;br&gt;
I ignored this error by not editing anything and I put the DevExpress Grid on. I put a BBS on and connected it to my BO in the properties. Set the datasource of the grid to my BBS. Run the form and I still get NO DATA in the Grid. So now I have at least 2 problems. Why do I get the above error and still no data in grid????&lt;br&gt;
&lt;br&gt;
:crazy:</description><pubDate>Thu, 27 Aug 2009 14:59:34 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24335.aspx</link><description>Peter: I followed your step by step outline. I created a new project and I added a maintenance form just so I could check the BO Data. I did not know you could drag a drop a BBS to your form so I did learn something there ( always just added a new item to the project and then put it on the toolbox and drug it to the form). I did get the property BusinessObject and set it like you said in #5.  I set the data source in the devgrid to my BBS. Ran the program and now on every field I get the following error on the Public Property [each field] as ..... :&lt;br&gt;
&lt;br&gt;
Get &lt;br&gt;
return ctype(me.currentRow.Item("cust_Prefix"),system.string)  =error received=&gt;Column 'cust_prefix does not belong to table Customer.&lt;br&gt;
end get&lt;br&gt;
&lt;br&gt;
I know it is every field because I went into the devgrid and deleted the first field and then the error on that field went away. Then I deleted the next column and then the error went away.... and so forth?&lt;br&gt;
&lt;br&gt;
If I run the project without the devgrid it runs even with the BBS on the form but just not attached to anything?  &lt;br&gt;
I have just about had it. I think I will uninstall SF and reinstall and see what happens. It is almost like I have a corrupted ????? somewhere and the BO and BBS are not talking or something.....?&lt;br&gt;
&lt;br&gt;</description><pubDate>Thu, 27 Aug 2009 10:42:24 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24332.aspx</link><description>Thank you so much.</description><pubDate>Thu, 27 Aug 2009 09:35:11 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24323.aspx</link><description>Just FYI, I have download the 9.2 build of DevExpress and I will re-compile the sample and re-post it this evening.&amp;nbsp; I am out of the office today, but I will get this posted with the new DevExpress version so that you don't have to worry with references.</description><pubDate>Thu, 27 Aug 2009 08:38:34 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24319.aspx</link><description>Hi Terry,&lt;br&gt;
&lt;br&gt;
"I could not find any properties in the actual BBS that pointed at the BO."&lt;br&gt;
&lt;br&gt;
That's interesting because to associate a BBS to a BO you do need to know this (well, the way we do it we do). The process we use which I believe is normal is:&lt;br&gt;
&lt;br&gt;
1) Create your BO's which are normally associated with single table and can contain custom columns.&lt;br&gt;
&lt;br&gt;
2) Use the BO's by dropping them on forms as needed.&lt;br&gt;
&lt;br&gt;
3) Then, for each BO that you want to use in DX grid drop a SF BBS onto the form.&lt;br&gt;
&lt;br&gt;
4) When the BBS lands on the form this automatically opens the BBS' property sheet in Solutions Explorer.&lt;br&gt;
&lt;br&gt;
5) In the property sheet there is a property called BusinessObject.&lt;br&gt;
&lt;br&gt;
6) Open the combo box in BusinessObjects and you are given the the list of BO's on the form. Simply choose one and that's it.&lt;br&gt;
&lt;br&gt;
7) Now make the BBS the data source for your grid.&lt;br&gt;
&lt;br&gt;
Note: if you delete your BBS for some reason and recreate it it will no nolonger be the data source for your grid. It gets removed when the BBS is deleted.&lt;br&gt;
&lt;br&gt;
Cheers, Peter&lt;br&gt;
&lt;br&gt;</description><pubDate>Wed, 26 Aug 2009 18:19:18 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24307.aspx</link><description>I could not find any properties in the actual BBS that pointed at the BO.&lt;br&gt;
The properties of the BBS instance on the form shows all of the columns of the BO But I don't see that it points directly at the BO with it's name in some property. Also, the ! was a keyboard mistake or a frustration mistake. Sorry about that.&lt;br&gt;
Since I put the BBS on my toolbox and drug it to the form I don't need a statement like this do I? But if I do where would it be put?&lt;br&gt;
&lt;br&gt;
Dim myBBS as customersBBS&lt;br&gt;
&lt;br&gt;</description><pubDate>Wed, 26 Aug 2009 09:19:23 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24303.aspx</link><description>Hi Terry,&lt;br&gt;
&lt;br&gt;
In the properties of your BBS "BusinessObject" needs to point to the BO that contains the data - does it?&lt;br&gt;
&lt;br&gt;
Also in the line "me.customersBBS!.BusinessObject.Currentview and it had NO DATA" I see that there is an explanation point after BBS - is this just a typo in your post or something more meaningful?&lt;br&gt;
&lt;br&gt;
Cheers, Peter</description><pubDate>Tue, 25 Aug 2009 16:46:13 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24296.aspx</link><description>Alright here is what my ParentFormLoading looks like:&lt;br&gt;
[code]&lt;br&gt;
 Private Sub Customers_ParentFormLoading() Handles Me.ParentFormLoading&lt;br&gt;
        Me.FillDataTable("select cust_lastname,cust_firstname from customers order by cust_lastname")&lt;br&gt;
  End Sub&lt;br&gt;
[/code]&lt;br&gt;
I put a break point on the "me" statement and after I continued one line in the watch window I put:&lt;br&gt;
me.currentview and looked at the visualizer and it had the data. I could not find out how to look at the BBS data there. Is there a way? Then I continued back to the form and the gird had No Data..... I still had a break point on the click of a button and I looked at these:&lt;br&gt;
me.customers1.currentview and it had data.&lt;br&gt;
me.customersBBS!.BusinessObject.Currentview and it had NO DATA.&lt;br&gt;
Again thank you for all the help and time.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description><pubDate>Tue, 25 Aug 2009 09:30:22 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: DevExpress Grid and SF</title><link>http://forum.strataframe.net/FindPost24289.aspx</link><description>Hi Terry,&lt;br&gt;
&lt;br&gt;
The call Me.Customers1.fillalldata() should be in the ParentFromLoading event of your BO. This way, whenever you drop the BO onto a form, it will just 'fill'. The way you have it at the moment you will need to execute Me.Customers1.fillalldata() in every form that is using the BO. So, why don't you make that change anyway but I don't know that it will help your problem much.&lt;br&gt;
&lt;br&gt;
I would then put a breakpoint on the line and see what the status is after fillalldata runs. On the question of fillalldata this is obviously custom code - are you sure it works?&lt;br&gt;
&lt;br&gt;
Why don't you try the basic SF method of: Me.Customers1.FillDataTable("put your Select * code in here") to see what happens.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Cheers, Peter</description><pubDate>Mon, 24 Aug 2009 15:11:34 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item></channel></rss>