Results 1 to 3 of 3

Thread: how can i add vb code in html?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2010
    Posts
    408

    how can i add vb code in html?

    my new problem is that i want to add the session.add() command in the datagrid when a hyperlink button of a datagrid is pushed

    i am sory to the admins i have posted it to another location that it was not right

    so i write it and here

    i want to store a value(to use it to another page of the site) and i think i have to do that..


    does anyone know how can i put the session add command(or any other vb.net command) in the html hyperlink??

    i thik somehow like this
    <ItemTemplate>
    <asp:HyperLink ID="HyperLink2" runat="server" onclick="<%# %>" NavigateUrl='<%# databinder.eval(container.dataitem,"url") %>' Text='<%# databinder.eval(container.dataitem,"titlos") %>'></asp:HyperLink>

    </ItemTemplate>

    but how exactly??

  2. #2
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    Re: how can i add vb code in html?

    It looks like you already posted this in ASP.Net, which I believe is the proper forum for it.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how can i add vb code in html?

    Thread closed. Stick to one thread so that the entire discussion happens in one place.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width