I have a ListView control that shows a list of users through databinding.
I have defined custom Item and LayoutTemplates.
One of the rows is:
<asp:Label ID="Label1" runat="server" Text='<%# Eval("user.name") %>' /></a>
The databinding works fine, but I would like to add some additional...
How to get an url parameter in inline ASP code?
I have a page that passes an 'id' parameter in the url like so viewCategory.aspx?id=24
On this page I would like to place a hyperlink to another page that requires the same parameter by doing something like
NavigateUrl='/users/viewSection.aspx...
I have a page that passes an 'id' parameter in the url like so viewCategory.aspx?id=24
On this page I would like to place a hyperlink to another page that requires the same parameter by doing something like NavigateUrl='/users/viewSection.aspx?id=<%= Request["id"]%>' in a HyperLink control.
Is...
I'm new to ASP.NET and I'm trying to make a simple forum.
I'm using LINQ to SQL for data access.
I'm trying to insert a new 'Topic' object into my database with the following code, which upon execution gives me the following error "Object reference not set to an instance of an object" on the...