Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
Generalprint queue Pin
jartometienen1-Nov-04 23:19
jartometienen1-Nov-04 23:19 
GeneralRe: Error:Unable to loas DLL (Setupapi.lib) Pin
momer1-Nov-04 23:05
momer1-Nov-04 23:05 
GeneralAdding XP Visual Styles to UserControl Pin
Jay Shankar1-Nov-04 22:41
Jay Shankar1-Nov-04 22:41 
GeneralRe: Adding XP Visual Styles to UserControl Pin
Judah Gabriel Himango2-Nov-04 4:35
sponsorJudah Gabriel Himango2-Nov-04 4:35 
GeneralRe: Adding XP Visual Styles to UserControl Pin
Jay Shankar3-Nov-04 19:01
Jay Shankar3-Nov-04 19:01 
GeneralRe: Adding XP Visual Styles to UserControl Pin
Judah Gabriel Himango4-Nov-04 4:47
sponsorJudah Gabriel Himango4-Nov-04 4:47 
GeneralBarcode standards Pin
SherKar1-Nov-04 21:46
SherKar1-Nov-04 21:46 
GeneralRe: Barcode standards Pin
Michael P Butler1-Nov-04 23:42
Michael P Butler1-Nov-04 23:42 
GeneralError:Unable to loas DLL (Setupapi.lib) Pin
momer1-Nov-04 20:20
momer1-Nov-04 20:20 
GeneralRe: Error:Unable to loas DLL (Setupapi.lib) Pin
Corinna John1-Nov-04 21:02
Corinna John1-Nov-04 21:02 
GeneralEnd task problem Pin
Anonymous1-Nov-04 19:33
Anonymous1-Nov-04 19:33 
GeneralRe: End task problem Pin
Luis Alonso Ramos1-Nov-04 19:44
Luis Alonso Ramos1-Nov-04 19:44 
GeneralRe: End task problem Pin
Anonymous1-Nov-04 21:17
Anonymous1-Nov-04 21:17 
GeneralRe: End task problem Pin
Stefan Troschuetz1-Nov-04 22:42
Stefan Troschuetz1-Nov-04 22:42 
GeneralRe: End task problem Pin
exhaulted1-Nov-04 23:09
exhaulted1-Nov-04 23:09 
GeneralRe: End task problem Pin
Dave Kreskowiak2-Nov-04 0:58
mveDave Kreskowiak2-Nov-04 0:58 
GeneralCrystal web reports Pin
totig1-Nov-04 19:32
totig1-Nov-04 19:32 
Generalproxy implementation in chat client Pin
Kamran Zafar1-Nov-04 19:06
Kamran Zafar1-Nov-04 19:06 
GeneralRe: proxy implementation in chat client Pin
leppie2-Nov-04 0:08
leppie2-Nov-04 0:08 
Questionhow to use the same variable in c#, in HTML Pin
Jug-Head1-Nov-04 18:40
Jug-Head1-Nov-04 18:40 
QuestionWhat is the difference between the sorting methods of ArrayList Class? Pin
ting6681-Nov-04 17:17
ting6681-Nov-04 17:17 
AnswerRe: What is the difference between the sorting methods of ArrayList Class? Pin
Salil Khedkar1-Nov-04 18:52
Salil Khedkar1-Nov-04 18:52 
GeneralDataGrid Pin
Luis Alonso Ramos1-Nov-04 12:35
Luis Alonso Ramos1-Nov-04 12:35 
GeneralRe: DataGrid Pin
Heath Stewart1-Nov-04 14:09
protectorHeath Stewart1-Nov-04 14:09 
GeneralRe: DataGrid Pin
Luis Alonso Ramos1-Nov-04 14:43
Luis Alonso Ramos1-Nov-04 14:43 
Heath Stewart wrote:
I take it you're updating your containing DataSet using a DataAdapter derivative?

No. I'm enumerating the rows in the DataTable and updating the database manually because the data presented to the user is not exactly the same as in the database (not a perfect design, I know, but no time to change it now.)

When a sale is registered, all the controls are set to disabled state, and the DataGrid to read only, which allows the cashier to review the sale, and either cancel it or start a new one.

I have a button labeled Clear Sale that when clicked should clear the table (and the other controls, as well as enabling them) Setting a breakpoint at the very first line of the handler for that button's Click event is worthless, since the exception is thrown before, as the DataGrid is losing focus (clicking on another control proves this.)

After I click Continue on the exception dialog, nothing happens. And when I click that Clear Sale button again, everything works as expected.

The only difference I can see between the first and second clicks on the Clear Sale button is that the empty row (for add new record) isn't displayed the second time.

First time (before the exception):

http://www.luisalonsoramos.com/ww1.jpg[^]

Second time (after the exception):

http://www.luisalonsoramos.com/ww2.jpg[^]

What do you think?

Thanks in advance!!

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!

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.