Click here to Skip to main content
15,914,163 members
Home / Discussions / C#
   

C#

 
QuestionRe: Count specified character Pin
Martin#28-Nov-06 23:50
Martin#28-Nov-06 23:50 
AnswerRe: Count specified character Pin
Guffa29-Nov-06 0:36
Guffa29-Nov-06 0:36 
GeneralRe: Count specified character Pin
Martin#29-Nov-06 0:49
Martin#29-Nov-06 0:49 
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 
I have a usercontrol which contains a tablelayoutpanel. The tablelayout panel contains a number of textboxes and comboboxes (showing data from a single row in a table) *and* a number of dataviewgrids (showing childrelation rows). I also have an event handler on my datatables handling the rowchange-event which saves any change in any row to the database.

All my controls shows the right data from the dataset, but only changes in my dataviewgrids gets saved. The rowchange-event handler does not get called when I change data in my textboxes and comboboxes.

I do this for binding:
((TextBox)dataControl).DataBindings.Add("Text", MainForm.theDataView, this.theDataRow.Table.TableName + "." + column.ColumnName);<br />
            this.tableLayoutPanel1.Controls.Add(dataControl, -1, -1);

(the actual code is a bit more complex as I create the controls on the run based on the columns in the table. My GUI is able to show data from different tables)

What I do not get is why the data get shown through the databinding in the textbox, then why does it not get updated? Please help!!!
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 
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 

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.