Wednesday, March 28, 2012

Question regarding my StronglyTyped Dataset

If I created a DAL, can I just use ObjectDataSources instead of SqlDataSources and fill them with my methods from my DAL? I mean do I HAVE to use SqlDataSources? Cause I have to bind them at runtime right? I'd rather bind everything at design time and I can do so using ObjectDataSources.

Are there problems with using ObjectDataSources over SqlDataSources?


Thanks!

Only thing is you need to control select, delete etc function your own in Object data source while Sqldatasource does it by using query of SP

|||

ahh I see. I'm not extremely efficient in writing sprocs, but I guess nows the time :)

Thanks for the answer!

No comments:

Post a Comment