Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
ASP.NET can connect to MySQL?
posted

Hi,

for the database, is it ASP.NET infragistics can only connect to SQL Server? can it connect to MySQL?

i'm now using MySQL to store all my data. how can i connect ASP.NET to MySQL so that i can use webdatagrid to display my data??

  • 45049
    Suggested Answer
    posted

    Our ASP.NET controls (including WebGrid, WebDataGrid, and WebHierarchicalDataGrid) are not specific to any database server.  You use data objects, such as SqlDataSource, as the data source for any of these grids.  It is then the responsibility of the data source to communicate with the database, and not the grid.

    I don't myself have familiarity with MySQL.  Even so, if you can pull the MySQL data into .NET using a DataSource object, you can bind it to WebDataGrid.