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 | 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 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
Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: rrmarriott
Forum: ASP.NET 2.0 Basics June 28th, 2006, 04:55 AM
Replies: 2
Views: 2,713
Posted By rrmarriott
Hi There, Just before attempting to give you...

Hi There,

Just before attempting to give you a solution, I assume you are wanting to use a SqlDataSource control?

Rich
Forum: ASP.NET 2.0 Basics June 27th, 2006, 01:32 PM
Replies: 5
Views: 4,862
Posted By rrmarriott
Pam, I don't think that there is any design...

Pam,

I don't think that there is any design time support for inserting calculated fields (I'm not fully sure, correct me if wrong anyone). But handling the events of the SqlDataSource is nearly as...
Forum: ASP.NET 2.0 Basics June 27th, 2006, 03:30 AM
Replies: 5
Views: 4,862
Posted By rrmarriott
Hi There, If I understand your situation...

Hi There,

If I understand your situation correctly, you want to take the value of two (maybe more) fields, do a calculation and assign the result to a single parameter. If so, you should use the...
Forum: ASP.NET 2.0 Basics June 24th, 2006, 06:31 PM
Replies: 10
Views: 9,178
Posted By rrmarriott
Aaron, After you postback each time, are you...

Aaron,

After you postback each time, are you actually resetting the selected value of the drop down list? I can't see anywhere in your code that is doing this (however I do assume that all your...
Forum: ASP.NET 2.0 Professional June 24th, 2006, 01:05 PM
Replies: 10
Views: 18,001
Posted By rrmarriott
Hi Again, Another problem could be that the...

Hi Again,

Another problem could be that the permissions are set incorrectly on the /bin directory of your deployed web application. This would prevent asp.net from finding the dll within the bin...
Forum: ASP.NET 2.0 Basics June 24th, 2006, 12:55 PM
Replies: 10
Views: 9,178
Posted By rrmarriott
Aaron, Inside you RowCommand event, you are...

Aaron,

Inside you RowCommand event, you are calling AcceptChanges on your DataSet. This saves changes in the disconnected DataSet, but not actually to the underlying database itself. Because of...
Forum: ASP.NET 2.0 Basics June 24th, 2006, 12:41 PM
Replies: 5
Views: 2,280
Posted By rrmarriott
Alex, Apologies, I sent you c# code - me...

Alex,

Apologies, I sent you c# code - me getting mixed up! Here is the VB.Net equivalent:

Page.ClientScript.RegisterStartupScript(GetType(String), "MyStartupScript", String.Format("<script...
Forum: ASP.NET 2.0 Professional June 24th, 2006, 04:05 AM
Replies: 1
Views: 2,034
Posted By rrmarriott
Hi There, The a strategy you could take...

Hi There,

The a strategy you could take would be to load the file from the file system into a stream, and then BinaryWrite the file to the browser giving it a different filename. This would...
Forum: ASP.NET 2.0 Professional June 24th, 2006, 03:54 AM
Replies: 10
Views: 18,001
Posted By rrmarriott
Hi There, I don't know whether this seems...

Hi There,

I don't know whether this seems like an obvious question to you or not (sorry if it is!), but have you also uploaded the compiled dll (from the bin directory) to the web server? The type...
Forum: ASP.NET 2.0 Basics June 24th, 2006, 03:48 AM
Replies: 5
Views: 2,280
Posted By rrmarriott
Alex, Ok, its probably best in that case to...

Alex,

Ok, its probably best in that case to use the ClientScriptManager of the Page object to register a script to run on startup if you exception occurs. To do this, use the following code:
...
Forum: ASP.NET 2.0 Basics June 24th, 2006, 03:21 AM
Replies: 1
Views: 3,196
Posted By rrmarriott
Hi There, In .Net there are many ways of...

Hi There,

In .Net there are many ways of interacting with a database, but as you mention parameters in your post, I assume that you want to use the connected method of data access that doesn't use...
Forum: ASP.NET 2.0 Basics June 23rd, 2006, 10:32 AM
Replies: 2
Views: 3,263
Posted By rrmarriott
Hi There, When working with ASP.NET you have...

Hi There,

When working with ASP.NET you have to remember that all of yoour controls in the end get rendered purely as HTML. In HTML there are no equivalent elements to create a multi-column list...
Forum: ASP.NET 2.0 Basics June 23rd, 2006, 10:25 AM
Replies: 5
Views: 2,280
Posted By rrmarriott
Hi There, You do need to use javascript to...

Hi There,

You do need to use javascript to display a simple message box. The main reason is that (I think I am right, I mainly code in c#) the MsgBox function you are using creates a dialogue that...
Showing results 1 to 13 of 13

 


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


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