string variable not able to get thevalue
- by prince23
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