M
Monty
Hi there, I have a simple medical database with patient records. I use:
TotalRecords.Text = DetailsViewMain.DataItemCount & " records" to reflect
the number of patients in the db.
I then filter the records per person and update the count with the same
code. My problem is that the actual number of records is always off by one
update. That is to say that initially it reads correctly say 25 records.
Then I filter for person1 which has 3 records. The TotalRecords will read
25 the first time, then I filter for person2, which should read 4 but it
reads 3. Very strange! Any help with this?
Is there a way to cause an update/postback whatever to get the correct
number consistantly?
Thank you, Mark
TotalRecords.Text = DetailsViewMain.DataItemCount & " records" to reflect
the number of patients in the db.
I then filter the records per person and update the count with the same
code. My problem is that the actual number of records is always off by one
update. That is to say that initially it reads correctly say 25 records.
Then I filter for person1 which has 3 records. The TotalRecords will read
25 the first time, then I filter for person2, which should read 4 but it
reads 3. Very strange! Any help with this?
Is there a way to cause an update/postback whatever to get the correct
number consistantly?
Thank you, Mark