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

insert/update functions for mysql, what do you think?
I am working on two really simple functions that automatically generate (and execute) insert and upd

Undefined Variable: PHP_SELF, pls help
Hi,

Im a newbie on PHP / MySQL programming and Im running a script to search one field on my

'210010106140040100' == '210010106140040101'
Debugging this simple line of a PHP script

Code: if($a == $b){ }
I've found that with val

Sequencing or queuing parallel process
Scenario is as follows
There is one parent process say P1 and 4 child processes say A B C D

Ariba 9r - SAP MM Integration
Hi experts,

The standard Ariba adapter for 9r creates a relationship between Cost Centers

Save User Inputs while javascript reloading!
hi..
i have written a PHP code in which i reload the page when user selects a value in dropdown..

IIS on 2003 anon access disabled issue
I have an IIS server that belongs to a domain, and anonymous access is turned off for all my sites.

Transferring session variables into MySQL
I am trying to transfer $_SESSION variables into MySQL. However there is an error in my MySQL statem

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

Port scanner problem
Hai
recently i developed one app through which u can check the opened and closed ports under an

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