Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 6th, 2008, 01:24 AM
Friend of Wrox
Points: 505, Level: 8
Points: 505, Level: 8 Points: 505, Level: 8 Points: 505, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2008
Location: , , .
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default 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

  #2 (permalink)  
Old December 6th, 2008, 01:58 AM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

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
  #3 (permalink)  
Old December 6th, 2008, 02:00 PM
Friend of Wrox
Points: 505, Level: 8
Points: 505, Level: 8 Points: 505, Level: 8 Points: 505, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2008
Location: , , .
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default

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?

  #4 (permalink)  
Old December 6th, 2008, 02:20 PM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

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
  #5 (permalink)  
Old December 7th, 2008, 05:49 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
  #6 (permalink)  
Old December 7th, 2008, 02:17 PM
Friend of Wrox
Points: 505, Level: 8
Points: 505, Level: 8 Points: 505, Level: 8 Points: 505, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2008
Location: , , .
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default

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

  #7 (permalink)  
Old December 7th, 2008, 02:28 PM
Friend of Wrox
Points: 505, Level: 8
Points: 505, Level: 8 Points: 505, Level: 8 Points: 505, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2008
Location: , , .
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default

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

  #8 (permalink)  
Old December 7th, 2008, 02:50 PM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
update multiple columns in an update statement debbiecoates SQL Server 2000 1 August 17th, 2008 04:01 AM
Update link doesn't update in FormsView shaly ASP.NET 2.0 Basics 0 December 6th, 2006 04:33 PM
Datagrid.update() and DataAdapter.Update aarunlal ASP.NET 2.0 Professional 2 February 23rd, 2006 11:41 PM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM





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