Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 71
Search took 0.01 seconds.
Search: Posts Made By: leeWozyWarren
Forum: SQL Language February 18th, 2012, 05:02 PM
Replies: 3
Views: 1,933
Posted By leeWozyWarren
Thanks so much for the advice. It works now. So...

Thanks so much for the advice. It works now. So simple an answer too! Cheers!

Lee
Forum: BOOK: Beginning Microsoft SQL Server 2008 Programming ISBN: 978-0-470-25701-2 February 15th, 2012, 09:14 AM
Replies: 0
Views: 2,036
Posted By leeWozyWarren
SQL doesn't accept FOR XML PATH syntax...

Hi guys,

I am using Management Studio 2008 and trying to write a query using FOR XML PATH. But the the word PATH is throwing an error! Here is my code:

SELECT Id, Name AS "Submitters Name",...
Forum: SQL Language February 15th, 2012, 09:09 AM
Replies: 3
Views: 1,933
Posted By leeWozyWarren
SQL Syntax doesn't work in MS 2008

Hi guys,

I am using Management Studio 2008 and trying to write a query using FOR XML PATH. But the the word PATH is throwing an error! Here is my code:

SELECT Id, Name AS "Submitters Name",...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 29th, 2012, 01:41 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
Thanks Imar. How would I do the skipping of...

Thanks Imar.

How would I do the skipping of the conversion if a Null was detected?

Lee
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 29th, 2012, 01:22 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
All working now - except for one thing which I...

All working now - except for one thing which I wasn't expecting. I can go to my first page where I can choose a record and the query_string is passed to the next page where the EF picks it up and...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 24th, 2012, 05:15 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
Scratch that... I deleted the old files I have...

Scratch that... I deleted the old files I have set up with the errors and it all now works... so far. I shall continue testing and come back if any further problems.

Thanks for your help again...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 24th, 2012, 05:05 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
I tried to make some changes but was getting no...

I tried to make some changes but was getting no where so I decided to recreate the page complete with a new table with a reduced amount of text box's. I also remade the EF .edmx file from scratch....
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 24th, 2012, 02:43 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
Thanks Imar. I will try 1 and 2 and see what...

Thanks Imar. I will try 1 and 2 and see what happens. What is the difference between development and run-time?
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 23rd, 2012, 05:11 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
I'm not sure what these actually mean!

I'm not sure what these actually mean!
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 23rd, 2012, 04:48 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
These are the errors that the debugging throws...

These are the errors that the debugging throws up...


Error 1 'MileageModel.MileageEntities' does not contain a definition for 'AddToMileage' and no extension method 'AddToMileage' accepting a...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 23rd, 2012, 04:08 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
Hi Imar, _id in the page_load gets a value...

Hi Imar,

_id in the page_load gets a value from a query string when a user clicks a link in an other page.

But the _id in the button_click doesn't get a value for "insert a new item" but it...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 23rd, 2012, 04:00 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
Hi Imar, I thought that _id was a variable!...

Hi Imar,

I thought that _id was a variable! I have no actual data using _id in a data or view.

Lee
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 22nd, 2012, 05:43 PM
Replies: 16
Views: 1,932
Posted By leeWozyWarren
Chapter 15 Error

Hi,

I am trying the Try it out in Ch15 with my own code. The Page_Load works fine, but the Save_Button_Click throws errors around the following:

myEntities.AddToMileages(myMileage);
...
Forum: ASP.NET 4 General Discussion December 10th, 2011, 12:32 PM
Replies: 4
Views: 1,312
Posted By leeWozyWarren
Hi Imar, Here are the answers to your...

Hi Imar,

Here are the answers to your questions:

1. The actual regsql command you're executing
I'm not getting to any command. I get the error before I get there.

2. Whether or not the...
Forum: ASP.NET 4 General Discussion December 9th, 2011, 12:39 PM
Replies: 4
Views: 1,312
Posted By leeWozyWarren
As an addition to the above, I have tried to...

As an addition to the above, I have tried to attach other databases in Server Management Studio and I get an error each time I try...


TITLE: Microsoft SQL Server Management Studio...
Forum: ASP.NET 4 General Discussion December 9th, 2011, 11:29 AM
Replies: 4
Views: 1,312
Posted By leeWozyWarren
reqsql error!

I want to put the ASPNETDB database into another database that has my other tables in.

I just tried the reqsql and got this error: Any idea why?

I tried it on another database in another...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 9th, 2011, 07:09 AM
Replies: 1
Views: 822
Posted By leeWozyWarren
CH13 page 460 - not working!

CH13 page 460

Ive done this before following the book and all went well. I am now doing it with my own design. But I am not getting any table showing on the AddEdit page once a user chooses an...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 7th, 2011, 01:42 PM
Replies: 5
Views: 1,189
Posted By leeWozyWarren
Thanks. There isnt a table called NewClient!...

Thanks.

There isnt a table called NewClient! It's simply Clients. I changed the coding to reflect this and this is what I have:



using System;
using System.Collections.Generic;
using...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 7th, 2011, 01:20 PM
Replies: 5
Views: 1,189
Posted By leeWozyWarren
Sorry! this is the error I get: I...

Sorry!

this is the error I get:



I get it when I F5 the page...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 7th, 2011, 12:38 PM
Replies: 5
Views: 1,189
Posted By leeWozyWarren
CH 14 A Simple EntityDataSource Application - Error!

OK so this has really got me now. Ive been looking over this all afternoon with no luck.

CH 14 A Simple EntityDataSource Application

I am getting an error in the code behind for the Id element...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 7th, 2011, 08:34 AM
Replies: 3
Views: 844
Posted By leeWozyWarren
Doh! I re-typed the two lines in the code...

Doh!

I re-typed the two lines in the code behind and the error disappeared. Even though it said exactly the same as before!

Why does that happen?
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 7th, 2011, 08:29 AM
Replies: 3
Views: 844
Posted By leeWozyWarren
Ahhh - Found it. I had misspelt collections as...

Ahhh - Found it. I had misspelt collections as collection!

Now the next issue on the same page.
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 7th, 2011, 08:19 AM
Replies: 3
Views: 844
Posted By leeWozyWarren
CH 17 Storing Genre Preferences in the Profile - Error!

CH 17 Storing Genre Preferences in the Profile

Completed this and ran it. However, I get a build error as below:


Error 1 The type or namespace name 'Collection' does not exist in the...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 6th, 2011, 06:22 PM
Replies: 1
Views: 1,531
Posted By leeWozyWarren
Doesn't matter - I figured it out [:)]

Doesn't matter - I figured it out [:)]
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 6th, 2011, 06:18 PM
Replies: 1
Views: 1,531
Posted By leeWozyWarren
Ch 17 Storing Basic User Data in the Profile - dateOfBirth Error!

Ch 17 Storing Basic User Data in the Profile

All going good again, but when I come to add the date to the date of birth text box, the validator says it is wrong? How come?

Code behind:

using...
Showing results 1 to 25 of 71

 


All times are GMT -4. The time now is 10:23 AM.


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