L
Lalit Bhatia
When we retrieve data from a int field from a datatable and if I write
lValue = (long)dtTable.Rows[0]["Fld1"]
it generates an error at runtime. whereas it should be done because we are
converting int to long which should be possible.
but if I use Convert.ToInt64 it does give any error.
What is reason for that?
Regards,
Lalit Bhatia
lValue = (long)dtTable.Rows[0]["Fld1"]
it generates an error at runtime. whereas it should be done because we are
converting int to long which should be possible.
but if I use Convert.ToInt64 it does give any error.
What is reason for that?
Regards,
Lalit Bhatia