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

Warning: Cannot modify header information - headers already sent by (output sta
Warning: Cannot modify header information - headers already sent by (output started at /home/praylif

Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do

* Gridview and Detailsview in UpdatePanel, insert mode problem
I have a GridView and DetailsView working together. When a record from Gridview is selected, Detail

fire away
i launched about 4 months ago as a lagit co. i have 2 paying clients, 1probono, 1 side progect, and

Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on

VAT
how should I deal with VAT?

if I have a product that costs £5.00 and VAT @ 17.5% (£0.87

When i am Canseling the Billing Document in VF11 I am getting Shortdump
Hi Experts

When i am Canseling the Billing Document in VF11 I am getting Shortdump.

Function to extract email attachments using PHP IMAP
function extract_attachments($connection, $message_number) {

$attachments = array();

Give me all your tricks for minimizing jar file size

Hi, I'm coming close to releasing my J2ME game... I am kicking up against the 64k size barrier w

Effort Estimation Template for Steady State Support
Hi Everyone,

Is there any SAP provided template/format for system change and enhancements

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