I am using GridView with CheckBox.
I have two tables :
document table have
First of all I want to show all the documents in GridView from the document table and when I give user rights for the particular
it not display CheckBox
When button click I use code behind:
GridView1.DataSource = c.getdata("select id,user_id,title from document where category='" + drop_cat.SelectedItem.Value + "' and subctgry='" + drop_sub_cat.SelectedItem.Value + "'");
And when I give rights to user I store
with comma if more than one, user name and cat and subcat.
I also store user name with comma in according to
in document table.
So I want to CheckBox
when user is selected from dropdown of user.
So what can I do in this case.... for check the CheckBox.