misterstick
Programmer
forgive the confusion, but i'm suffering paradigm breakdown. this isn't a problem with c# as such, more that i can't see how to do something. if someone could explain it to me (slowly for preference) i'd be very grateful.
i have a form with a dataset on it.
the controls on the form are bound to a table within the dataset.
in order to add a new record, msdn suggests you create a new row of the datatable and add it to the rows collection.
my problem is this.
i can't add the new row to the rows collection because i haven't prompted the user for data to fill it with, and all the columns are not null.
the controls are bound to the table in the dataset and not the new row object, which isn't in the rows collection of the table because i haven't added it yet.
i don't want to bind the controls to the new row for the duration of the update because that would be just dumb.
what am i missing?
mr s. <
i have a form with a dataset on it.
the controls on the form are bound to a table within the dataset.
in order to add a new record, msdn suggests you create a new row of the datatable and add it to the rows collection.
my problem is this.
i can't add the new row to the rows collection because i haven't prompted the user for data to fill it with, and all the columns are not null.
the controls are bound to the table in the dataset and not the new row object, which isn't in the rows collection of the table because i haven't added it yet.
i don't want to bind the controls to the new row for the duration of the update because that would be just dumb.
what am i missing?
mr s. <