Search results

  1. C

    [ASP.NET] Is it possible to use databound values as parameters in inline code?

    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...
  2. C

    How to get an url parameter in inline ASP code?

    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...
  3. C

    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?id=<%= Request["id"]%>' in a HyperLink control. Is...
  4. C

    Can someone help me trace down this ASP.NET problem?

    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...
Back
Top