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 37
Search took 0.01 seconds.
Search: Posts Made By: Phil Critchley
Forum: ASP.NET 4 General Discussion May 4th, 2011, 01:43 PM
Replies: 1
Views: 904
Posted By Phil Critchley
Insert statement?

Hi

Does anyone have any experience of SQL Insert Statement. I have the below statement in one of my ASP projects. The first time the user executes the statement it works as intended and creates...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 01:25 PM
Replies: 21
Views: 16,950
Posted By Phil Critchley
IT WORKS!!!!

Hi Imar

THANK YOU LOADS!!! It finally works I've been pulling my hair out for days trying to get this to work and now it finally does!

I glad this resource is available to people like me who...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 01:06 PM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Dead Link

Hi Imar

can you repost this http://www.google.com/#q=%22event%20...t%20handled%22 as the link is just direct to Google and no actual search reference?

Thank you for all your help its much...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 01:00 PM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Error Message

Since taking off the Update Panel I get the error code as shown below:


Server Error in '/' Application.
________________________________________
The GridView 'GridViewReservations' fired...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 12:47 PM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Update Panel

Hi Imar

Yes its inside an update panel? Is that a no no for this functionality?
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 12:43 PM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Debug Error

Hi Imar

I get the following error when I debug the affected page. Does this mean it can't find the JScript plug-in?



<%@ Page Title="Shap Library Resources - User Account Information "...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 09:24 AM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Javascript functions from Gridview RowCommand Event

Hi Imar

I've tried the suggestion of RegisterStartupScript

If (e.CommandName = "Cancel") Then

' Retrieve the row index stored in the CommandArgument property.
Dim...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 06:20 AM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Thank you

Hi Imar

Thank you for the confirmation. I don't think the buttonfield control embedded within gridview fires a post back of the page or at least mine wasn't hence the reason why I put in the...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 05:34 AM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Response.Redirect(Request.RawUrl)

Hi Imar

If I take out Response.Redirect(Request.RawUrl) will the RegisterStartupScript refresh the page after the 5 second pause? as that was the reason why I place the...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 05:24 AM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Additional Comments

Hi Imar

I forgot to mention I have a second buttonfield control on my gridview which I need to display completely different messages to the user depending on the evaulation of an IF statement, see...
Forum: ASP.NET 4 General Discussion May 3rd, 2011, 05:15 AM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Gridview RowCommand Event

Hi Imar

Thank you for the quick reply.

I have a gridview in my project which I have added ButtonField controls too. I have got the control to fire an associated procedure but I want it to...
Forum: ASP.NET 4 General Discussion May 2nd, 2011, 06:26 PM
Replies: 21
Views: 16,950
Posted By Phil Critchley
Javascript functions from Gridview RowCommand Event

Hi

Does anyone know how to call Javascript functions from a Gridview RowCommand Event in ASP?

Thanks
Forum: ASP.NET 4 General Discussion April 30th, 2011, 10:51 AM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to Entities Select Query

Hi Imar

I understand were your coming from using the Enumerable 'Single()' Method but when I try to implement it within my code I get syntax errors

Using myLiteratureCatalogue As New...
Forum: ASP.NET 4 General Discussion April 30th, 2011, 09:25 AM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to Entities Select Statement

Does anyone have an example of how you loop through a LINQ to Entities resultset to store each result as a different variable?
Forum: ASP.NET 4 General Discussion April 30th, 2011, 08:04 AM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to Entities Select Statement

Hi Imar

Thank you for the quick response. My code should always return two values the ReservationID (GUID) and the StatusID(INT32) for the specific PublicationID (INT32) provided from a stored...
Forum: ASP.NET 4 General Discussion April 30th, 2011, 07:42 AM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to Entities Select Query

Hi

Does anyone know how to assign the returned values of a LINQ to Entities Select query to individual variables?

Using myLiteratureCatalogue As New Model1.Literature_Cataloguing_SystemEntities...
Forum: ASP.NET 4 General Discussion April 27th, 2011, 03:01 PM
Replies: 0
Views: 1,224
Posted By Phil Critchley
Iterate through Gridview

Hi guys

Has anyone got any experience of writing code in VB to iterate through a gridview testing date values displayed in one of the displayed columns?

Thanks

Phil
Forum: ASP.NET 4 General Discussion April 26th, 2011, 03:26 PM
Replies: 2
Views: 3,861
Posted By Phil Critchley
Error - Object reference not set to an instance of an object

Hi Everyone

Wondered if anyone had come across 'Object reference not set to an instance of an object' before when working with sessions?

I am trying to pass values between pages in a web...
Forum: ASP.NET 4 General Discussion April 17th, 2011, 03:04 PM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ Null Update

Hi Imar

Yeah the 'Nothing' function worked as you suggested. The majority of web sources I'd found suggested the 'Null' function I didn't even think that the NULL option was only available for C#...
Forum: ASP.NET 4 General Discussion April 17th, 2011, 02:11 PM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ Update

Hi Imar

I did originally think that it was that simple but when I tried setting the value as 'null' as per your example Visual Studio code behind page throws an exception saying it is not allowed....
Forum: ASP.NET 4 General Discussion April 16th, 2011, 05:48 PM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ Update

Hi Imar

Is it possible to update a SQL Server database field with a NULL value using LINQ to Entities?

I'm trying to update a UniqueIdentifier field by getting the update to empty out the GUID....
Forum: ASP.NET 4 General Discussion April 13th, 2011, 05:09 AM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to Entities

Hi Imar

Thanks very much for all the information you have provided me with. Its definately very beneficial to a novice like me who is just starting out with building ASP projects and not familiar...
Forum: ASP.NET 4 General Discussion April 12th, 2011, 05:45 PM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to SQL

Hi Imar

I'm using Entity Framework. I can't get 'SubmitChanges' to implement with the EF and the only method I've found which is remotely the same is 'SaveChanges'. I'm assuming that both...
Forum: ASP.NET 4 General Discussion April 12th, 2011, 03:57 PM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to SQL

Hi Imar

Thanks for the posting, it definately helps and explains what I'm after doing.

Thanks for your help.

Phil
Forum: ASP.NET 4 General Discussion April 12th, 2011, 03:10 PM
Replies: 22
Views: 15,449
Posted By Phil Critchley
LINQ to SQL

Hi Imar

Thanks for the reply. I want to update the status of a record in my SQL database which is by default set to '1' when the user interact which the system and triggers the update, I want to...
Showing results 1 to 25 of 37

 


All times are GMT -4. The time now is 06:53 AM.


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