dropdownlist size limit?

G

Guest

Hi

I'm using a DataReader to pull items into a DropDownList from an SQL
database. Everything works fine, but my client has started to nice that newly
added database entries aren't appearing in the DDL.

I've tested locally with exactly the same new record and it shows up fine in
the DDL, so I'm wondering if perhaps the DataReader or DropDownList has some
sort of maximum record/listcount limit?

The client db has about 400 entries going into the DDL. Is this something
like a limit, or is there something else it might be?!

Cheers



Dan
 
M

Marina

No, there is not a limit.

Andi f there was, you would of course be able to reproduce it locally. Since
it all works fine in your testing environment, the issue must be elsewhere.
 
G

Guest

Not necessarily.... the live db has a lot more records than the dev version
I'm trying to reproduce it on... hence the thought about limits.

Thanks for dispelling that idea though... I shall continue to investigate!


Dan
 
G

Guest

Not that I'm aware of.... how would I know if I was?

It's not throwing an error either, its just not showing the latest records
added to the db. Very bizarre. Couldn't be anything to do with timeouts could
it?
 
S

Sosh

You have to declare this explicitly, so you would probably know.
Look for the <%@ OutputCache %> at the top of your aspx file, (and
ascx files if you have any user controls)/

If the output is being cached you might expect new data not to show
(at least not straight away).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top