I have the following question: I have Grid
that is composed of various information (id, city, zip code) and the user will select several lines in this Grid
. I need to capture the selected codes, assign these IDs to a variable of type int
and write to the database. I need only the IDs selected to be saved in the database.
Renan My question is the following how to assign these ids to a class instance because I'm aware of the following error even after the suggestions "Object reference not set to an instance of an object" .