I have a gridview that is connected to a datasource in the aspx code. The selected gridview row is hidden on clcik on button. I want to hide the row permenantly, even if user logs off and logs in the hidden row should not be shown. I have tried using ViewState but it doesnt work. Anyone have any idea on how to accomplish this.
My gridview:
C#
edit Select Approve data1 data2 data3
when the user clicks select and the approve button the row is hidden. I want all rows to be called except the one that is clicked, the clicked row should not be displayed at all. I did some research and found out the ViewState is the best but do not know how to accomplish it.
My Behind Code:
SqlConnection con = new SqlConnection("Data Source=User-PC\\User;Initial Catalog=Subject Registration System;Integrated Security=True");
Naveen BishtRank #1,462 · 1.1K reputationPosted Feb 25, 2017, 4:43 PM EST