
Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Hi Mark,
If I hard code the variable everything works fine. If Then replace the
text "ATT_Department" with "<%=VBVariable%>", I got the following message:
DataBinding: System.Data.DataRowView enthält keine Eigenschaft mit dem
Namen <%=ATT_Name %>.
Translated to English: DataBinding: System.Data.DataRowView has no
property named <%=ATT_Name %>
In Debug mode, if I place the mouse over the variable it reads
"ATT_Department". So it does have a value.
Any ideas?
Rob
Mark Rae [MVP] schrieb:
>> Hi everyone,
>>
[quoted text clipped - 13 lines]
>
> Also, I'm assuming that VBVariable *does* actually contain a value... :-)
Mark Rae [MVP] - 12 Jul 2007 21:56 GMT
> If I hard code the variable everything works fine. If Then replace the
> text "ATT_Department" with "<%=VBVariable%>", I got the following message:
[quoted text clipped - 9 lines]
>
> Any ideas?
How are you declaring the server-side variable? In order to visible to the
aspx page, server-side variables need to be Public or Protected.

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net