Click here to Skip to main content
15,909,193 members
Home / Discussions / C#
   

C#

 
GeneralRe: Grid problem Pin
Huseyin Altindag4-Nov-04 1:28
Huseyin Altindag4-Nov-04 1:28 
Generaldatagrid problem Pin
babeng3-Nov-04 0:14
babeng3-Nov-04 0:14 
GeneralMDI headscratcher Pin
m0nkeybot2-Nov-04 23:35
m0nkeybot2-Nov-04 23:35 
GeneralDate Time Picker Control Pin
manoj_kr742-Nov-04 23:31
manoj_kr742-Nov-04 23:31 
GeneralRe: Date Time Picker Control Pin
Alex Korchemniy3-Nov-04 7:50
Alex Korchemniy3-Nov-04 7:50 
Generalclass problem!! Pin
xiaowenjie2-Nov-04 21:56
xiaowenjie2-Nov-04 21:56 
GeneralRe: class problem!! Pin
Stefan Troschuetz2-Nov-04 22:33
Stefan Troschuetz2-Nov-04 22:33 
GeneralRe: class problem!! Pin
Ketty Avashia3-Nov-04 8:16
Ketty Avashia3-Nov-04 8:16 
First check that u have called ur testing function at some point in ur Form1.

Second I tried ur code and it works for me as far as reading ccF.d is concerned.

So i guess there is come problem in the way ur accessing it.

My working code of Form 1 is as under
public class Form1 : System.Windows.Forms.Form
{
public string d = "HI";
private void Form1_Load(object sender, System.EventArgs e)
{
testing();
}
private void testing()
{
dbConnection dbcon = new dbConnection();
MessageBox.Show(dbcon.Connection());
}
}

public class dbConnection
{
public string SQl;
public string Connection()
{
Form1 ccF = new Form1();
return SQl = ccF.d;
}
}

Ketty
GeneralDistibute My Exe Pin
amalatsliit2-Nov-04 19:21
amalatsliit2-Nov-04 19:21 
GeneralRe: Distibute My Exe Pin
Alex Korchemniy3-Nov-04 7:42
Alex Korchemniy3-Nov-04 7:42 
GeneralAdo.net Client Application may not trap SQL Server Error Messages When a Stored Procedure is Used in the SqlDataAdapter Pin
Sanjay Rastogi2-Nov-04 19:04
Sanjay Rastogi2-Nov-04 19:04 
GeneralRe: Ado.net Client Application may not trap SQL Server Error Messages When a Stored Procedure is Used in the SqlDataAdapter Pin
Dave Kreskowiak3-Nov-04 3:43
mveDave Kreskowiak3-Nov-04 3:43 
GeneralProgrammatically Adding Items Pin
eDip2-Nov-04 18:45
eDip2-Nov-04 18:45 
GeneralRe: Programmatically Adding Items Pin
Ketty Avashia3-Nov-04 8:21
Ketty Avashia3-Nov-04 8:21 
GeneralUrgent: How to pass C# variable to HTML code Pin
Jug-Head2-Nov-04 12:39
Jug-Head2-Nov-04 12:39 
GeneralRe: Urgent: How to pass C# variable to HTML code Pin
Colin Angus Mackay2-Nov-04 23:37
Colin Angus Mackay2-Nov-04 23:37 
GeneralRe: Urgent: How to pass C# variable to HTML code Pin
Stefan Troschuetz3-Nov-04 0:09
Stefan Troschuetz3-Nov-04 0:09 
GeneralQuestion about music Pin
tom_dx2-Nov-04 11:55
tom_dx2-Nov-04 11:55 
GeneralRe: Question about music Pin
Dave Kreskowiak3-Nov-04 3:39
mveDave Kreskowiak3-Nov-04 3:39 
GeneralRe: Question about music Pin
tom_dx3-Nov-04 12:17
tom_dx3-Nov-04 12:17 
GeneralNetwork synchronization of serialized files Pin
jeweladdict2-Nov-04 11:38
jeweladdict2-Nov-04 11:38 
GeneralHelp simple string passing :( Pin
BambooMoon2-Nov-04 10:18
BambooMoon2-Nov-04 10:18 
GeneralRe: Help simple string passing :( Pin
tom_dx2-Nov-04 11:57
tom_dx2-Nov-04 11:57 
GeneralRe: Help simple string passing :( Pin
BambooMoon2-Nov-04 12:16
BambooMoon2-Nov-04 12:16 
GeneralRe: Help simple string passing :( Pin
tom_dx2-Nov-04 12:20
tom_dx2-Nov-04 12:20 

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.