المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ******s storing Problem in C#



C# Programming
04-24-2009, 09:52 AM
public void Get******()
{
string subkeyName,subkeyValue;
string str = null;
str = Request.QueryString["productid"];
Addtocart.Value = str;
Addtocart.Expires = DateTime.Now.AddDays(1);
Response.******s.Add(Addtocart);
for (int i = 0; i < Request.******s.Count; i++)
{
App****** = Request.******s[i];
output.Append("Name = " + App******.Name + "
");
if (App******.HasKeys)
{
for (int j = 0; j < App******.Values.Count; j++)
{
subkeyName = Server.HtmlEncode(App******.Values.AllKeys[j]);
subkeyValue = Server.HtmlEncode(App******.Values[j]);
output.Append("Subkey name = " + subkeyName + "
");
output.Append("Subkey value = " + subkeyValue +
"

");
}
}
else
{
output.Append("Value = " + Server.HtmlEncode(App******.Value) +
"

");
}
}
CacheMsg.Text = output.ToString();

}

Through above coding we try to store more than two ******s but we didn't achieved.....so is there any way to store more then two ******s