Ask a Question related to Dreamweaver AppDev, Design and Development.
-
mikefield #1
Dropdownlist "Select Value Equal To" Gives an Error
In DW MX 2004 (C#), when I set the "select value equal to" for a dropdownlist
item, I get the following .NET error once I try to view the webpage:
CS0121: The call is ambiguous between the following methods or properties:
'DreamweaverCtrls.DataSet.FieldValue(string,
System.Web.UI.WebControls.DataListItem)' and
'DreamweaverCtrls.DataSet.FieldValue(string,
System.Web.UI.WebControls.DataGridItem)'
Below is the code that throws the error:
Has anyone ever seen this before? This happens on all the machines in my
office (WinXP SP2 and Win2k). Is there a new DreamweaverCtls.dll file I should
use, or a patch of some sort? Or am I doing something wrong?
If I remove the first line of the code quoted below, the page runs fine but
the dropdownlist does not have a selected item.
Any help would be great. Thanks.
<% FIN_ACC_ID.SelectedIndex =
FIN_ACC_ID.Items.IndexOf(FIN_ACC_ID.Items.FindByVa lue(SIGA_PER.FieldValue("FIN_A
CC_ID", null) )); %>
<asp:DropDownList DataSource="<%# FIN_ACC.DefaultView %>"
DataTextField="FIN_ACC_Name" DataValueField="FIN_ACC_ID" ID="FIN_ACC_ID"
runat="server" class="fonts_arial_07"></asp:DropDownList>
mikefield Guest
-
hot to apply "not equal"
my query is like that: <cfquery name="CheckEmail" datasource="Dating"> Select Email From MemberMain Where MemberID <> #Session.MemberID#... -
Added text field to database. New entries not equal to "" ???
Hi! I'm accessing an MS Access database from an ASP server. I just added a new text column (field) to one of my tables. I have not added any... -
Including "less equal" sign in MX under windows
How can I include special characters like the "less equal" character in a technical FreeHand MX drawing under Windows 2000? - Characters like... -
"Select" & "Order By" OK- ''WHERE'' Does'nt Work !
Before i post actual code, as i need a speedyish reply. Can i first ask if anyone knows off the top of their head, if there is a likely obvious... -
Help Me~~My DropDownList Can not get the"BigClassList.SelectedItem.Text" there is an error: System.NullReferenceException
I have many dropdownlist controls in my ascx (and use LoadControl in a aspx fiel) file,so i write a method "InitList(DropDownList list,string...



Reply With Quote

