p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 3.5 Basics (http://p2p.wrox.com/forumdisplay.php?f=351)
-   -   how do i update/upload (http://p2p.wrox.com/showthread.php?t=71739)

Rachel December 6th, 2008 01:24 AM

how do i update/upload
 
Hello:
I got the Beerhouse web starter kit. It worked right off.
I am new to all this. How do I change/update the database with
my own items? Does the book explain that? I have the impression
that the book isn't for a novice like me.

Rachel


Lee Dumond December 6th, 2008 01:58 AM

If you work through the book and can understand it, then you should be able to adapt it to your own database. It will teach you how to create data access classes to work with a database, data access objects to hold the data from the database, and business classes to represent your domain objects.

You are correct about the book not being well suited for beginners, but working through one or two beginner books should give you enough background to tackle it.

_________________________________

Visit my blog at http://leedumond.com

Rachel December 6th, 2008 02:00 PM

I ordered the book described up above, "Beginning ASP.NET 3.5: in C# and VB". Will that show me how to upload to the database?


Lee Dumond December 6th, 2008 02:20 PM

It will show you how to work with databases, and how to retrieve, edit, and save data, as well as how to upload new data.

There is also a book that specifically goes along with the BeerHouse starter kit that you should read after you finish the beginner book.

_________________________________

Visit my blog at http://leedumond.com

Imar December 7th, 2008 05:49 AM

Hi Rachel,

Beginning ASP.NET 3.5 indeed shows you how to work with data; retrieve it from and store it in a database. It also shows you how to store uploaded files on disk.

It doesn't show you how to store uploaded files in the database. However, I wrote an article about that some time ago which describes the pros and cons of storing files on disk / versus the database and shows you code that you can use to store them both ways:

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.

Rachel December 7th, 2008 02:17 PM

Quote:

quote:Originally posted by Imar
 Hi Rachel,

Beginning ASP.NET 3.5 indeed shows you how to work with data; retrieve it from and store it in a database. It also shows you how to store uploaded files on disk.

It doesn't show you how to store uploaded files in the database. However, I wrote an article about that some time ago which describes the pros and cons of storing files on disk / versus the database and shows you code that you can use to store them both ways:

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414

Cheers,

Imar


Thanks Imar. I'm looking forward to your books arrival! I'll check out that article in the meantime. :)

Rachel


Rachel December 7th, 2008 02:28 PM

Quote:

quote:Originally posted by Lee Dumond
 It will show you how to work with databases, and how to retrieve, edit, and save data, as well as how to upload new data.

There is also a book that specifically goes along with the BeerHouse starter kit that you should read after you finish the beginner book.

_________________________________

Visit my blog at http://leedumond.com
Thank you Lee.

I want to get that book when I can. (Maybe Santa will bring it.:)) Should I get the 3.5 2009 release or the 2.0 release? Does the 3.5 (which is the version I have on my software) go through the beerhouse example too?

Rachel


Lee Dumond December 7th, 2008 02:50 PM

Hi Rachel,

There are actually going to be TWO BeerHouse books coming out in 2009. I am the Technical Editor on one of them. You can find out more details here:

http://leedumond.com/blog/asp-net-3-...n-coming-soon/

If it were me, I would NOT wait for the 3.5 version. I would get the 2.0 version now, and the 3.5 when it comes out, probably in April or so.

Nothing in the 2.0 version is considered "outdated" in the least. The main difference in the two books is that the 2.0 book uses "classic" ADO.NET for data access, while the 3.5 version uses the Entity Framework. ADO.NET is still a perfectly valid approach to data access, and it is something you really should learn.

Once you have that under your belt, the Entity Framework book will be a lot easier.

The second new book uses MVC, which is a totally new approach to ASP.NET development, and probably not what you're looking for right now.

_________________________________

Visit my blog at http://leedumond.com


All times are GMT -4. The time now is 04:15 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.