Click here to Skip to main content
15,922,155 members
Home / Discussions / C#
   

C#

 
AnswerRe: Serialization Pin
BoneSoft24-Jul-07 4:55
BoneSoft24-Jul-07 4:55 
GeneralRe: Serialization Pin
led mike24-Jul-07 5:24
led mike24-Jul-07 5:24 
GeneralRe: Serialization Pin
BoneSoft24-Jul-07 5:29
BoneSoft24-Jul-07 5:29 
Questionbool values and radiobuttons Pin
tthellebuyck24-Jul-07 3:43
tthellebuyck24-Jul-07 3:43 
AnswerRe: bool values and radiobuttons Pin
originSH24-Jul-07 4:05
originSH24-Jul-07 4:05 
QuestionRe: bool values and radiobuttons Pin
tthellebuyck24-Jul-07 4:13
tthellebuyck24-Jul-07 4:13 
QuestionDatagrid basics Pin
imnotso#24-Jul-07 3:22
imnotso#24-Jul-07 3:22 
QuestionTextBox.Clear() won't clear column that it Bind to. Pin
kakarato24-Jul-07 3:09
kakarato24-Jul-07 3:09 
I bind text box below with a string typed datarow where the column i'm going to bind is DateTime. Below id the code:

this.txtDate.DataBindings.Add("Text", m_DataRow, "END_DT", true, DataSourceUpdateMode.OnPropertyChanged, null, "dd/MM/yyyy");

when i click on a chkbox event below fired:
<br />
        private void chkbox_CheckedChanged(object sender, EventArgs e)<br />
        {<br />
            Boolean isChecked = ((CheckBox)sender).Checked;<br />
<br />
            if (!isChecked)<br />
            {<br />
                this.txtDate.Clear()<br />
            }<br />
<br />
            // Line below will clear the text in text box an also clear the m_DataRow.END_DT.<br />
            //if (!isChecked)<br />
            //{<br />
            //    this.txtDate.Clear()<br />
            //    m_DataRow.SetEND_DTNull()<br />
            //}<br />
<br />
<br />
        }<br />


Date that show in the textbox is clear. How ever the date time still exist in m_DataRow.END_DT.
I Thought when i set the txtDate.Clear it should also clear the m_DataRow.END_DT some how it won't work. Please help.
AnswerRe: TextBox.Clear() won't clear column that it Bind to. Pin
Le centriste24-Jul-07 3:38
Le centriste24-Jul-07 3:38 
AnswerRe: TextBox.Clear() won't clear column that it Bind to. Pin
Justin Perez24-Jul-07 3:41
Justin Perez24-Jul-07 3:41 
QuestionC# Directories whilst debugging in visual studio Pin
[d]eljay24-Jul-07 3:09
[d]eljay24-Jul-07 3:09 
AnswerRe: C# Directories whilst debugging in visual studio Pin
Colin Angus Mackay24-Jul-07 3:18
Colin Angus Mackay24-Jul-07 3:18 
GeneralRe: C# Directories whilst debugging in visual studio Pin
[d]eljay24-Jul-07 5:16
[d]eljay24-Jul-07 5:16 
GeneralRe: C# Directories whilst debugging in visual studio Pin
Colin Angus Mackay25-Jul-07 10:31
Colin Angus Mackay25-Jul-07 10:31 
AnswerRe: C# Directories whilst debugging in visual studio Pin
martin_hughes24-Jul-07 3:25
martin_hughes24-Jul-07 3:25 
GeneralRe: C# Directories whilst debugging in visual studio Pin
Colin Angus Mackay24-Jul-07 3:31
Colin Angus Mackay24-Jul-07 3:31 
GeneralRe: C# Directories whilst debugging in visual studio Pin
martin_hughes24-Jul-07 4:09
martin_hughes24-Jul-07 4:09 
GeneralRe: C# Directories whilst debugging in visual studio Pin
Brady Kelly24-Jul-07 5:30
Brady Kelly24-Jul-07 5:30 
GeneralRe: C# Directories whilst debugging in visual studio Pin
[d]eljay24-Jul-07 5:18
[d]eljay24-Jul-07 5:18 
GeneralRe: C# Directories whilst debugging in visual studio Pin
Brady Kelly24-Jul-07 5:24
Brady Kelly24-Jul-07 5:24 
AnswerRe: C# Directories whilst debugging in visual studio Pin
Luc Pattyn24-Jul-07 5:31
sitebuilderLuc Pattyn24-Jul-07 5:31 
GeneralRe: C# Directories whilst debugging in visual studio Pin
[d]eljay24-Jul-07 5:51
[d]eljay24-Jul-07 5:51 
GeneralRe: C# Directories whilst debugging in visual studio Pin
Luc Pattyn24-Jul-07 6:11
sitebuilderLuc Pattyn24-Jul-07 6:11 
GeneralDynamic adding, editing & deleting data from a datagrid Pin
AmitVikramSingh24-Jul-07 2:41
AmitVikramSingh24-Jul-07 2:41 
Questiona detour around an "input-synchronous call" Pin
Gjsonke24-Jul-07 2:15
Gjsonke24-Jul-07 2:15 

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.