iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I've been researching WebUI Studio for our UI and found references to ISDataSource on the website. We are using Oracle and looking at DevArt's dotConnect for Oracle product to provide LINQ and Entity Framework support in our data access layer.
Should I be looking at ISDataSource for our DA layer instead or is that beyond its designed purpose?
Thank you in advance.
Hi Aaron,
ISDataSource acts as medium object that connects data into UI, so you can actually use just any kind of backend. Since ISDataSource supports native connection to both dataset-generated object and custom object, you can develop your data access layer using the way you preferred, and then use ISDataSource to easily connect that object into databound UI controls such as WebGrid, WebCombo, and so on.
To give you a quick idea how ISDataSource works, see the following code which retrieves data from custom data access layer and then bound to a WebGrid.
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="ISDataSource1"> ... </ISWebGrid:WebGrid> <ISDataSource:ISDataSource ID="ISDataSource1" runat="server" SchemaType="CustomObject"> <Tables> <ISDataSource:ISDataSourceTable DataObjectTypeName="MyData" DeleteMethod="Delete" InsertMethod="Insert" SelectMethod="GetData" TableName="Customers" TypeName="MyDataAccess" UpdateMethod="Update"> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource>
To try the sample directly, open WebGrid 7.0 Tutorial C# solution from the program group, then expand V5.0 folder and then IntersoftDataSourceControl folder. Finally, look for CustomDataObject_Flat.aspx sample. There are also many useful samples that you can find in that folder.
Hope this helps,James.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname