L
Landes
Hiya,
I have the following code in a C# aspx page, but I keep getting the
error that 'ExceptionCategoryId_' not found. Looks like the
QueryString is not returning anything.
<aspataGrid id=DataGrid1 runat="server"
AutoGenerateColumns="False" DataSource ="<%#
Pfc.PfcCentreExceptions.Current.DataSet %>" DataMember
='ExceptionCategoryId_<%=Request.QueryString["Category"]%>'
AllowSorting="True" PageSize="5" bordercolor="White"
BORDERWIDTH="1px" GRIDLINES="Horizontal" CELLPADDING="0"
Width="630px">
Using this code to test, the value is displayed correctly on the same
page.
<script language="javascript">
alert('<%=Request.QueryString["Category"]%>');
</script>
Can anyone point me to some clues on where I have gone wrong? I'm
obviously missing something here which i can't figure out. Anyone
with any idea to help will be greatly appreciated, thanks!
I have the following code in a C# aspx page, but I keep getting the
error that 'ExceptionCategoryId_' not found. Looks like the
QueryString is not returning anything.
<aspataGrid id=DataGrid1 runat="server"
AutoGenerateColumns="False" DataSource ="<%#
Pfc.PfcCentreExceptions.Current.DataSet %>" DataMember
='ExceptionCategoryId_<%=Request.QueryString["Category"]%>'
AllowSorting="True" PageSize="5" bordercolor="White"
BORDERWIDTH="1px" GRIDLINES="Horizontal" CELLPADDING="0"
Width="630px">
Using this code to test, the value is displayed correctly on the same
page.
<script language="javascript">
alert('<%=Request.QueryString["Category"]%>');
</script>
Can anyone point me to some clues on where I have gone wrong? I'm
obviously missing something here which i can't figure out. Anyone
with any idea to help will be greatly appreciated, thanks!