Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: Beginner C# developer question Pin
SFORavi29-Sep-11 10:08
SFORavi29-Sep-11 10:08 
GeneralMessage Removed Pin
29-Sep-11 10:14
professionalN_tro_P29-Sep-11 10:14 
GeneralRe: Beginner C# developer question Pin
SFORavi29-Sep-11 11:42
SFORavi29-Sep-11 11:42 
AnswerRe: Beginner C# developer question Pin
Perić Željko6-Oct-11 9:06
professionalPerić Željko6-Oct-11 9:06 
QuestionHow to set IPv6 address to the adapter using C# Pin
Member 760066229-Sep-11 7:20
Member 760066229-Sep-11 7:20 
QuestionLinq to Sql Pin
siva45529-Sep-11 4:01
siva45529-Sep-11 4:01 
AnswerRe: Linq to Sql Pin
Rob Philpott29-Sep-11 6:33
Rob Philpott29-Sep-11 6:33 
GeneralRe: Linq to Sql Pin
siva45529-Sep-11 16:13
siva45529-Sep-11 16:13 
AnswerRe: Linq to Sql Pin
killabyte29-Sep-11 17:30
killabyte29-Sep-11 17:30 
GeneralRe: Linq to Sql Pin
siva45529-Sep-11 17:55
siva45529-Sep-11 17:55 
GeneralRe: Linq to Sql Pin
killabyte29-Sep-11 20:08
killabyte29-Sep-11 20:08 
GeneralRe: Linq to Sql Pin
siva45530-Sep-11 18:42
siva45530-Sep-11 18:42 
QuestionI don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
fiaolle28-Sep-11 21:15
fiaolle28-Sep-11 21:15 
AnswerRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
Richard MacCutchan28-Sep-11 22:39
mveRichard MacCutchan28-Sep-11 22:39 
GeneralRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
fiaolle28-Sep-11 23:57
fiaolle28-Sep-11 23:57 
GeneralRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
Richard MacCutchan29-Sep-11 0:14
mveRichard MacCutchan29-Sep-11 0:14 
GeneralRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
fiaolle29-Sep-11 10:09
fiaolle29-Sep-11 10:09 
GeneralRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
Richard MacCutchan29-Sep-11 21:36
mveRichard MacCutchan29-Sep-11 21:36 
AnswerRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
BillWoodruff1-Oct-11 18:45
professionalBillWoodruff1-Oct-11 18:45 
QuestionListBox Binding Pin
Samir.Sh28-Sep-11 21:03
Samir.Sh28-Sep-11 21:03 
AnswerRe: ListBox Binding Pin
Dalek Dave28-Sep-11 21:46
professionalDalek Dave28-Sep-11 21:46 
AnswerRe: ListBox Binding Pin
BobJanova28-Sep-11 22:24
BobJanova28-Sep-11 22:24 
Questioncalling all datagridview experts Pin
Tom Paronis28-Sep-11 8:47
Tom Paronis28-Sep-11 8:47 
AnswerRe: calling all datagridview experts Pin
Eddy Vluggen28-Sep-11 9:40
professionalEddy Vluggen28-Sep-11 9:40 
Tom Paronis wrote:
dataGridView1.CurrentCell = dataGridView1[e.RowIndex, e.ColumnIndex]; and it doesn't seem to work. I've found (and tried) more cumbersome ways to do it but I always prefer the simple approach. Could it have something to do with the fact that I call the function from the OnCellValidated method after I've tabbed out of the cell with bad data?

That's very likely; can you post the content of the event here, in PRE tags, and tell us what you're trying to achieve?

You shouldn't be doing any validation in there; that should be done in the OnCellValidating event. That provides a way to "cancel" the action (see it's eventargs) and have the user not move to the next cell. To which cell do you want the user to go when he's trying to tab out of a non-valid entry?
Bastard Programmer from Hell Suspicious | :suss:

GeneralRe: calling all datagridview experts Pin
Tom Paronis28-Sep-11 11:07
Tom Paronis28-Sep-11 11:07 

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.