i solve my self by another process.....
TextBox[] Txtarr=new TextBox[]{txtcustname,txtbilladd,txtshipadd,txtEmail,txtphone,txtMobile,txtFax,txtState,TxtCity};
public void ShowHideControl(TextBox[] tbArray,int x)
{
for (int i = 0; i < tbArray.Length; i++)
{
if (x == 0)
{
tbArray[i].Enabled = false;
}
else
{
tbArray[i].Enabled = true;
}
}
}