Any advice or example on using the Self service with an Object Datasource

Posts   
 
    
Gero
User
Posts: 3
Joined: 06-Apr-2006
# Posted on: 08-Apr-2006 14:19:10   

Hi all, Can anybody help me with a using the generated code with an Object datasource. The project i am currently does not warrent a BLL so i am using a class file as a Data Access Layer.

Example

Public Sub Update User(ByVal iUserID As integer, ByVal sUserName As String)

........

End Sub

But I am not having much luck at all.

Any Help would be great, I am getting erros with the Object Data Source saying thingls like it cant find a generic method.

Thanks

Jason

Gero
User
Posts: 3
Joined: 06-Apr-2006
# Posted on: 10-Apr-2006 19:27:43   

Gero wrote:

Hi all, Can anybody help me with a using the generated code with an Object datasource. The project i am currently does not warrent a BLL so i am using a class file as a Data Access Layer.

Example

Public Sub Update User(ByVal iUserID As integer, ByVal sUserName As String)

........

End Sub

But I am not having much luck at all.

Any Help would be great, I am getting erros with the Object Data Source saying thingls like it cant find a generic method.

Thanks

Jason

hehe I have fixed it, http://www.asp.net/QuickStart/aspnet/doc/ctrlref/data/objectdatasource.aspx

Look at Using a Business Layer..

I hope this can help others