> private void SetPropertyValue(string pstrControlName, string pstrPropName, string pstrValue) > { > Control c = this.FindControl(pstrControlName); > if ( c != null ) > { > PropertyInfo pi = c.GetType().GetProperty(pstrPropName,pstrValue.GetType()); > if (pi != null && pi.CanWrite) > pi.SetValue(c,pstrValue,null); > } > } >Cetin