Make sure you use parenthesis for the call to the method.
>Cathi...
>
>Thanks for your answer. I sort of figured that would be the only way to do it....
>
>How would the syntax look? For example, if I had a function called 'LookupData', would the expression be something like...
>
>ds.Tables[“Orders].Columns.Add(“CompanyName”, typeof(string), "LookupData")
>
>Thanks,
>Kevin
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi