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
Is it possible to enlarge old DOS applications running on Windows XP for easier viewing?
Checking for duplicate record AfterLostFocus
vb.net sender name
Published Access Database to Sharepoint, now what?
SQL - CASE Statement help needed
Can I change the default contacts folder in "My Contacts?"
Constant Username and Password Pop up in Exchange 2007
multiple JOINs ON equal AND NOT equal
Can't get RD Web Connection to work through WatchGuard Firewall
Client side drives not showing up in Terminal Server