Click here to Skip to main content
16,006,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: passing arrays to different methods Pin
alwaysthinking9-Feb-09 12:42
alwaysthinking9-Feb-09 12:42 
GeneralRe: passing arrays to different methods Pin
harold aptroot9-Feb-09 14:13
harold aptroot9-Feb-09 14:13 
AnswerRe: passing arrays to different methods Pin
Natza Mitzi9-Feb-09 12:41
Natza Mitzi9-Feb-09 12:41 
QuestionWebform and refresh Pin
Saamir9-Feb-09 11:53
Saamir9-Feb-09 11:53 
AnswerRe: Webform and refresh Pin
vaghelabhavesh9-Feb-09 13:53
vaghelabhavesh9-Feb-09 13:53 
AnswerRe: Webform and refresh Pin
EliottA9-Feb-09 14:02
EliottA9-Feb-09 14:02 
Question[Message Deleted] Pin
Terick9-Feb-09 11:48
Terick9-Feb-09 11:48 
AnswerRe: DropDownList selection as QueryInput Pin
vaghelabhavesh9-Feb-09 14:02
vaghelabhavesh9-Feb-09 14:02 
I see you are storing the selected values in Session, so you can use that value from the second page.

e.g.
Summary.aspx
protected void Page_Load(object sender,EventArgs e)
{
 if(!Page.IsPostBack)
 {
   Pool pool = Session["POOL"] as Pool;
   if(pool!=null)
   {
      string selectedYear = pool.Pool_Year;
      string selectedCategory = pool.Pool_Category;

      //Now you can pass the selected year and category values to the underlaying database later or query.
   }
 }
}


I hope I have not misunerstool your question.


Second thing you can also pass this parameters as querystring, if there is no security concerns.
Response.Redirect("Summary.aspx?year" +ddlYear.SelectedValue + "&category=" + dlCategory.SelectedValue);

GeneralRe: DropDownList selection as QueryInput Pin
Terick10-Feb-09 4:37
Terick10-Feb-09 4:37 
GeneralRe: DropDownList selection as QueryInput Pin
vaghelabhavesh10-Feb-09 5:41
vaghelabhavesh10-Feb-09 5:41 
QuestionQuick Question Pin
MrMcIntyre9-Feb-09 10:40
MrMcIntyre9-Feb-09 10:40 
AnswerRe: Quick Question Pin
DaveyM699-Feb-09 10:48
professionalDaveyM699-Feb-09 10:48 
GeneralRe: Quick Question Pin
MrMcIntyre9-Feb-09 11:12
MrMcIntyre9-Feb-09 11:12 
GeneralRe: Quick Question Pin
DaveyM699-Feb-09 11:20
professionalDaveyM699-Feb-09 11:20 
GeneralRe: Quick Question Pin
MrMcIntyre9-Feb-09 11:50
MrMcIntyre9-Feb-09 11:50 
GeneralRe: Quick Question Pin
Dave Kreskowiak9-Feb-09 12:09
mveDave Kreskowiak9-Feb-09 12:09 
GeneralRe: Quick Question Pin
MrMcIntyre10-Feb-09 6:07
MrMcIntyre10-Feb-09 6:07 
Questioncalculator application Pin
lenboy109-Feb-09 10:24
lenboy109-Feb-09 10:24 
AnswerRe: calculator application Pin
DaveyM699-Feb-09 10:39
professionalDaveyM699-Feb-09 10:39 
GeneralRe: calculator application Pin
lenboy109-Feb-09 10:50
lenboy109-Feb-09 10:50 
GeneralRe: calculator application Pin
DaveyM699-Feb-09 10:58
professionalDaveyM699-Feb-09 10:58 
GeneralRe: calculator application Pin
PIEBALDconsult9-Feb-09 12:32
mvePIEBALDconsult9-Feb-09 12:32 
Questionpreventing being closed from task manager [modified] Pin
erfi9-Feb-09 10:17
erfi9-Feb-09 10:17 
AnswerRe: preventing being closed from task manager Pin
DaveyM699-Feb-09 10:21
professionalDaveyM699-Feb-09 10:21 
GeneralRe: preventing being closed from task manager Pin
erfi9-Feb-09 10:38
erfi9-Feb-09 10:38 

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.