asp.net - Show and hide grid view selected rows particular cell -


currently i'm working on 1 project.

there total 5 columns in grid in 2 visible false.

 name     email_id_x         email_id                 mobile_no_x   mobile_no   select -------------------------------------------------- --------------------------------- mahesh  maxxxxxxahoo.co.in  maheshsbhoye@yahoo.co.in 98xxxxxx96    986769696   select kiran   kixxxxxx.in         kiran@yahoo.co.in        93xxxxxx333   9333333333  select  kiran   kixxxxxx.in         kiran@yahoo.co.in        93xxxxxx333   9333333333  select  kiran   kixxxxxx.in         kiran@yahoo.co.in        93xxxxxx333   9333333333  select  amit    amxxxxxxin          amit@yahoo.co.in         93xxxxxx333   9333333333  select  

so please tell me how hide column email_id , mobile_no. , when user click on select time can see selected rows email_id , mobile_no.

thanks.

first set visible=false 2 columns. row u have selected, change datasourceid , bind data in gridview1_selectedindexchanged event.

first query datasource select * table1. when binding second time, when have clicked select, you're query should select * table1 emailid=xyz.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -