I understand that with PHP I can use mysql_query($sql); and mysql_fetch_array($result); to fetch some MySQL data and place it into an array. How is this achieved in C# to where I could place my data in say, a datagrid?
I understand that with PHP I can use mysql_query($sql); and mysql_fetch_array($result); to fetch some
Share
This is probably the most quintessential ADO.NET code to fill DataGrid you’re going to see (using disconnected DataSets, that is):