G
Guest
Hey guys,
Can anyone tell me how I can do THIS (see code below) but in a STRING
ARRAY instead? I really appreciate any help. I'm using C# in VS2005.
public int intTotal
{
get
{
object value = ViewState["intTotal"];
return value == null ? 0 /* default value */ : (int)value;
}
set
{
ViewState["intTotal"] = value;
}
}
Thanks!!!
Todd
Can anyone tell me how I can do THIS (see code below) but in a STRING
ARRAY instead? I really appreciate any help. I'm using C# in VS2005.
public int intTotal
{
get
{
object value = ViewState["intTotal"];
return value == null ? 0 /* default value */ : (int)value;
}
set
{
ViewState["intTotal"] = value;
}
}
Thanks!!!
Todd