Binding records with datagrid by using MS SQL in C#

Mar 28 2005 12:35 PM
Dear all, i was doing PPC application with C#, i have a form that suppose to show the data at MS SQL using datagrid, so i wuould like to ask, how can i connect to MS SQL and bind it at datagrid? i will use SELECT * to select all the data at one table name "info" but after select, how can i bind it so that the PPC user can view it ? should i create a dataset, and use dataset.fill ? ? can anyone teach me, Thanks !

Answers (1)