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
select query
How to install Win2K to a Toshiba Portege 3440CT when the PCMCIA CD-Rom will not power up when booting from floppy or HDD
Open Sharepoint server's pdf file in asp.net...
Regex and VB.NET - Richtext selection
Bulk Insert Excel spreadsheet
How do I get Windows Server 2008R2 with Remote Desktop Services to use a Remote Desktop Client's audio hardware for VOIP?
Improving SQL Server 2005 performance (Database re-vamping help needed)
GPO Server 2003 XP Pro Clients Wallpaper
GetUserProfileByName Issue after form is submitted
2008 server & 2000 Professional client