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

C#

 
QuestionStatic Method Variables Pin
tsramkumar7-Oct-05 9:27
tsramkumar7-Oct-05 9:27 
AnswerRe: Static Method Variables Pin
Daniel Grunwald7-Oct-05 9:43
Daniel Grunwald7-Oct-05 9:43 
GeneralRe: Static Method Variables Pin
tsramkumar7-Oct-05 9:44
tsramkumar7-Oct-05 9:44 
AnswerRe: Static Method Variables Pin
S. Senthil Kumar7-Oct-05 20:56
S. Senthil Kumar7-Oct-05 20:56 
GeneralRe: Static Method Variables Pin
tsramkumar8-Oct-05 17:46
tsramkumar8-Oct-05 17:46 
AnswerRe: Static Method Variables Pin
Tom Larsen8-Oct-05 9:19
Tom Larsen8-Oct-05 9:19 
QuestionInternal Rate of Return code (IRR) Pin
zaboboa7-Oct-05 9:07
zaboboa7-Oct-05 9:07 
AnswerRe: Internal Rate of Return code (IRR) Pin
leppie7-Oct-05 11:21
leppie7-Oct-05 11:21 
GeneralRe: Internal Rate of Return code (IRR) Pin
zaboboa11-Oct-05 3:01
zaboboa11-Oct-05 3:01 
QuestionDataGridView + DoubleClick + Close = Exception? Pin
Anonymous7-Oct-05 8:00
Anonymous7-Oct-05 8:00 
AnswerRe: DataGridView + DoubleClick + Close = Exception? Pin
XRaheemX7-Oct-05 8:18
XRaheemX7-Oct-05 8:18 
GeneralRe: DataGridView + DoubleClick + Close = Exception? Pin
Anonymous7-Oct-05 8:19
Anonymous7-Oct-05 8:19 
GeneralRe: DataGridView + DoubleClick + Close = Exception? Pin
XRaheemX7-Oct-05 8:24
XRaheemX7-Oct-05 8:24 
GeneralRe: DataGridView + DoubleClick + Close = Exception? Pin
Anonymous7-Oct-05 9:09
Anonymous7-Oct-05 9:09 
GeneralRe: DataGridView + DoubleClick + Close = Exception? Pin
Anonymous11-Oct-05 5:26
Anonymous11-Oct-05 5:26 
QuestionDialog opening behavior on a dual monitor system Pin
Dan Neely7-Oct-05 7:40
Dan Neely7-Oct-05 7:40 
AnswerRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 7:44
XRaheemX7-Oct-05 7:44 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
Dan Neely7-Oct-05 8:00
Dan Neely7-Oct-05 8:00 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 8:05
XRaheemX7-Oct-05 8:05 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
Dan Neely7-Oct-05 8:44
Dan Neely7-Oct-05 8:44 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 8:45
XRaheemX7-Oct-05 8:45 
GeneralRe: Dialog opening behavior on a dual monitor system Pin
XRaheemX7-Oct-05 8:58
XRaheemX7-Oct-05 8:58 
QuestionDatabound Textbox and TabControl Pin
rich_wenger7-Oct-05 7:35
rich_wenger7-Oct-05 7:35 
I've got a tabcontrol with a number of databound textboxes on a tabpage
(Form1). I've got a button that the user clicks that opens a dialog (Form2)
and does a lookup from a database. The user makes a selection and chooses a
button wired dialog.ok to close the dialog (form2) and populate the fields on the tabcontrol (Form1). It all works except the textboxes don't retain the new data when I tab across to another tab page.

Code To Open Dialog (Form1)=========================

private void btnLmoLookup_Click(object sender, System.EventArgs e)
{
Form2 LmoLookup = new Form2();
LmoLookup.StartPosition = FormStartPosition.CenterParent;
if( LmoLookup.ShowDialog() == DialogResult.OK )
{
txtBoxDocName.Text = LmoLookup.docFullName;
}
LmoLookup.Dispose();
}

Code To Create Public Variable (Form2)======================

public string docFullName
{
get{return
this.dsExtPhysLookup1.Tables["tblExternalPhysicians"].Rows[this.listBox1.SelectedIndex]["docFullName"].ToString();}
}
Questionstring to int in C#? Pin
Lilli Alexis7-Oct-05 7:22
Lilli Alexis7-Oct-05 7:22 
AnswerRe: string to int in C#? Pin
XRaheemX7-Oct-05 7:28
XRaheemX7-Oct-05 7:28 

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.