Microsoft
Software
Hardware
Network
Question : where parameters aspx .net page
I have an aspx page that is working, but when i try to add where parameter I get an error that the parameter "cid" is no defined. what is worng?
--------------------------
--------------------------
-
DefaultContainerName="eSaf
etyEntitie
s" EntitySetName="Documents" EntityTypeFilter="Document
s"
Select="it.[DocID], it.[DocName], it.[Description], it.[DateCreated]"
Where="it.Categories.Categ
oryId = @cid">
--------------------------
----------
----------
----------
---
the page is passing cid like this and have tested the value which is working:
.......doc.aspx?cid=1
Answer : where parameters aspx .net page
The Name of the parameter needs to match the name in the query. So, in your case it should be "cid" rather than "id":
Random Solutions
Microsoft File Transfer (MSDN) and SonicWALL TZ 210
How do I open MSMQ?
Selecting certain items
Outlook reply icon not always working
Time required to take a 2005 DB off-line
What Reference is needed for "Dim db As ADODB.Connection" ?
2007 Excel Formulas
"You cancelled the previous operation error" MS ACCESS
Need help designing feature to display info in textbox
How to Auto refresh WSS 3.0 page ?