Good advice, that! :-)

On Aug 3, 2:17 pm, Benj Nunez <[email protected]> wrote:
> Hi! Normally I would extract what the DataRow holds, and not pass the
> whole Datarow object completely to another method.
>
> It goes something like this:
>
>     DataRow Row;
>     Row = (DataRow) ds.Tables[0].Rows[0];
>
>     String field1  = Row["MY_TABLEFIELD1"].ToString();
>     String field2  = Row["MY_TABLEFIELD2"].ToString();
>
>     ...
>    ShippingUtility.sendShippedEmail(field1);   // or field2, whatever
> field that you want processed.
>
> Cheers!
>
> Benj
>

Reply via email to