Active/InActive the Data

Posted by Hemalatha under ASP.NET on 4/21/2011 | Points: 10 | Views : 8523 | Status : [Member] | Replies : 5
hi i am a fresher to DotNet . i am creating a webapplication . i have one dought can please help me . in gridview row i have button .button has active/inactive . when i click active button the gridview row should be enabled and database row also enabled , and when i click inactive button gridview row should be disabled and database row also disabled . ... can any one please help me this task .

thanks&regards..
Hemalatha

hemalatha


Responses

Posted by: Ndebata on: 4/21/2011 [Member] Starter | Points: 25

Up
0
Down
Hi

Could you please try to make your requirement more clear,
What I understood if you are placing both active/inactive buttons in the same row and you are disabling the whole row , you can not click on active again.

Thanks,
Debata

Hemalatha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ndebata on: 4/21/2011 [Member] Starter | Points: 25

Up
0
Down
Hi

I have attached a sample application,
Please go through it.

Thanks,
Debata
 Download source file

Hemalatha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ndebata on: 4/21/2011 [Member] Starter | Points: 25

Up
0
Down
@WebMaster please remove this [Posted duplicate as site was slow , clicked thrice]
 Download source file

Hemalatha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ndebata on: 4/21/2011 [Member] Starter | Points: 25

Up
0
Down
@WebMaster please remove this [Posted duplicate as site was slow , clicked thrice]
 Download source file

Hemalatha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hemalatha on: 4/21/2011 [Member] Starter | Points: 25

Up
0
Down
hi nice source code. it will change in gridview . but i want to change in database also .

Requirement - i have adminview acces form.i that form i have gridview with four column (pageid, pagename , groupid, active/inactive link). admin will give permison to user . when admin click active link it should active in gridview and also in database.

thanks&regards....
hemalatha

hemalatha

Hemalatha, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response