In Visual Studio it will look like this:
alerta.DataHoraCadastro = dr.Get(12);
How do I do this?
In Visual Studio it will look like this:
alerta.DataHoraCadastro = dr.Get(12);
How do I do this?
In case you will have to convert the information to boolean. It would look like this:
alerta.DataHoraCadastro = dr.GetBoolean(12);