How to handle C# data from a table that is bit-like in sql server?

Asked

Viewed 70 times

3

In visual Studio will look like this:

alerta.DataHoraCadastro = dr.Get(12);

How do I do that?

1 answer

5


In case you will have to convert the information to Boolean. Would look like this:

alerta.DataHoraCadastro = dr.GetBoolean(12);
  • 1

    Worked my buddy.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.