ASP. NET 2.0 beta2 learning Tour (2) -- a small difference between sqldatasource and accessdatasource

Source: Internet
Author: User

We studied sqldatasource and accessdatasource data yesterday and today.

The main functions of the sqldatasource control are:UsedSQL Server,OLE DB,ODBC,OracleAnd other data sources, including the access database. The accessdatasource control is specially usedSlaveMicrosoft AccessSearch data in the database. From this perspective, both the sqldatasource and accessdatasource controls can access and operate the ACCESS database.

however, there is a difference between the two. The sqldatasource control uses the connectionstring attribute to connect to the database, while the accessdatasource uses the datafile attribute to directly connect to access through the file address. In addition, other differences are relatively small.

A problem is found now. If the sqldatasource control is used, you can set the Database Password and other security information through the connectionstring attribute. If the accessdatasource control is used to process access files with passwords, how can we set security information? Currently, I have not found any solutions.


Source: http://blog.aspcool.com/polaris/archive/2005/06/16/2455.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.