I am creating a site where i want then when a user register there ... and after registration i want is...
there is a text box(for searching) and a button is there when a user (Registered) click that button the number of times when he clicked the button should be store in my database.
and i want to connect my search box to google search.
Please help its urgent
Thanks
chester
Loading
SreekanthPosted Nov 16, 2009, 4:36 AM
so by clicking ur button
using this session value identify the user and update the tbale containing this users's id and counthit
EG:users table
id name
1 A
2 b
and next is users_hit
startsusers_hit from 0 and each login update this table like
update users_hit set hit=hit+1 where id=(Session[id"] or select corresponding users....from the session )
id hit
1 0
2 0
tis is ur ????
Chester BenningtonPosted Nov 16, 2009, 4:02 AM
can you send me the code pls.
thanks
chester
keshav singhPosted Nov 16, 2009, 3:55 AM
on the button click event ,you have to retrieve the value from database and assign it to a variable and at button click it increments to one and then save the incremented value in database
Chester BenningtonPosted Nov 16, 2009, 2:30 AM
the textbox data.
How many times the user clicked that button
thnaks
chester
Urgent
keshav singhPosted Nov 16, 2009, 2:27 AM
you can save the data from textbox into database
Chester BenningtonPosted Nov 16, 2009, 2:15 AM
keshav singhPosted Nov 16, 2009, 2:15 AM
http://www.codeproject.com/KB/aspnet/CustomSearchEngine.aspx
if this helps you,please check the answer
Lalit MPosted Nov 16, 2009, 2:04 AM
more details Show this articles