Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
AnswerRe: Error Messages? Pin
Guffa30-Jun-06 5:25
Guffa30-Jun-06 5:25 
GeneralDon't see any error messages!!! [modified] Pin
Naji.A30-Jun-06 11:44
Naji.A30-Jun-06 11:44 
GeneralRe: Don't see any error messages!!! Pin
Guffa1-Jul-06 4:47
Guffa1-Jul-06 4:47 
GeneralNot Sure! Pin
Naji.A2-Jul-06 11:15
Naji.A2-Jul-06 11:15 
GeneralRe: Not Sure! Pin
Guffa3-Jul-06 0:34
Guffa3-Jul-06 0:34 
GeneralPage Structure Pin
Naji.A3-Jul-06 12:26
Naji.A3-Jul-06 12:26 
AnswerRe: Page Structure Pin
Guffa3-Jul-06 18:58
Guffa3-Jul-06 18:58 
GeneralFigured it Out [modified] Pin
Naji.A4-Jul-06 8:51
Naji.A4-Jul-06 8:51 
QuestionGet return value from one class to another Pin
Saamir28-Jun-06 11:04
Saamir28-Jun-06 11:04 
AnswerRe: Get return value from one class to another Pin
led mike28-Jun-06 11:22
led mike28-Jun-06 11:22 
AnswerRe: Get return value from one class to another Pin
Martin#28-Jun-06 11:26
Martin#28-Jun-06 11:26 
QuestionRe: Get return value from one class to another Pin
Saamir28-Jun-06 11:54
Saamir28-Jun-06 11:54 
AnswerRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 12:09
Alexander Wiseman28-Jun-06 12:09 
QuestionRe: Get return value from one class to another Pin
Saamir28-Jun-06 12:20
Saamir28-Jun-06 12:20 
QuestionRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 12:28
Alexander Wiseman28-Jun-06 12:28 
QuestionRe: Get return value from one class to another Pin
Saamir28-Jun-06 16:20
Saamir28-Jun-06 16:20 
AnswerRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 16:30
Alexander Wiseman28-Jun-06 16:30 
Well your code looks fine, so the only thing I can think of is that LoadReport is being called before you set the session ID - that is, it is being called from the constructor of form 2. If you are calling LoadReport from the constructor of form 2, then SessionId will not have the proper value in it, because you are setting its value only after the constructor is finished.

So the main question is: when are you calling <ocde>LoadReport in Form2?

If you are calling it in the constructor of Form2, then I recommend instead that you make an event handler for the Form.Load event and in that, call the function LoadReport.

Let me know if that gets you anywhere.

Sincerely,
Alexander Wiseman
QuestionRe: Get return value from one class to another [modified] Pin
Saamir28-Jun-06 16:32
Saamir28-Jun-06 16:32 
JokeRe: Get return value from one class to another Pin
Saamir28-Jun-06 16:40
Saamir28-Jun-06 16:40 
GeneralRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 16:48
Alexander Wiseman28-Jun-06 16:48 
AnswerRe: Get return value from one class to another Pin
Mike Poz28-Jun-06 12:12
Mike Poz28-Jun-06 12:12 
AnswerRe: Get return value from one class to another Pin
Rojan Gh.28-Jun-06 14:45
professionalRojan Gh.28-Jun-06 14:45 
Questionload a whole database into a DataSet Pin
hamidreza_buddy28-Jun-06 10:56
hamidreza_buddy28-Jun-06 10:56 
AnswerRe: load a whole database into a DataSet Pin
stancrm28-Jun-06 20:26
stancrm28-Jun-06 20:26 
QuestionXMLSerialize and Microsoft Controls Pin
3Dizard28-Jun-06 10:14
3Dizard28-Jun-06 10:14 

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.