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
SBS Reinstall Monitoring MSDE after SP1 upgrade
Using More Than 1 Delimiter In Excel 2007 (Pipe & Comma)
Query runs fine for most but not for two people...???
convert between email address to ip address
outlook vba to saveas .msg allowing user to navigate to target folder.
help with trigger/stored procedure
How To Recover Encrypted / Corrupted Word Documents
SQL DISTINCT Problem
How do I uninstall Advanced Mass Sebder?
MSDTC Network Issue