Help me! Is there in C# a function like SendMessage in VC++? I make a Window form with C#, then put a DataGrid on it, bind it with a DataTable. The 1st column of table has turn AutoIncreatment to true. Then, i make 2 rows, for example, row 0 and row 1. Now, row 2 is marked (null).I put cursor to cell[0, 2], then, press Up (to cell[0, 1]), press Down (back to cell[0, 2]), i found that number in this cell increase by 1(AutoIncreatment = true), i repeatly press (Up, Down), it repeatly increate by 1! I don't want it! Help me to solve this. Thanks alot.
|