2
I have the following question: I have one Grid
which 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 type variable int
and write to the database. I only need the selected Ids to be saved to the database.
Renan My question is the following how to assign these ids to an instance of class because the following error appears even after the suggestions "Object reference not defined for an instance of an object".
And what is the question/doubt? You posted only what you need to do.
– Renan Gomes
Apparently my answer didn’t solve your problem, so try posting your code so it’s easier so we can help you. Apparently by the image you’re not instantiated
fomarsemestre
before using it, so it gives Nullreferenceexception, adjust your question in more detail.– mateusalxd