i want to fetch value from DB And Increment it and finally Update DB
to affect the value.
and i am using DataSet To Fetch Value And DataTable And DataRow Collection to display the value but how i can change the value of a Row using Casting or other style .
i am getting error when i am increment the value of a column of row
becuase it seems it is a class and not a proper value .
when i am using casting like this
Quote:
|
(Int32)objRW_G["count_all"]+1;
|
i am get this error
Quote:
Line 100: Application["counter"]=(Int32)objRW_G["count_all"]+1;
Line 101: }
Line 102:
Specified cast is not valid.
|
and i am getting confued how i can change specific row value.
Than for your reply.
Thanks in Advance.
YoOrD.
Beauty Is not on the face
Beauty is on the heart
--<<Ghibran Khalil>>--