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
Convert SBS 2008 P2V
sql stored procedure select compare dates null issue
SQL Server BIT field true and false
ODBC connection to Oracle 9 db trough Cisco VPN and ISA
Email Address in Outlook express
MBOX TO PST
interop.microsoft.office.c<wbr />ore.dll.
In Access how can i have a value returned based on a value present.
User name grayed out in SQL Server 2005 Server Management Studio
Allow real desktop access to Windows Server 2008 R2