Shawn,
>I am working through the MM.Net Developers Guide in Creating Web Forms Applications->Integrating Business Objects with a Web Form->Step 2: Retrieving Data using Business Objects.
>
>I have a Crew Business Object in my project.
>
>When typing the line: DataSet dsCrew = this.oCrew.GetCrewByCrewID(CrewID);
>There does not appear to be any member function starting with GetCrew...
>
>Am I missing something?
In addition to what Bob said, you also need to verify you match the return type. In your code above you are asking for a dataset as the return type. Therefor your method signature would look like this.
public DataSet GetCrewByCrewID(int crewId)
Typically you would return either a CrewEntity or a mmBindingList<CrewEntity> like this.
public CrewEntity GetCrewByCrewID(int crewID)
or an entity list like this
public mmBindingList<CrewEntity> GetCrewByCrewID(int crewID)
It is a matter of wether you are returning a single row or multiple rows.
I hope that helps
Tim
Timothy Bryan