C
Code Monkey
DataTable loading a SqlDataReader (dt.Load())?
Vanilla DataTable using SqlDataAdapter
or SqlDataReader ?
or is there a better way using Generics? If so, how? Essentially I
want to get about 50-100 rows of data (2 columns) out of my database
and use this is serveral places without caching it as the data could
get updated several times during a period of 5 minutes and thus, needs
to be always up-to-date.
TIA
Dave
Vanilla DataTable using SqlDataAdapter
or SqlDataReader ?
or is there a better way using Generics? If so, how? Essentially I
want to get about 50-100 rows of data (2 columns) out of my database
and use this is serveral places without caching it as the data could
get updated several times during a period of 5 minutes and thus, needs
to be always up-to-date.
TIA
Dave