How can i add Data source in C++ CLI VS 2015

Hello, how can i add data source in VS 2015 for C++ CLI project for example for use in Datagridview etc? Thanks
It depends where your data comes from. A datasource can be dataset, a xml file, an IDBDataReader...
for example its possible from mysql or mssql?
Certainly, for mssql for can use a SQLConnection and either a SQLDataReader or SQLDataAdapter with a dataset. Same for MySql - just use the MySql connection and MySqlDataAdapter or MySqlDataReader.
Thanks :) for mysql i use everytime mysqlconnection etc, but i want only ask if exist some component
For SQlServer you can find some components in the toolbox data section - SqlCommand, SqlConnection. If they are not there right click in the toolbox and choose select items.

Here is an article about the DataGridView:
http://www.codeproject.com/Articles/13058/Data-Binding-with-Windows-Forms-Programming-Sm#3
Yea thanks i add few components like MySQLConnection etc in toolbox and works perfectly :) and i need ask you something, its possible write you a PM? because when i try it, i see recipient dont receive PMs or something like this like when you have blocked pms globally. Thanks a lot :)
Last edited on
Topic archived. No new replies allowed.