string variable not able to get thevalue
Posted
by prince23
on Stack Overflow
See other posts from Stack Overflow
or by prince23
Published on 2010-05-11T09:35:50Z
Indexed on
2010/05/11
9:44 UTC
Read the original article
Hit count: 318
c#
hi, i have an variable declated as an object Object obj =e.Row.DataContext;
when i go to immediate window and check the value i get like this
?Object obj =e.Row.DataContext;
{TempTypeMinus1487405295}
People: "7,556,930"
Name: "India"
string strcounty =obj .Tostring();
now in strcounty i should get as India
but i am getting the value as TempTypeMinus1487405295
how can i get the value india in string variable
thanks in advance
© Stack Overflow or respective owner