ObjectDataSource and custom objects returning list of another obje

ObjectDataSource and custom objects returning list of another obje

am 18.06.2007 19:47:03 von Ghistos

Hi all,

I have a class with properties returning int, string, date... and generic
Lists of other classes.

private static string zipcode;
private static string city;
private static double? x;
private static double? y;
private static List proprio;
private static List transactions;

When I bound this class with the ObjectDataSource , I don`t see my Proprio
and Transaction List .

Don`t jnow exactly how to extract these infos. I see them when the object
return the infos but not when I go in my datagrid for editing my columns

Re: ObjectDataSource and custom objects returning list of another obje

am 18.06.2007 20:04:05 von reb01501

Ghistos wrote:
> Hi all,
>
> I have a class with properties returning int, string, date... and
> generic Lists of other classes.
>
> private static string zipcode;
> private static string city;
> private static double? x;
> private static double? y;
> private static List proprio;
> private static List transactions;
>
> When I bound this class with the ObjectDataSource , I don`t see my
> Proprio and Transaction List .
>
> Don`t jnow exactly how to extract these infos. I see them when the
> object return the infos but not when I go in my datagrid for editing
> my columns


There was no way for you to know it (except maybe by browsing through
some of the previous questions before posting yours - always a
recommended practice), but this is a classic asp newsgroup. ASP.Net is
a different technology from classic ASP. While you may be lucky enough
to find a dotnet-savvy person here who can answer your question, you
can eliminate the luck factor by posting your question to a newsgroup
where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
There are also forums at www.asp.net where you can find a lot of people
to help you.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.