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 5 5634
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.
"dhnriversi de" <da*@musoswire. com> wrote in message
news:0D******** *************** ***********@mic rosoft.com... 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
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
"Marina" wrote: 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.
"dhnriversi de" <da*@musoswire. com> wrote in message news:0D******** *************** ***********@mic rosoft.com... 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
May be a bit simplistic, but you're not caching the page or any
controls are you?
On Tue, 28 Jun 2005 02:25:03 -0700, dhnriverside <da*@musoswire. com>
wrote: 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
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?
"Sosh" wrote: May be a bit simplistic, but you're not caching the page or any controls are you?
On Tue, 28 Jun 2005 02:25:03 -0700, dhnriverside <da*@musoswire. com> wrote:
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
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).
On Tue, 28 Jun 2005 09:54:08 -0700, dhnriverside <da*@musoswire. com>
wrote: 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?
"Sosh" wrote:
May be a bit simplistic, but you're not caching the page or any controls are you?
On Tue, 28 Jun 2005 02:25:03 -0700, dhnriverside <da*@musoswire. com> wrote:
>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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DotNetJunkies User |
last post by:
Hie,
I create a dynamique HtmlTable, in each cell of this HtmlTable put a new control ( dropdownlist,label,..) and then want to create handler so that if i change the select item in the dop downlist i change the text displayed in the label in the same row.
hier is my code:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
|
by: Kums |
last post by:
What is the maximum permissible size of a database? Is there any limitation.
What is the maximum # of tablespace's allowed in a database?
Thanks for your response.
|
by: rmorvay |
last post by:
I am trying to dynamically build a dropdownlist and bind it to a cell in a
grid. I tried to utilize the following code but I am stuck at the point
where I bind the dropdownlist to the grid cell. I get the following message
for this code but I suspect that the "
UltraWebGrid1.Rows.Cells.Value = ddlGeography;" is not how you
bind the dropdownlist control to the grid. ERROR: "The type
'System.Web.UI.WebControls.DropDownList' must be...
|
by: Shiju Poyilil |
last post by:
Hello,
I have a datagrid with only one row and its having 2 dropdownlists, I need
to populate the secodn dropdownlist on the basis of the selection in the
first dropdown. but I am not able to populate the second dropdown, as its not
bale to find the specified control, even though the dropdownlist with the
specified name exists in the datagrid.
my .aspx page code goes like this
|
by: tshad |
last post by:
How can I set the size of text in the dropdown list:
<asp:DropDownList ID="ddlQuestionType" runat="server">
<asp:ListItem Value="MS" Text="Multiple Single" />
<asp:ListItem Value="MM" Text="Multiple Multiple" />
<asp:ListItem Value="TF" Text="True/False" />
</asp:DropDownList>
The problem is the text is so much larger than the other text and I tried
inline style as well as using a class and it doesn't seem to change the text
| |
by: Frank |
last post by:
Hello,
I have some text boxes and 2 drop down lists (DDL) within a panel like so:
Everything updates fine but the values from the DDLs are always the items
selected by default. In other words, the items selected from the DDL do not
show up....only the default selected items do. Any suggestions?
<asp:panel id=Pnl_Address runat="server" width="390"
Height="210px" horizontalalign="Center">
|
by: Victorious1 |
last post by:
Why doesn't the the SelectedIndexchanged event for my dropdownlist ever get
executed? Why do I get a page not found error when I select a new item?
My dropdownlist is within a form. The items for the dropdownlist are added
at form load by a procedure. Autopostback is set to true, and viewstate is
enabled. I have placed a stop at the first line of code for the
SelectedIndexChanged event and I have determined that the code is not...
|
by: sgtmarcjones |
last post by:
How do I access a dropdownlist that is nested within a Formview
ItemTemplate Gridview Template?
I want to see a label (lgbTimeKeep ! TextValue of ddlName
dropdownlist) instead of a dropdownlist in the FormView ItemTemplate
Nested Gridview ddlName ItemTemplate. My label is named lgvTimeKeep
and the dropdownlist name is ddlName.
Thanks!
|
by: jobs |
last post by:
I've tried setting the height of the dropdownlist, but when I do that
it eats of space below . Basically, I only want about 10 rows visible
and scrolling to then show up if there are more rows. But I want space
below the dropdown to be available by other controls while the
dropdown is not selected.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |