(in code behind)
private void LoadFormPreview()
{
this.ReviewForm.lblCo_Name = this.txtCo_Name.Text.ToString();
this.ReviewForm.lblCo_Address1 = this.txtCo_Address1.Text.ToString();
...
can i make this more generic so i can provide the form as a parameter? if so, what would the datatype be? i attempted using a string but that just produced an error..
private void LoadFormPreview(string rvwForm)
{
this.rvwForm.lblCo_Name = ...
Any help would be very much appreciated.
Thanks
Tim HansenPosted Apr 14, 2011, 4:46 PM
Raja KrishnamurthyPosted Apr 14, 2011, 4:39 PM
HTH