Click here to Skip to main content
15,901,666 members
Home / Discussions / C#
   

C#

 
AnswerRe: Database connectivity at runtime Pin
dan!sh 17-May-09 19:32
professional dan!sh 17-May-09 19:32 
QuestionGetting Error message in debuging Pin
deadlyabbas17-May-09 19:02
deadlyabbas17-May-09 19:02 
AnswerRe: Getting Error message in debuging Pin
S. Senthil Kumar18-May-09 9:40
S. Senthil Kumar18-May-09 9:40 
QuestionGet value from listbox items Pin
zeeShan anSari17-May-09 18:31
zeeShan anSari17-May-09 18:31 
AnswerRe: Get value from listbox items Pin
Ravi Bhavnani17-May-09 18:46
professionalRavi Bhavnani17-May-09 18:46 
AnswerRe: Get value from listbox items Pin
dug_r17-May-09 19:07
dug_r17-May-09 19:07 
AnswerRe: Get value from listbox items Pin
Jabbar_espania18-May-09 23:38
Jabbar_espania18-May-09 23:38 
QuestionAccess controls from different class Pin
soulidentities17-May-09 18:27
soulidentities17-May-09 18:27 
Hi all.
I can not use my controls from another class file.
The scenario is:
I have 1 form "Form1" in which there have many controls like combobox, textbox, listbox.
I have added a class file "Class1.cs" where I have using all "System.windows" namespaces and "System.Data.SQLClient" also.
But in the class file when I want to access or manipulate the controls of that form, the controls shows the error
"The name does not exist in the current context".
where I have changed all modifier property of those controls "Public". Where is the problem?
If it i impossible then how can I solve it?
what else should I do?
please help me
Thanks in advance

modified on Monday, May 18, 2009 12:59 AM

AnswerRe: Access controls from different class Pin
Ravi Bhavnani17-May-09 18:47
professionalRavi Bhavnani17-May-09 18:47 
GeneralRe: Access controls from different class Pin
soulidentities17-May-09 20:16
soulidentities17-May-09 20:16 
GeneralRe: Access controls from different class Pin
Ravi Bhavnani17-May-09 20:35
professionalRavi Bhavnani17-May-09 20:35 
GeneralRe: Access controls from different class Pin
soulidentities17-May-09 21:13
soulidentities17-May-09 21:13 
GeneralRe: Access controls from different class Pin
Ravi Bhavnani17-May-09 21:18
professionalRavi Bhavnani17-May-09 21:18 
GeneralRe: Access controls from different class Pin
soulidentities17-May-09 21:30
soulidentities17-May-09 21:30 
AnswerRe: Access controls from different class Pin
DaveyM6917-May-09 22:52
professionalDaveyM6917-May-09 22:52 
GeneralRe: Access controls from different class Pin
soulidentities18-May-09 0:01
soulidentities18-May-09 0:01 
GeneralRe: Access controls from different class Pin
DaveyM6918-May-09 1:19
professionalDaveyM6918-May-09 1:19 
GeneralRe: Access controls from different class Pin
soulidentities18-May-09 5:43
soulidentities18-May-09 5:43 
GeneralRe: Access controls from different class Pin
DaveyM6918-May-09 6:30
professionalDaveyM6918-May-09 6:30 
Question.NET Framework Version Pin
Blue36517-May-09 15:06
Blue36517-May-09 15:06 
AnswerRe: .NET Framework Version Pin
PIEBALDconsult17-May-09 16:14
mvePIEBALDconsult17-May-09 16:14 
GeneralRe: .NET Framework Version Pin
adatapost17-May-09 17:20
adatapost17-May-09 17:20 
GeneralRe: .NET Framework Version Pin
PIEBALDconsult17-May-09 18:00
mvePIEBALDconsult17-May-09 18:00 
AnswerRe: .NET Framework Version Pin
adatapost17-May-09 20:59
adatapost17-May-09 20:59 
AnswerRe: .NET Framework Version Pin
DaveyM6917-May-09 22:58
professionalDaveyM6917-May-09 22:58 

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.