Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   ObjectDataSource and custom objects returning list of another obje (http://www.velocityreviews.com/forums/t803334-objectdatasource-and-custom-objects-returning-list-of-another-obje.html)

Ghistos 06-18-2007 05:47 PM

ObjectDataSource and custom objects returning list of another obje
 
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> proprio;
private static List<TransactionInfo> 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

Bob Barrows [MVP] 06-18-2007 06:04 PM

Re: ObjectDataSource and custom objects returning list of another obje
 
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> proprio;
> private static List<TransactionInfo> 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.




All times are GMT. The time now is 04:50 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57