Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
Questionhow to sent the cursor from one textbox to another textbox by pressing enter key(in vb we may use keypress event) Pin
zelane4-Jan-07 8:15
zelane4-Jan-07 8:15 
AnswerRe: how to sent the cursor from one textbox to another textbox by pressing enter key(in vb we may use keypress event) Pin
Nader Elshehabi4-Jan-07 8:20
Nader Elshehabi4-Jan-07 8:20 
GeneralRe: how to sent the cursor from one textbox to another textbox by pressing enter key(in vb we may use keypress event) Pin
zelane4-Jan-07 8:40
zelane4-Jan-07 8:40 
GeneralRe: how to sent the cursor from one textbox to another textbox by pressing enter key(in vb we may use keypress event) Pin
Nader Elshehabi4-Jan-07 8:44
Nader Elshehabi4-Jan-07 8:44 
GeneralRe: how to sent the cursor from one textbox to another textbox by pressing enter key(in vb we may use keypress event) Pin
gnadeem4-Jan-07 8:52
gnadeem4-Jan-07 8:52 
Questionproblem with progressbar Pin
suck1234-Jan-07 8:07
suck1234-Jan-07 8:07 
AnswerRe: problem with progressbar Pin
Nader Elshehabi4-Jan-07 8:18
Nader Elshehabi4-Jan-07 8:18 
QuestionADO.NET help, editing data in a database Pin
Blekk4-Jan-07 7:59
Blekk4-Jan-07 7:59 
Hi,

I didn't know where I should post this, but because it is in C# I thought this would be the best place, even though it is ADO.NET stuff.

Anyway, I have a question, I have created a datasource to the northwind database and created a simple windows form. With the first name, last name textboxes etc. and to select the employees I use the listbox with the employees last names in it. I have added an the TextBox_Validate Event to each textbox with the code:

 private void TextBox_Validated(object sender, EventArgs e)<br />
        {<br />
            employeesTableAdapter.Update(northwndDataSet1.Employees);<br />
<br />
            employeesTableAdapter.Fill(northwndDataSet1.Employees);<br />
        }


Yet, when I change a name, and then tab or click somewhere else, it doesn't update the database with the new name.

What am I doing wrong?

Thanks,

Any reply is appreciated
AnswerRe: ADO.NET help, editing data in a database Pin
Nader Elshehabi4-Jan-07 8:25
Nader Elshehabi4-Jan-07 8:25 
AnswerRe: ADO.NET help, editing data in a database Pin
led mike4-Jan-07 8:26
led mike4-Jan-07 8:26 
QuestionMagnify function Pin
Gywox4-Jan-07 7:26
Gywox4-Jan-07 7:26 
AnswerRe: Magnify function Pin
Nader Elshehabi4-Jan-07 7:50
Nader Elshehabi4-Jan-07 7:50 
QuestionStarting WMP Control from System.IO.Stream Pin
EddieRich4-Jan-07 7:15
EddieRich4-Jan-07 7:15 
AnswerRe: Starting WMP Control from System.IO.Stream Pin
Judah Gabriel Himango4-Jan-07 7:34
sponsorJudah Gabriel Himango4-Jan-07 7:34 
QuestionUnwanted changes to designer file Pin
ndoran4-Jan-07 6:22
ndoran4-Jan-07 6:22 
AnswerRe: Unwanted changes to designer file Pin
ednrgc4-Jan-07 8:37
ednrgc4-Jan-07 8:37 
GeneralRe: Unwanted changes to designer file Pin
ndoran4-Jan-07 9:54
ndoran4-Jan-07 9:54 
Questionneed to change keyed space to enter programatically Pin
pippyn4-Jan-07 5:56
pippyn4-Jan-07 5:56 
QuestionHow can I avoid a for-loop and speed up my code Pin
ComCoderCsharp4-Jan-07 5:39
ComCoderCsharp4-Jan-07 5:39 
AnswerRe: How can I avoid a for-loop and speed up my code Pin
Ravi Bhavnani4-Jan-07 5:48
professionalRavi Bhavnani4-Jan-07 5:48 
AnswerRe: How can I avoid a for-loop and speed up my code Pin
Dan Neely4-Jan-07 5:59
Dan Neely4-Jan-07 5:59 
GeneralRe: How can I avoid a for-loop and speed up my code Pin
Judah Gabriel Himango4-Jan-07 6:27
sponsorJudah Gabriel Himango4-Jan-07 6:27 
GeneralRe: How can I avoid a for-loop and speed up my code Pin
Dan Neely4-Jan-07 6:51
Dan Neely4-Jan-07 6:51 
GeneralRe: How can I avoid a for-loop and speed up my code Pin
Judah Gabriel Himango4-Jan-07 7:11
sponsorJudah Gabriel Himango4-Jan-07 7:11 
GeneralRe: How can I avoid a for-loop and speed up my code Pin
Dan Neely4-Jan-07 8:01
Dan Neely4-Jan-07 8:01 

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.