Hi
I'd like to pass a property (say like a row value from a typed dataset) to a
method so that the method can get/set the property. for instance
DoSomething(ATy pedRow.StringFi eld)
where "StringFiel d" is a string property on a typed row.
however, DoSomething requires a string argument in this case
private void DoSomething(str ing aField)
{
aField = "new stuff"; // throws exception
}
Any ideas?
thanks
bill
I'd like to pass a property (say like a row value from a typed dataset) to a
method so that the method can get/set the property. for instance
DoSomething(ATy pedRow.StringFi eld)
where "StringFiel d" is a string property on a typed row.
however, DoSomething requires a string argument in this case
private void DoSomething(str ing aField)
{
aField = "new stuff"; // throws exception
}
Any ideas?
thanks
bill
Comment