Mr.B 0 Newbie Poster

Allo all,

I'm using a DataSet to collect a random comparison from a database, and then passing those values to Public Variables, then constructing two Insert Statements (which shows on screen, and is valid).

With the two Insert Statements, I'm using two buttons (in an ASP.NET Page) that Call a Private Sub to insert the specified buttons sql string.

It seems my data is falling out of sync somehow, and I can't pinpoint.

I've set the buttons UseSubmitBehavior to False

Again, I'm filling a DataSet, and setting Public Variables based on that Random data that i am collecting. My Form Page shows the correct strings, but they seem to be inserting the wrong values occasionally, when I switch back and forth.

Consecutive clicks on the same button will insert the correct string.

Is there any way to prevent the page from re-loading? I feel that may have something to do with it, amongst other things.