|
Subject:
|
Chapter 5 Pitfalls?
|
|
Posted By:
|
jaywatkins
|
Post Date:
|
4/11/2006 7:14:20 PM
|
Hello,
Has anyone successfully completed Chapter 5? I am about to go onto it, but the book does not give much setup detail. The only real item is to install Visual Web Developer.
Would any one know of any potential pitfalls?
Thanks
/J
|
|
Reply By:
|
jaywatkins
|
Reply Date:
|
4/18/2006 2:24:50 PM
|
Thanks for the replies...
Pitfall 1: The database does not update again... I couldn't get it to work from the last chapter either. Nice...
/J
|
|
Reply By:
|
BigOcean
|
Reply Date:
|
4/19/2006 7:36:01 AM
|
Hi jaywatins,
I got a result similar to Figure 5-4 on Page 87. I think that Step 4 of Try It Out Adding and Configuring a GridView Control on Page 86 is critical - You must get this Step right (i.e. select MyDB.MDF from the Data Connection dropdown list in the GridView Tasks menu). The reason I said my result was similar to Figrue 5-4 is that I had only "Select" (no "Edit" and "Delete") appeared on the left-hand side of the Slate result.
Visual Web Developer 2005 is hard for the beginners to pick up. I spent time to read "Visual Web Developer Guided Tour" in http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/WebDev/WebDev/webdev1.htm/ and "Master Pages in ASP.NET 2.0" in http:/msdn.microsoft.com/library/en-us/dnvs05/html/masterpages.asp?frame=true/ to get a good feel about Master Page and Default.aspx relationship/Adding a New Page that uses the Master Page. Recommand them to you to read.
I am going on to get this exercise right and this Chapter 5 done.
Scott Chang
P. S. I struggled for the Chapter 4 for quite a while too. I read some books and articles in MSDN Library about Visual Basic 2005 and ADO.NET to get the exercises of Chapter 4 done.
Scott Chang
|
|
Reply By:
|
jaywatkins
|
Reply Date:
|
4/19/2006 8:58:26 AM
|
Hello Mr. Chang,
I was able to get the form to resemble figure 5-4, complete with Select, edit and delete buttons. The problem is they just do not do anything. This same issue is what plagued the exercises in chapter four. my initial problems was that a security policy was preventing SQL from starting. I straightened that out, but still have the same issue. I still do not think this book is for beginners. I am not a beginner, and look at the trouble I am having. I have done lots of work with SQL 2000 and VB.NET 2003, so this is not unfamiliar territory.
Thank you for your reply.
/J
|