D
Dan
Hi,
i defined a datalist and a datasource like this:
<aspataList ID="DataList1" runat="server">
......
</aspataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:cat %>"
SelectCommand="select * from dbtable"
</asp:SqlDataSource>
Now i discovered the property DataSourceMode in the tag <sqldatasource> with
two options: datareader and dataset.
My question is: i tried both without seeing any difference. So what's the
purpose of this, and what is then used by default?
Thanks
Dan
i defined a datalist and a datasource like this:
<aspataList ID="DataList1" runat="server">
......
</aspataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:cat %>"
SelectCommand="select * from dbtable"
</asp:SqlDataSource>
Now i discovered the property DataSourceMode in the tag <sqldatasource> with
two options: datareader and dataset.
My question is: i tried both without seeing any difference. So what's the
purpose of this, and what is then used by default?
Thanks
Dan