ObjectDataSource and custom objects returning list of another obje

G

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> 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
 
B

Bob Barrows [MVP]

Ghistos said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top