Click here to Skip to main content
15,905,776 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to export rdlc report to PDF without using ReportViewer Pin
uspatel3-Nov-11 4:52
professionaluspatel3-Nov-11 4:52 
AnswerRe: How to export rdlc report to PDF without using ReportViewer Pin
purnananda behera7-Nov-11 19:05
purnananda behera7-Nov-11 19:05 
Questionopen excel in specific spredsheet Pin
polycom1233-Nov-11 3:24
polycom1233-Nov-11 3:24 
AnswerRe: open excel in specific spredsheet Pin
Dalek Dave6-Nov-11 6:43
professionalDalek Dave6-Nov-11 6:43 
GeneralRe: open excel in specific spredsheet Pin
polycom1236-Nov-11 20:47
polycom1236-Nov-11 20:47 
Questiondynamic generation of template field in grid view Pin
vidya.ms3-Nov-11 1:49
vidya.ms3-Nov-11 1:49 
QuestionDevelopment Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Palavesam Pattan2-Nov-11 20:43
professionalPalavesam Pattan2-Nov-11 20:43 
AnswerRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Richard MacCutchan2-Nov-11 21:53
mveRichard MacCutchan2-Nov-11 21:53 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Palavesam Pattan2-Nov-11 23:19
professionalPalavesam Pattan2-Nov-11 23:19 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Richard MacCutchan2-Nov-11 23:40
mveRichard MacCutchan2-Nov-11 23:40 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Palavesam Pattan3-Nov-11 0:05
professionalPalavesam Pattan3-Nov-11 0:05 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Richard MacCutchan3-Nov-11 0:23
mveRichard MacCutchan3-Nov-11 0:23 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Palavesam Pattan14-Nov-11 17:59
professionalPalavesam Pattan14-Nov-11 17:59 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Richard MacCutchan14-Nov-11 21:16
mveRichard MacCutchan14-Nov-11 21:16 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Palavesam Pattan15-Nov-11 1:33
professionalPalavesam Pattan15-Nov-11 1:33 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Richard MacCutchan15-Nov-11 4:51
mveRichard MacCutchan15-Nov-11 4:51 
QuestionRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Palavesam Pattan15-Nov-11 17:55
professionalPalavesam Pattan15-Nov-11 17:55 
AnswerRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Richard MacCutchan15-Nov-11 21:38
mveRichard MacCutchan15-Nov-11 21:38 
GeneralRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
Palavesam Pattan15-Nov-11 21:53
professionalPalavesam Pattan15-Nov-11 21:53 
AnswerRe: Development Issue : BC30311: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.TextBox'. Pin
jkirkerx5-Nov-11 17:28
professionaljkirkerx5-Nov-11 17:28 
Questiongridview control Pin
dcof2-Nov-11 8:53
dcof2-Nov-11 8:53 
AnswerRe: gridview control Pin
Anurag Gandhi3-Nov-11 0:30
professionalAnurag Gandhi3-Nov-11 0:30 
QuestionWord Automation Pin
padmanabhan N1-Nov-11 19:56
padmanabhan N1-Nov-11 19:56 
Questionfpassing asp.net field Pin
dcof1-Nov-11 12:36
dcof1-Nov-11 12:36 
I am asking the following question since this is the first few C# asp.net 2010 web form pages I am working with at my company. My problem is I want to pass the value of orgName from the code listed below to a new web page called Next_Page.aspx as a session variable. The problem is by the time I get to the method called 'submit_button', I do not have the value of 'orgName' any longer. Thus can you tell me what I need to do to have the value of 'orgName' obtain from the 'FindOrg' available to the 'submit_button' method? If the value or orgname is within the (object sender, EventArgs e) of the SubmitButton method can you tell me how to access this value?

The code listed below is all from the same web page called first.aspx.cs.


The following is the current code:

[^]protected void FindOrg(object sender, EventArgs e)
{
try
{
String strOrgSql = "";
String orgName = txtOrgName.Text.Trim();

}
catch (Exception ex)
{
//do something

}

}

protected void submit_button(object sender, EventArgs e)
{
try
{

want orgname value here

Session["orgname"] = orgname;
Response.Redirect("~/Next_Page.aspx");

}
catch (Exception ex)
{
// do something

}

}
[^]
AnswerRe: fpassing asp.net field Pin
Not Active1-Nov-11 13:51
mentorNot Active1-Nov-11 13:51 

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.