StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



complex queries joining multiple tablesExpand / Collapse
Author
Message
Posted 08/22/2007 5:46:48 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 08/23/2007 12:55:51 PM
Posts: 3, Visits: 17
I have a business object mapped to a single table Table1. In FillDataTable the query retrieves few extra columns from Table2 by joining Table1 and Table2. How do I map columns from Table2 to a GridView in a webform?
Post #11015
Posted 08/23/2007 8:58:01 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
What you'll need to do is add a new property to the main code file (not the .designer.* file since it could be overwritten) by copying one of the properties from the .designer.* file and modify it accordingly.  Then, you'll need to override the GetCustomBindablePropertyDescriptors() method to return the property descriptors for the properties that you added.  If you search the forum for "GetCustomBindablePropertyDescriptors" you'll find several articles on both custom properties and how to override that method.


www.bungie.net
Post #11020
Posted 08/23/2007 12:57:28 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 08/23/2007 12:55:51 PM
Posts: 3, Visits: 17
Thank you! That helped.
Post #11034
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 4:04am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 14 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.