15,923,789 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Pankaj hyderabad (Top 29 by date)
Pankaj hyderabad
15-Nov-17 12:52pm
View
thank you so much
Pankaj hyderabad
15-Nov-17 12:41pm
View
i have Configured web.config file As below
<configuration>
<connectionStrings>
<add name="conn1" connectionString="Your Connectionstring"/>
</connectionStrings>
Pankaj hyderabad
15-Nov-17 7:53am
View
sir can you tell me process how to check Connection String
Pankaj hyderabad
9-Nov-17 8:13am
View
not woking
Pankaj hyderabad
9-Nov-17 6:18am
View
now what should i do.?
Pankaj hyderabad
9-Nov-17 6:13am
View
i re-installed but still it's not working....
Pankaj hyderabad
29-Oct-17 4:36am
View
protected void lstCity_SelectedIndexChanged(object sender, EventArgs e)
{
lstCinema.Items.Clear();
switch (lstCity.SelectedIndex)
{
case 1:
foreach (var item in Hyderabadcinema)
{
lstCinema.Items.Add(item);
}
break;
case 2:
foreach (var item in Delhicinema)
{
lstCinema.Items.Add(item);
}
break;
}
}
protected void lstCinema_SelectedIndexChanged(object sender, EventArgs e)
{
lstMovie.Items.Clear();
if (lstCity.SelectedIndex == 1)
{
switch (lstCinema.SelectedIndex)
{
case 1:
foreach (var item in hiTechCinema)
{
lstMovie.Items.Add(item);
}
break;
case 2:
foreach (var item in sathyamTheater)
{
lstMovie.Items.Add(item);
}
break;
}
}
if (lstCity.SelectedIndex == 2)
{
switch (lstCinema.SelectedIndex)
{
case 1:
foreach (var item in pvrNcr)
{
lstMovie.Items.Add(item);
}
break;
case 2:
foreach (var item in milanCinema)
{
lstMovie.Items.Add(item);
}
break;
}
}
}
protected void lstMovie_SelectedIndexChanged(object sender, EventArgs e)
{
lstTiming.Items.Clear();
if (lstMovie.SelectedIndex == 1&&lstCinema.SelectedIndex==1)
{
switch (lstMovie.SelectedIndex)
{
case 1:
foreach (var item in tymhitechmovi1)
{
lstTiming.Items.Add(item);
}
break;
case 2:
foreach (var item in tymhitechmovi2)
{
lstTiming.Items.Add(item);
}
break;
}
switch (lstMovie.SelectedIndex)
{
case 1:
foreach (var item in tymsatyammovi1)
{
lstTiming.Items.Add(item);
}
break;
case 2:
foreach (var item in tymsatyammovi2)
{
lstTiming.Items.Add(item);
}
break;
}
}
if (lstCinema.SelectedIndex == 1&&lstMovie.SelectedIndex==2)
{
switch (lstMovie.SelectedIndex)
{
case 1:
foreach (var item in tympvrNcrmovi1)
{
lstTiming.Items.Add(item);
}
break;
case 2:
foreach (var item in tympvrNcrmovi2)
Pankaj hyderabad
29-Oct-17 4:28am
View
how to use breakpoint in asp.net?
Pankaj hyderabad
29-Oct-17 4:27am
View
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace OnlineMoviesticketBooking
{
public partial class MoviTicketDemo : System.Web.UI.Page
{
List<string> city = new List<string>()
{
"Select a City",
"Hyderabad",
"Delhi"
};
List<string> Hyderabadcinema = new List<string>()
{
"Select a Cinema",
"HI-Tech Cinema",
"Satyam Theater"
};
List<string> Delhicinema = new List<string>()
{
"Select a Cinema",
"PVR NCR",
"Milan Cinema"
};
List<listitem> hiTechCinema = new List<listitem>()
{
new ListItem {Text="Select a Movie ",Value="-1" },
new ListItem {Text="Jack & Jones",Value="200" },
new ListItem {Text="Fast & Furious8",Value="200" }
};
List<listitem> sathyamTheater = new List<listitem>()
{
new ListItem {Text="Select a Movie ",Value="-1" },
new ListItem {Text="HolyDay",Value="150" },
new ListItem {Text="Jusney",Value="150" }
};
List<listitem> pvrNcr = new List<listitem>()
{
new ListItem {Text="Select a Movie ",Value="-1" },
new ListItem {Text="GolMaal Again",Value="200" },
new ListItem {Text="Avatar",Value="200" }
};
List<listitem> milanCinema = new List<listitem>()
{
new ListItem {Text="Select a Movie ",Value="-1" },
new ListItem {Text="Jolly LLB 2",Value="180" },
new ListItem {Text="Bahubali-2",Value="180" }
};
List<string> tymhitechmovi1 = new List<string>()
{
"Show Timing",
"9:45AM",
"5:00PM"
};
List<string> tymhitechmovi2 = new List<string>()
{
"Show Timing",
"11:10AM",
"6:45PM"
};
List<string> tymsatyammovi1 = new List<string>()
{
"Show Timing",
"8:00AM",
"10:45PM"
};
List<string> tymsatyammovi2 = new List<string>()
{
"Show Timing",
"10:30AM",
"2:00PM"
};
List<string> tympvrNcrmovi1 = new List<string>()
{
"Show Timing",
"9:15AM",
"6:45PM"
};
List<string> tympvrNcrmovi2 = new List<string>()
{
"Show Timing",
"12:00PM",
"6:10PM"
};
List<string> tymmilanmovi1 = new List<string>()
{
"Show Timing",
"10:10AM",
"8:50PM"
};
List<string> tymmilanmovi2 = new List<string>()
{
"Show Timing",
"9:00AM",
"11:30PM"
};
List<string> seats = new List<string>()
{
"Select Seat","1","2","3","4","5"
};
List<listitem> Mclass = new List<listitem>()
{new ListItem {Text ="Select a class", Value="-1" },
new ListItem {Text="Normal 150/-",Value="150" },
new ListItem {Text="Gold 200/-",Value="200" }
};
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
foreach (var item in city)
{
lstCity.Items.Add(item);
}
}
pnlDetails.Visible = false;
}
protected void lstCity_SelectedIndexChanged(object send
Pankaj hyderabad
29-Oct-17 3:38am
View
anybody is here..
Pankaj hyderabad
28-Oct-17 16:28pm
View
plz give me answer i have tried too much..
Pankaj hyderabad
28-Oct-17 16:20pm
View
my requirement is if user select 2nd moive it will give 2nd movie detail. but according to my logic if i selected 2nd movi then it gives only first movi value??
where my logic is wrong ? anybody can tell me?
Pankaj hyderabad
27-Oct-17 8:01am
View
my requirment is :- if select a city then the next drop drown show the city area and then cities area should come after that select movi and move is changing according to movie....according to movie tyming sholud be change change and select seat and class ....my logic is working fine till movi selected after selection my logic is not working fine
Pankaj hyderabad
27-Oct-17 7:51am
View
send that file here
Pankaj hyderabad
27-Oct-17 7:46am
View
check out
Pankaj hyderabad
27-Oct-17 7:32am
View
Deleted
check out now .... my logic is working but output is diffrent so what should i do..i tried too much
Pankaj hyderabad
27-Oct-17 7:27am
View
Okay
Pankaj hyderabad
27-Oct-17 4:01am
View
okay
i saw there i have write code 4 selected seats
Pankaj hyderabad
26-Oct-17 15:24pm
View
Thank you sir
Pankaj hyderabad
26-Oct-17 14:52pm
View
is auyone helpme??
Pankaj hyderabad
24-Oct-17 14:55pm
View
where is code?
Pankaj hyderabad
24-Oct-17 14:53pm
View
Deleted
it's okay..
so can u give me answer
Pankaj hyderabad
24-Oct-17 14:52pm
View
Deleted
oOHHH yes i saw there
Pankaj hyderabad
24-Oct-17 14:48pm
View
Deleted
what?
Pankaj hyderabad
24-Oct-17 14:47pm
View
okay
Pankaj hyderabad
24-Oct-17 14:18pm
View
can u provide me that code
Pankaj hyderabad
24-Oct-17 13:50pm
View
answer me plz...
Pankaj hyderabad
23-Oct-17 4:08am
View
can u give me code for add one and multiple item from checkboxlist into listbox in asp.net
Pankaj hyderabad
23-Oct-17 4:06am
View
i want to add selected value from checkbox list into listbox..
in case if i checked one value so that value is added on list box .
but if i want to add selected items into list box ..then it adding only last selected item..
Show More