Click here to Skip to main content
15,925,181 members
Home / Discussions / C#
   

C#

 
AnswerRe: Count specified character Pin
Nidhi.s29-Nov-06 2:46
Nidhi.s29-Nov-06 2:46 
QuestionRunning program immediately after installation finishes Pin
pkt3028-Nov-06 22:12
pkt3028-Nov-06 22:12 
AnswerRe: Running program immediately after installation finishes Pin
Rohit Pandhi28-Nov-06 23:51
Rohit Pandhi28-Nov-06 23:51 
QuestionHow can we open the database exclusively? Pin
liviucatrina28-Nov-06 21:59
liviucatrina28-Nov-06 21:59 
QuestionProblem with updating a dataset through a textbox Pin
iakob28-Nov-06 21:48
iakob28-Nov-06 21:48 
AnswerRe: Problem with updating a dataset through a textbox Pin
Nader Elshehabi28-Nov-06 23:46
Nader Elshehabi28-Nov-06 23:46 
GeneralRe: Problem with updating a dataset through a textbox Pin
iakob29-Nov-06 2:05
iakob29-Nov-06 2:05 
GeneralRe: Problem with updating a dataset through a textbox Pin
Nader Elshehabi29-Nov-06 4:38
Nader Elshehabi29-Nov-06 4:38 
When you said updated I thought of updating your Database not Dataset. Well, data binding the Textbox -as you did- should be enough. Yet, you -If I get you correctly now- shouldn't bind directly to your DataTable. Instead you should bind to a BindingSource object. This makes things simpler in my belief.

Another thing to check is to handle the events of a binding object to check for the error:
Binding MyBinding = new Binding("Text", MainForm.theDataView, this.theDataRow.Table.TableName + "." + column.ColumnName, true, DataSourceUpdateMode.OnPropertyChanged);
MyBinding.BindingComplete += TestHandlerDelegate; ////For example
((TextBox)dataControl).DataBindings.Add(MyBinding);
this.tableLayoutPanel1.Controls.Add(dataControl, -1, -1);

One more thing I made is the DataSourceUpdateMode.OnPropertyChanged, which could make a performance hit, but just for debugging purposes.

RegardsRose | [Rose]

GeneralRe: Problem with updating a dataset through a textbox Pin
iakob29-Nov-06 23:14
iakob29-Nov-06 23:14 
Questionerror: class not registered Pin
lawscom28-Nov-06 21:39
lawscom28-Nov-06 21:39 
AnswerRe: error: class not registered Pin
Colin Angus Mackay28-Nov-06 22:11
Colin Angus Mackay28-Nov-06 22:11 
QuestionAutocomplete Textbox Pin
PaulaM28-Nov-06 20:37
PaulaM28-Nov-06 20:37 
AnswerRe: Autocomplete Textbox Pin
Nader Elshehabi28-Nov-06 22:43
Nader Elshehabi28-Nov-06 22:43 
QuestionLDAP DisplayName ?? Pin
quiteSmart28-Nov-06 20:09
quiteSmart28-Nov-06 20:09 
GeneralRe: LDAP DisplayName ?? Pin
Eduard Keilholz28-Nov-06 20:28
Eduard Keilholz28-Nov-06 20:28 
GeneralRe: LDAP DisplayName ?? Pin
quiteSmart28-Nov-06 20:42
quiteSmart28-Nov-06 20:42 
JokeRe: LDAP DisplayName ?? Pin
Eduard Keilholz28-Nov-06 20:46
Eduard Keilholz28-Nov-06 20:46 
GeneralRe: LDAP DisplayName ?? Pin
quiteSmart28-Nov-06 20:49
quiteSmart28-Nov-06 20:49 
GeneralRe: LDAP DisplayName ?? Pin
Eduard Keilholz28-Nov-06 20:51
Eduard Keilholz28-Nov-06 20:51 
GeneralRe: LDAP DisplayName ?? Pin
quiteSmart28-Nov-06 21:00
quiteSmart28-Nov-06 21:00 
AnswerRe: LDAP DisplayName ?? Pin
albCode28-Nov-06 20:53
albCode28-Nov-06 20:53 
QuestionCreating evaluation installer Pin
saud_a_k28-Nov-06 19:57
saud_a_k28-Nov-06 19:57 
AnswerRe: Creating evaluation installer Pin
Eduard Keilholz28-Nov-06 20:31
Eduard Keilholz28-Nov-06 20:31 
QuestionRe: Creating evaluation installer Pin
saud_a_k28-Nov-06 20:37
saud_a_k28-Nov-06 20:37 
AnswerRe: Creating evaluation installer Pin
Eduard Keilholz28-Nov-06 20:44
Eduard Keilholz28-Nov-06 20: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.