Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2005

Tip: Looking for answers? Try searching our database.

self contained database?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
guoqi zheng - 29 Dec 2005 15:18 GMT
I am writting a Asp.NET custom control in which I need to use some data
storage where people can add/modify. I am using SQL database, but it sounds
like not very nice because if I want to move that control to other location,
I have to move the SQL database as well.

Is there a self contained database which can I compile into the .dll file?  
XML is alternative but not nice enough.

regards,

Guoqi Zheng
http://www.ureader.com
Marina - 29 Dec 2005 17:07 GMT
You wouldn't be able to compile any database into a DLL and then write to
it.  That would you mean you would have to recompile a loaded DLL on the
fly, replace it on disk, and reload it? That is not going to happen.

You can use Access as a portable file system based database, but you
wouldn't embed it as a resource in the DLL.

>I am writting a Asp.NET custom control in which I need to use some data
> storage where people can add/modify. I am using SQL database, but it
[quoted text clipped - 10 lines]
> Guoqi Zheng
> http://www.ureader.com 
Gabriele G. Ponti - 29 Dec 2005 19:59 GMT
A DataSet works like a little relational database, and you can serialize it
to disk. See the documentation for more details.

   Gabriele
Marina - 29 Dec 2005 20:36 GMT
I disagree with that. You can't do joins, grouping, nested queries, etc.
Unless the database operations required are absolutely trivial, a dataset is
no substitute for a database engine.

>A DataSet works like a little relational database, and you can serialize it
>to disk. See the documentation for more details.
>
>    Gabriele
Gabriele G. Ponti - 30 Dec 2005 12:50 GMT
I doubt he needs all of these features.
Marina - 30 Dec 2005 13:39 GMT
I think a join is a pretty basic feature to need.  Unless the program is
trivial, those other features are generally required.

>I doubt he needs all of these features.
guoqi zheng - 31 Dec 2005 10:29 GMT
> I doubt he needs all of these features.
Thanks for all reply. I think I know what to do it. I will just write the
dataset to disk as a binary.

Join is nice to have but not that necessary.

regards,

Guoqi Zheng
http://www.ureader.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.