Hi all
I am stuck up with one problem. Any help is appreciated.
How will I get value of following function - public List
I have to get it and assign to variable "views1" in another function called
private List
{
List
try
{
views1 = analytics.GetForm() as List
}
catch (Exception ex)
{ }
return views1;
}
How will I assign it? Following Line is giving me an error....
views1 = analytics.GetSiteVisits() as List

Jignesh TrivediRank #16 · 50.3K reputationPosted Dec 5, 2013, 6:14 PM EST
your view1 variable is List
I think you have to find what the exact relation between these two and find out way to cast data.
hope this will help you.
VulpesRank #55 · 29.2K reputationPosted Dec 5, 2013, 12:29 PM EST
I think you'll need to figure out a way to convert each KeyValuePair
swami swami22 reputationPosted Dec 6, 2013, 6:12 AM EST