Last post Aug 26, 2016 07:00 AM by Nan Yu
Aug 26, 2016 05:09 AM|UnitedKingdom|LINK
Aug 26, 2016 05:18 AM|Prince Srivastava|LINK
Set A flag value in your code.
When first time click then set it to one else set 0
and apply the condition accrodingly.
Hope this will help you.
Aug 26, 2016 06:07 AM|UnitedKingdom|LINK
Aug 26, 2016 07:00 AM|Nan Yu|LINK
You could refer to below steps :
The firstly step is you need to use jquery ajax to call server side function :
Then in server side function , you could use ADO.NET to access database records . Here is a code sample :
If your values(0,1) is related to user , you could update the value like :
set the where condiction :where userid =yourUserId