Rather than

return MyDataTable;

write

return MyDataTable(0);

Or whatever logic is appropriate. Do be aware that DataRow is not serializable.


On Thu, Jun 17, 2010 at 9:20 AM, S <[email protected]> wrote:
> Hello All,
>              I am using BLL and DAL to contruct a website. I have a
> method that should return a DataRow instead of DataTable. But I am
> unable to change it to return DataRow.
>
> Any ideas ?
>
> Also I am unable to view code for XSD file. It does nothing when I
> click View Code.
>
> -S

Reply via email to