Ok i know what a basic question how to update a database table that is bound to a DGV i know how to do that but i dont think i know all the tricks or i might be doing it the hard way.
See the way i go is i have a table say named names.
bound it to a DGV
Now say i need a new column say called prefix in the names table i would go back to the table and add that column
then in the datasource panel i hit configure datasource with wizard option then reselect the table
now on the dataset i see prefix but now i have to delete the DGV and all textboxes that are linked to the dataset and re create them all.
SO is there any way to add new column to the table and refresh the dataset without having to delete the DGV and other obejects every time.
Hope all that makes sense ;)
See the way i go is i have a table say named names.
bound it to a DGV
Now say i need a new column say called prefix in the names table i would go back to the table and add that column
then in the datasource panel i hit configure datasource with wizard option then reselect the table
now on the dataset i see prefix but now i have to delete the DGV and all textboxes that are linked to the dataset and re create them all.
SO is there any way to add new column to the table and refresh the dataset without having to delete the DGV and other obejects every time.
Hope all that makes sense ;)