Click here to Skip to main content
15,894,182 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to bind a gridview from a popup window?? Pin
eyeseetee8-Jul-08 22:26
eyeseetee8-Jul-08 22:26 
Questionhow to apply condition at sessions variable Pin
gaurav mangal8-Jul-08 20:53
gaurav mangal8-Jul-08 20:53 
AnswerRe: how to apply condition at sessions variable Pin
eyeseetee8-Jul-08 21:37
eyeseetee8-Jul-08 21:37 
QuestionRe: how to apply condition at sessions variable Pin
AprNgp8-Jul-08 21:49
AprNgp8-Jul-08 21:49 
AnswerRe: how to apply condition at sessions variable Pin
gaurav mangal9-Jul-08 2:42
gaurav mangal9-Jul-08 2:42 
Questionhow to apply condition at session value Pin
gaurav mangal8-Jul-08 20:28
gaurav mangal8-Jul-08 20:28 
AnswerRe: how to apply condition at session value Pin
Sherin Iranimose8-Jul-08 20:55
Sherin Iranimose8-Jul-08 20:55 
GeneralRe: how to apply condition at session value Pin
gaurav mangal8-Jul-08 21:13
gaurav mangal8-Jul-08 21:13 
thanks for the response.
actually i want that if a user select 2 from dropdownlist or 3 or 4 .
then at second page 2 or 3 or 4 usercontrol will create .so i have
tha value of dropdownlist in sessions .
and want to apply condition on that .
this is the code .
or you suggest what should do.

public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string s17 = Request.Form["scheck"].ToString();
scheck.Value = s17;
Response.Write(s17);
string s18 = Request.Form["sacc1"].ToString();
sacc1.Value = s18;
Response.Write(s18);
string s = Session["child"].ToString();
//Response.Write(s);
//Response.Write(s19);int.Parse(Request.Form["schild"])==1

if (int.Parse(s)== 1)
{
Session["a"] = ctcchild1.name;
Session["b"] = ctcchild1.age;
Session["c"] = ctcchild1.college;
}
else if (1<int.parse(s)><=2)(error)
{
Session["d"] = ctcchild2.name;
Session["e"] = ctcchild2.age;
Session["f"] = ctcchild2.college;
}
//else
//{
else if (2<int.parse(s)><=3)(error)
{
Session["g"] = ctcchild3.name;
Session["h"] = ctcchild3.age;
Session["i"] = ctcchild3.college;
}
else if(int.Parse(s19) == 4)
{
Session["j"] = ctcchild4.name;
Session["k"] = ctcchild4.age;
Session["l"] = ctcchild4.college;
}
GeneralRe: how to apply condition at session value Pin
Sherin Iranimose8-Jul-08 21:23
Sherin Iranimose8-Jul-08 21:23 
GeneralRe: how to apply condition at session value Pin
N a v a n e e t h8-Jul-08 23:13
N a v a n e e t h8-Jul-08 23:13 
GeneralRe: how to apply condition at session value Pin
gaurav mangal9-Jul-08 2:38
gaurav mangal9-Jul-08 2:38 
GeneralRe: how to apply condition at session value Pin
gaurav mangal9-Jul-08 2:40
gaurav mangal9-Jul-08 2:40 
QuestionHow to create thumbail of wmv file? Pin
Member 41021718-Jul-08 19:56
Member 41021718-Jul-08 19:56 
QuestionPush Server Pin
Member 34533318-Jul-08 19:49
Member 34533318-Jul-08 19:49 
AnswerRe: Push Server Pin
eyeseetee8-Jul-08 21:38
eyeseetee8-Jul-08 21:38 
GeneralRe: Push Server Pin
Member 345333110-Jul-08 2:47
Member 345333110-Jul-08 2:47 
QuestionTimeout Expired in an application State Pin
r aa j8-Jul-08 19:30
r aa j8-Jul-08 19:30 
AnswerRe: Timeout Expired in an application State Pin
Venkatesh Mookkan8-Jul-08 20:04
Venkatesh Mookkan8-Jul-08 20:04 
QuestionFCKEditor image browse in asp.net 2 Pin
TheEagle8-Jul-08 18:20
TheEagle8-Jul-08 18:20 
QuestionLogin Control Database [modified] Pin
ASPnoob8-Jul-08 16:54
ASPnoob8-Jul-08 16:54 
AnswerRe: Login Control Database Pin
Christian Graus9-Jul-08 1:14
protectorChristian Graus9-Jul-08 1:14 
GeneralCannot get inner content of because the contents are not literal. Pin
Zoltan Balazs8-Jul-08 11:08
Zoltan Balazs8-Jul-08 11:08 
GeneralRe: Cannot get inner content of because the contents are not literal. Pin
Christian Graus8-Jul-08 14:41
protectorChristian Graus8-Jul-08 14:41 
AnswerRe: Cannot get inner content of because the contents are not literal. Pin
Guffa8-Jul-08 17:53
Guffa8-Jul-08 17:53 
GeneralRe: Cannot get inner content of because the contents are not literal. Pin
Nirandas8-Jul-08 18:54
Nirandas8-Jul-08 18:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.