[Mono-dev] ASP.NET ObjectDataSource problem

Marek Habersack grendello at gmail.com
Wed Jan 3 08:29:15 EST 2007


On Wed, 3 Jan 2007 14:20:30 +0100, Marek Habersack
<grendello at gmail.com> scribbled:

[snip]
> > <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
> > SelectMethod="GetShippers"
> >             TypeName="ShipperDataLayer"></asp:ObjectDataSource>
> The immediate fix is to put the business object in a binary dll
> located in your bin/ subdirectory and then use the assembly-qualified
> type name for the TypeName attribute above, e.g.:
> 
> TypeName="ShipperDataLayer, MyAssemblyName"
> 
> The correct fix, though, is to apply the attached patch and recompile
> mono (note that the patch is for the svn head version of mono, though)
> 
> hope that helps, regards
> 
> marek
> 
> p.s. Gonzalo, may I commit the attached patch?
Actually, the diff attached to this message is better :)

regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ObjectDataSourceView.cs.diff
Type: text/x-patch
Size: 723 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070103/f9ef13c5/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070103/f9ef13c5/attachment-0001.bin 


More information about the Mono-devel-list mailing list