If you know how to use ADO.NET with SQL Server then you know how to use ADO.NET with any database because it's basically the same regardless. If you can use a SqlConnection
, SqlCommand
, SqlDataAdapter
, etc, for SQL Server then you can use an OleDbConnection
, OleDbCommand
, OleDbDataAdapter
, etc, for any OLE DB data source, or you can use a dedicated third party ADO.NET provider if one exists for your data source, e.g. Connector/Net for MySQL.
如果您不知道如何使用ADO.NET,则应该研究如何使用ADO.NET。完成此操作后,如果遇到实际问题,您可以尽最大努力使用找到的信息,然后将其发布回这里。