Visual Studio 2005 introduces a new methodology for interacting with data sources, called DDEX.In concert with Active Data Objects 2.0, this system makes it easier for developers to access data sources from within their programs or ASP.NET Web applications.At present, the MySQL Connector does not register with DDEX, and does not extend the required base classes to be used as a DDEX provider.It does not display in the list of providers when using the SelectChange Data Source dialog, when shoved in using a registry patch it does not provide any UI for changing connection string parameters and instead falls back to a PropertyGrid with ConnectionString as the only property, one cannot drag an instance from the ServerDataDatabase Connections window onto a DataSet design surface because it does not appear in Server Connections, and, as reported by Emanuele Scozzafava in bug 16126, attempting to use it as a data provider by hand fails.
If a dialog titled Add Connection appears (if, for example, you have used the ConnectorODBC in the past) select the Change. ![]() The Add Connection dialog will contain a property grid, with one property, named ConnectionString, listed. Repeat the steps for c., optionally enter a connection string, and click OK. You will be informed via dialog that.NET is Unable to find the requested.Net Framework Data Provider. MySqlConnectionString must be public and inherit from System.Data.Common.DbConnectionStringBuilder. Additionally, it should use the DbConnectionStringBuilder as a backing store rather than MySql.Data.Common.DBConnectionString. If you do not, then Visual Studio will just display a property grid with the properties from a MySqlConnectionString object.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |