How to write on database when a link is clicked?


Posted on 16th Feb 2014 07:03 pm by admin

Hi, I have a list of products in a gridview. When the link is clicked currently it takes to an external site. But now I wanted to store how many times a link is clicked? what is the best way to capture it? Currently it is a tag, I thought I will change it to asp:linkbutton, but my main problem is who to pass the parameter like the product id to the link button click event? or what other option I have? is it possible to do the database update through a javascript function (if it is possible then I will just leave the
No comments posted yet

Your Answer:

Login to answer
295 Like 20 Dislike
Previous forums Next forums
Other forums

Code working in IE but not FireFox
I created a dynamic navigation list for my website based off of a table in my database. The code is

Does deleting the spmlog directory critical?
Hi Everyone,

Please, hope you could help me. We're having problems with the SAP backup. I

What exactly is net neatrality?
What exactly is it? I think it's anti-censorship and... stuff... but I don't really understand it

gather checkbox data from form into email
Hello all,

First, i'd like to thank everyone who responded to my previous posts regarding set

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Taxonomy? Classification? Categorisation?
Not sure if there is a way around this classification problem
I have a supplier who produces

Serial number of exernal hard disk/Thumbdrive
Hi guys, I am new tio java networking concepts.Please tel me how to get Serial number of exernal

PHP and Javascript
Hello Everyone,

I have a page that needs a javascript code to be written between PHP code but

Relative path
I have a absolute path to an image - like so: C:/Program Files/Apache Software Foundation/Apache2.2/

with clause
hi all, i have a big query that usually access the same table more than once. for example, i have s

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash