i use the command:
DataAdapter.Fill(DataSet)
in order to fill my datagrid with the contents of a certain
database table.
however this didn't work when i only wanted two fields from a database table with 5 fields.
i configured my dataAdapter to select only the desired fields to show, but when i run the program, my datagrid still displays all fields.
pls. help. thank you for your kind consideration.
DataAdapter.Fill(DataSet)
in order to fill my datagrid with the contents of a certain
database table.
however this didn't work when i only wanted two fields from a database table with 5 fields.
i configured my dataAdapter to select only the desired fields to show, but when i run the program, my datagrid still displays all fields.
pls. help. thank you for your kind consideration.