Hi,
I am experiencing an irritating issue which I am unable to figure out.
I am binding a datatable to a textbox and I would like that there is no text in the text box at load but there is always the value of the first record in the textbox.
This is my code:
How do I get rid of the text in this textbox after binding?
Thanks.
I am experiencing an irritating issue which I am unable to figure out.
I am binding a datatable to a textbox and I would like that there is no text in the text box at load but there is always the value of the first record in the textbox.
This is my code:
Code:
TXT_Register_LinkedDV.DataBindings.Clear()
TXT_Register_LinkedDV.DataBindings.Add("Text", Shared_DVTable, "DEVIATION_NUMBER")
TXT_Register_LinkedDV.AutoCompleteMode = AutoCompleteMode.SuggestAppend
TXT_Register_LinkedDV.AutoCompleteSource = AutoCompleteSource.CustomSource
TXT_Register_LinkedDV.Text = Nothing' here I hoped that I could clean the box
Thanks.