| Author: susant 21 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
hi u can try this
Button btn=(Buttton)Gridview1.FindConrol("Your btn Name"); //ur condition and then btn.Enable=false;
ThanX and Regards susant
|
| Author: satya 21 Oct 2009 | Member Level: Diamond | Rating:  Points: 2 |
for (int i = 0; i < Gridview1.Rows.Count; i++) { Button btn=(Buttton)Gridview1.Rows[i].FindControl("btnsubmit"); if(your condition) { btn.Enabled =false; } }
|
| Author: Ahmad Leary 22 Oct 2009 | Member Level: Silver | Rating:  Points: 2 |
Thank you very much for your responses.
I'm creating a windows application and VB as my lanuage..
Please give me example using VB..
Thanks....
God bless.
|