|
-
October 27th, 2008, 03:39 AM
#1
When do i use the SqlDataSource and when to use dataset?
When do i use the SqlDataSource and when to use datasets?
they both perform select,delete, etc...
so which one is better ?
and if it depends on my needs in the project , then which is better for each situation ?
-
October 29th, 2008, 09:55 AM
#2
Re: When do i use the SqlDataSource and when to use dataset?
Datasets are always better and maintained in memory to reuse. SQLDataSource is maintained at page level making it a two-tier object. If you are making a small application this should be fine though.
-
October 31st, 2008, 12:34 AM
#3
Re: When do i use the SqlDataSource and when to use dataset?
thank you ,
does anyone have more information on the subject ?
-
October 31st, 2008, 07:39 AM
#4
Re: When do i use the SqlDataSource and when to use dataset?
personally, I don't like using SqlDataSources to bind to controls. I actually try to stay away from binding any type of data source to a control through the designer. I feel that I have more control over DataSets(and DataTables) than I do over SQLDataSources.
-
October 31st, 2008, 08:31 AM
#5
Re: When do i use the SqlDataSource and when to use dataset?
-
November 5th, 2008, 08:57 AM
#6
Re: When do i use the SqlDataSource and when to use dataset?
in my opinion both of them has their own usage. you use dataset to implement Disconnected Data access and you should write code to make something work.but you can implement some functionality using SQLDataSources without even writing a bit of code.
Touraj Ebrahimi [toraj_e] [at] [yahoo] [dot] [com]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|