471,570 Members | 914 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

SQLDataSource vs ObjectDataSource

I have written a simple application allowing me to update a table in my
Database using a GridView, DetailsView and two SQLDataSources.
Using this method, I wrote no code and my select, insert, update and
delete code was written for me.

I would like to use a ObjectDataSource to achieve the same results, but
the only way I see of doing this is by passing in each parameter of my
DetailsView into a Insert method, then either building the Insert
statement myself, or creating a DataRow and updating the Database that

This is fine for a couple of parameters, but the application will grow
to excess of 20 parameters very quickly.

Surely there is a much quicker and easier way (like SQLDataSource) for
achieving this?

Any help is much appreciated.



*** Sent via Developersdex http://www.developersdex.com ***
Feb 22 '06 #1
0 3086

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by msch-prv | last post: by
reply views Thread by ASMJ | last post: by
2 posts views Thread by djc | last post: by
4 posts views Thread by Mike | last post: by
1 post views Thread by jobs | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.