Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 1:37
Henry Minute10-May-09 1:37 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 1:47
michaelgr110-May-09 1:47 
GeneralRe: New form variables passing Pin
Colin Angus Mackay10-May-09 3:22
Colin Angus Mackay10-May-09 3:22 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 3:52
michaelgr110-May-09 3:52 
GeneralRe: New form variables passing Pin
N a v a n e e t h10-May-09 4:34
N a v a n e e t h10-May-09 4:34 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 5:09
Henry Minute10-May-09 5:09 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 6:47
michaelgr110-May-09 6:47 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 6:58
Henry Minute10-May-09 6:58 
OK.

I had assumed that you were using 2008, my bad. Blush | :O

Change
public string QueryString
{
    get; set;
}


to
private string queryString;
public string QueryString
{
    get
    {
        return this.queryString;
    }

    set
    {
        this.queryString = value;
    }
}


Then inside your form2 you can use the private queryString, and from outside form2 use the public QueryString.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: New form variables passing Pin
michaelgr110-May-09 7:04
michaelgr110-May-09 7:04 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 7:23
Henry Minute10-May-09 7:23 
Questionhow to update the datas present in textbox to gridview control (gui) ,SQL2005 Pin
Mads11510-May-09 0:42
Mads11510-May-09 0:42 
AnswerRe: how to update the datas present in textbox to gridview control (gui) ,SQL2005 Pin
Noctris10-May-09 12:06
Noctris10-May-09 12:06 
QuestionProblem in Printing a persian(or arabic) document Pin
Roshanakak9-May-09 19:18
Roshanakak9-May-09 19:18 
AnswerRe: Problem in Printing a persian(or arabic) document Pin
Ramin Barati19-May-09 8:50
Ramin Barati19-May-09 8:50 
QuestionPreferred way of bytes to kbytes conversion? Pin
harold aptroot9-May-09 12:22
harold aptroot9-May-09 12:22 
AnswerRe: Preferred way of bytes to kbytes conversion? Pin
Christian Graus9-May-09 12:28
protectorChristian Graus9-May-09 12:28 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
harold aptroot9-May-09 12:32
harold aptroot9-May-09 12:32 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
Christian Graus9-May-09 12:38
protectorChristian Graus9-May-09 12:38 
AnswerRe: Preferred way of bytes to kbytes conversion? Pin
Luc Pattyn9-May-09 12:37
sitebuilderLuc Pattyn9-May-09 12:37 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
harold aptroot9-May-09 12:41
harold aptroot9-May-09 12:41 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
Luc Pattyn9-May-09 12:59
sitebuilderLuc Pattyn9-May-09 12:59 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
harold aptroot9-May-09 13:06
harold aptroot9-May-09 13:06 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
Luc Pattyn9-May-09 13:09
sitebuilderLuc Pattyn9-May-09 13:09 
GeneralEnabling Secondry Monitor using C# Pin
jonesyx9-May-09 9:24
jonesyx9-May-09 9:24 
GeneralRe: Enabling Secondry Monitor using C# Pin
Luc Pattyn9-May-09 12:29
sitebuilderLuc Pattyn9-May-09 12:29 

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.