﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ISDataSource - How to add a datatable or dataview to isdatasource,or creat a isdatasource by the server code auto?</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/How-to-add-a-datatable-or-dataview-to-isdatasourceor-creat-a-isdatasource-by-the-server-code-auto/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to add a datatable or dataview to isdatasource,or creat a isdatasource by the server code auto?</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/How-to-add-a-datatable-or-dataview-to-isdatasourceor-creat-a-isdatasource-by-the-server-code-auto/</link><pubDate>Wed, 02 Dec 2009 23:31:57 GMT</pubDate><dc:creator>yudi</dc:creator><category>ISDataSource</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Below is the snippet that shows how to create ISDataSource at runtime.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
    ISDataSource isds = new ISDataSource();
    isds.ID = "ISDataSource1";
    isds.SchemaName = "dsNorthwind_ReadOnly";
    isds.SchemaType = ISNet.WebUI.DataSource.SchemaType.DataSet;

    ISDataSourceTable ShippersTable = new ISDataSourceTable();
    ShippersTable.TableName = "Shippers";
    ShippersTable.SelectMethod = "GetData";

    isds.Tables.Add(ShippersTable);
    isds.Tables[0].TypeName = "dsNorthwind_ReadOnlyTableAdapters.ShippersTableAdapter";

    Page.Controls.Add(isds);
}&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to add a datatable or dataview to isdatasource,or creat a isdatasource by the server code auto?</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/How-to-add-a-datatable-or-dataview-to-isdatasourceor-creat-a-isdatasource-by-the-server-code-auto/</link><pubDate>Tue, 01 Dec 2009 22:07:18 GMT</pubDate><dc:creator>fairok@hotmail.com</dc:creator><category>ISDataSource</category><description>&lt;p&gt;How to add a datatable or dataview to isdatasource,or creat a isdatasource by the server code auto?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Such as IsDataSource.Tables.Add(DataTable);&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>