SqlDataSource and DataSet question

J

Jason Huang

Hi,


I would like to know what the DataSet name is and where the DataSet is for
a SqlDataSource like this:

<asp:SqlDataSource ID="SqlDataSourceA" runat="server" ConnectionString="<%$
ConnectionStrings:ServiceConnectionStringA %>"
SelectCommand="SELECT TestNo, AcceptDate, status FROM TestForm ORDER BY
TestNo">
</asp:SqlDataSource>

where the connectionStrings in te Web.Config is as:
<connectionStrings>
<add name="ETCServiceTestConnectionStringA" connectionString="Data
Source=172.16.10.1;Initial Catalog=Service;User
ID=service;Password=mypwd"
providerName="System.Data.SqlClient" />
</connectionStrings>

Thanks for help.


Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top