And what should the parameter type be for the method?
>Hey Craig,
>
>The code should be something like this:
>
>MyDataSet.Tables["MyTable"].Rows[0][10];
>
>What have you been trying?
>
>~~Bonnie
>
>>I have a single record from a dataset and I want to pass one field of that record to a method to do additional processing. I don't know the field name, but it's always in the same position in the table (field 10). I can't figure out how to reference the single field, then pass it. I keep getting a compile error, "An object reference is required for the nonstatic field". Anyone know how I can do this?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer