Click here to Skip to main content
15,904,024 members
Home / Discussions / C#
   

C#

 
AnswerRe: Data Mining using C# Pin
XRaheemX10-Oct-05 4:51
XRaheemX10-Oct-05 4:51 
GeneralRe: Data Mining using C# Pin
David Stone10-Oct-05 7:48
sitebuilderDavid Stone10-Oct-05 7:48 
GeneralRe: Data Mining using C# Pin
XRaheemX10-Oct-05 8:54
XRaheemX10-Oct-05 8:54 
GeneralRe: Data Mining using C# Pin
David Stone10-Oct-05 10:05
sitebuilderDavid Stone10-Oct-05 10:05 
GeneralRe: Data Mining using C# Pin
XRaheemX10-Oct-05 10:46
XRaheemX10-Oct-05 10:46 
GeneralRe: Data Mining using C# Pin
David Stone10-Oct-05 10:57
sitebuilderDavid Stone10-Oct-05 10:57 
GeneralRe: Data Mining using C# Pin
XRaheemX10-Oct-05 11:39
XRaheemX10-Oct-05 11:39 
QuestionRe: Data Mining using C# Pin
alvinjv10-Oct-05 23:06
alvinjv10-Oct-05 23:06 
AnswerRe: Data Mining using C# Pin
XRaheemX11-Oct-05 3:09
XRaheemX11-Oct-05 3:09 
QuestionDynamic Image Location in Crystal Report XI Pin
dhol10-Oct-05 2:48
dhol10-Oct-05 2:48 
QuestionDrawing line in c# Pin
newtocsharp10-Oct-05 1:20
newtocsharp10-Oct-05 1:20 
AnswerRe: Drawing line in c# Pin
Christian Graus10-Oct-05 2:09
protectorChristian Graus10-Oct-05 2:09 
AnswerRe: Drawing line in c# Pin
AB777110-Oct-05 22:35
AB777110-Oct-05 22:35 
Questiondiplaying data in datagrid without child table Pin
Rizwan Bashir10-Oct-05 0:56
Rizwan Bashir10-Oct-05 0:56 
AnswerRe: diplaying data in datagrid without child table Pin
Gavin Jeffrey10-Oct-05 1:33
Gavin Jeffrey10-Oct-05 1:33 
GeneralRe: diplaying data in datagrid without child table Pin
Rizwan Bashir10-Oct-05 3:04
Rizwan Bashir10-Oct-05 3:04 
GeneralRe: diplaying data in datagrid without child table Pin
Gavin Jeffrey10-Oct-05 3:57
Gavin Jeffrey10-Oct-05 3:57 
Questionplease help using references in c# Pin
arusmemon9-Oct-05 22:20
arusmemon9-Oct-05 22:20 
AnswerRe: please help using references in c# Pin
Maqsood Ahmed10-Oct-05 0:04
Maqsood Ahmed10-Oct-05 0:04 
Questionstring conversion Pin
Brendan Vogt9-Oct-05 21:55
Brendan Vogt9-Oct-05 21:55 
AnswerRe: string conversion Pin
Maqsood Ahmed10-Oct-05 0:11
Maqsood Ahmed10-Oct-05 0:11 
AnswerRe: string conversion Pin
S. Senthil Kumar10-Oct-05 2:05
S. Senthil Kumar10-Oct-05 2:05 
You can "bind" the variable to the textbox. Use something like
class MainForm : Form
{
   string strName;
   TextBox txtName;

   public MainForm()
   {
       InitializeComponent();
       txtName.DataBindings.Add("Text", this, "strName");
   }
}


This way, when the dialog closes with DialogResult.OK, whatever is in txtName.Text will be available in strName. When the dialog loads, it's the other way around, whatever is in strName gets set as txtName.Text.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: string conversion Pin
Brendan Vogt10-Oct-05 2:39
Brendan Vogt10-Oct-05 2:39 
GeneralRe: string conversion Pin
S. Senthil Kumar10-Oct-05 3:03
S. Senthil Kumar10-Oct-05 3:03 
QuestionRe: string conversion Pin
Brendan Vogt11-Oct-05 0:44
Brendan Vogt11-Oct-05 0:44 

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.