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 82
Search took 0.01 seconds.
Search: Posts Made By: rsm42
Forum: ASP.NET 1.0 and 1.1 Basics August 8th, 2007, 11:36 AM
Replies: 12
Views: 1,848
Posted By rsm42
OK fair point. Thanks for all your efforts...

OK fair point.

Thanks for all your efforts and contributions.

Thanks
Forum: ASP.NET 1.0 and 1.1 Basics August 7th, 2007, 02:28 PM
Replies: 12
Views: 1,848
Posted By rsm42
Thanks both. I used the suggested code i.e. ...

Thanks both.

I used the suggested code i.e.

For Each ctrl As Control In Form.Controls
If TypeOf ctrl Is TextBox Then
Dim txt As TextBox = CType(ctrl, TextBox)
txt.Text =...
Forum: ASP.NET 1.0 and 1.1 Basics August 6th, 2007, 12:11 PM
Replies: 12
Views: 1,848
Posted By rsm42
Thanks - tried the code : For Each ctrl As...

Thanks - tried the code :

For Each ctrl As Control In form.Controls
If TypeOf ctrl Is TextBox Then
CType(ctrl, TextBox).Text = CType(ctrl, TextBox).Text.Replace("""","")
End If
Next

Notice...
Forum: ASP.NET 1.0 and 1.1 Basics August 4th, 2007, 05:30 AM
Replies: 12
Views: 1,848
Posted By rsm42
Code Efficiency

Hi,

Using asp.net 1.1. and vb.net 2003 I have a form which contains a number of

textboxes which uses the replace function to remove any unwanted quotes

inputted by accident. Rather than...
Forum: ASP.NET 1.0 and 1.1 Basics August 4th, 2007, 05:29 AM
Replies: 4
Views: 1,346
Posted By rsm42
Thanks In the end the following line of...

Thanks

In the end the following line of code worked :

txtPassword.Text = txtPassword.Text.Replace("""","")

Thanks
Forum: ASP.NET 1.0 and 1.1 Basics August 4th, 2007, 04:59 AM
Replies: 4
Views: 1,346
Posted By rsm42
Thanks However this is still not working....

Thanks

However this is still not working. Whenever an entry is inputted with quotation marks e.g. "myentry" the database records the value with the quotation marks i.e. "myentry". Basically I want...
Forum: ASP.NET 1.0 and 1.1 Basics August 3rd, 2007, 05:30 AM
Replies: 4
Views: 1,346
Posted By rsm42
Replace Function Query

Hi,

Using asp.net 1.1 and vb.net I have a form that a user updates and their details are written to a database. One validation check I want to add is to ensure any quotation marks are removed from...
Forum: ASP.NET 1.0 and 1.1 Basics August 1st, 2007, 10:19 AM
Replies: 5
Views: 1,041
Posted By rsm42
I could not get this to work despite several...

I could not get this to work despite several attempts and different ways of approaching this. So I cheated somewhat and converted the first button to a hyperlink and the login button now works when...
Forum: ASP.NET 1.0 and 1.1 Basics July 30th, 2007, 08:13 AM
Replies: 5
Views: 1,041
Posted By rsm42
Thanks - what's the easiest way to do this then ?

Thanks - what's the easiest way to do this then ?
Forum: ASP.NET 1.0 and 1.1 Basics July 27th, 2007, 01:41 PM
Replies: 5
Views: 1,041
Posted By rsm42
Button Query

Hi,

I have a query about asp.net buttons. Using asp.net 1.1 and vb.net 2003 code I have a login screen in which customers can either register their details for the first time or existing customers...
Forum: ASP.NET 1.0 and 1.1 Basics July 4th, 2007, 02:22 PM
Replies: 1
Views: 1,742
Posted By rsm42
Pls ignore - I've fixed it now thanks just used :...

Pls ignore - I've fixed it now thanks just used :

lblSearchItem.Text = "You have selected " + Product.SelectedItem.Value
Forum: ASP.NET 1.0 and 1.1 Basics July 4th, 2007, 02:06 PM
Replies: 1
Views: 1,742
Posted By rsm42
Drop Down List Code Query

Hi,

Within asp.net 1.1 and vb.net I've got a page containing a dropdwon list control as per the code below :



<asp:DropDownList id="Product" runat="server">
<asp:ListItem...
Forum: ASP.NET 1.0 and 1.1 Basics July 2nd, 2007, 12:04 PM
Replies: 1
Views: 819
Posted By rsm42
Passing Type value Error

Hi,

Within asp.net 1.1 and vb.net I want to display what item has been selected

from a drop down list. So for example if a customer clicks on Electric

Guitars, the text will display...
Forum: ASP.NET 1.0 and 1.1 Basics July 2nd, 2007, 11:49 AM
Replies: 2
Views: 719
Posted By rsm42
Thanks - worked nicely :)

Thanks - worked nicely :)
Forum: ASP.NET 1.0 and 1.1 Basics June 22nd, 2007, 01:56 PM
Replies: 2
Views: 719
Posted By rsm42
Passing Value Query

Hi,

I wondered if someone could assist with a query I have ? Using asp.net 1.1 and vb.net 2003, I want to set up some hyperlinks on a page. Within these hyperlinks I want to assign a different...
Forum: ASP.NET 1.0 and 1.1 Basics June 13th, 2007, 02:40 PM
Replies: 3
Views: 1,184
Posted By rsm42
Thanks both In the end I changed tatics and...

Thanks both

In the end I changed tatics and used an regular expression validator to solve this issue - thanks again for your inputs....
Forum: ASP.NET 1.0 and 1.1 Basics June 12th, 2007, 02:02 PM
Replies: 3
Views: 1,184
Posted By rsm42
IsNumeric Query

Hi,

Within an e-commerce website, the cart summary page allows customers to

change the quantities of ordered items. Within this page I want to add the

following restrictions :

*...
Forum: ASP.NET 1.0 and 1.1 Basics June 5th, 2007, 11:52 AM
Replies: 2
Views: 709
Posted By rsm42
Worked a treat - thanks

Worked a treat - thanks
Forum: ASP.NET 1.0 and 1.1 Basics June 4th, 2007, 01:54 PM
Replies: 2
Views: 709
Posted By rsm42
Button / Form Query

Hi there,

I wondered if someone can point me in the right direction ? Within an asp.net website, designed in asp.net 1.1 with vb.net 2003, I have created a form that includes text boxes for...
Forum: ASP.NET 1.0 and 1.1 Basics May 19th, 2007, 04:58 AM
Replies: 1
Views: 895
Posted By rsm42
Got it working now thanks. Just changed the...

Got it working now thanks.

Just changed the following line from :

<%# FormatNumber(GetAmount(Container.DataItem("curSalePrice"),

TO

<%#...
Forum: ASP.NET 1.0 and 1.1 Basics May 17th, 2007, 04:49 AM
Replies: 1
Views: 895
Posted By rsm42
Formatting Query

Hi,

Within an e-commerce based web site, I display contents of the

shopping cart. Within the cart there are the following fields :

Quantity
ItemPrice (Look up within database)
Amount =...
Forum: ASP.NET 1.0 and 1.1 Basics May 16th, 2007, 05:04 AM
Replies: 7
Views: 1,129
Posted By rsm42
Fixed it now - thanks all

Fixed it now - thanks all
Forum: ASP.NET 1.0 and 1.1 Basics May 15th, 2007, 06:10 AM
Replies: 7
Views: 1,129
Posted By rsm42
Thanks All. In the end I went for the...

Thanks All.

In the end I went for the following code which is working better and creating unique values. However there's a glitch !



Dim MyValue As Integer
'Initialize random-number...
Forum: ASP.NET 1.0 and 1.1 Basics May 14th, 2007, 12:01 PM
Replies: 7
Views: 1,129
Posted By rsm42
Random Number Function Query

Hi,

Within an e-commerce web site, I've created the following function to

create a random number. Basically I use this random number to be the

CartID for the site and store this within the...
Forum: ASP.NET 1.0 and 1.1 Basics April 27th, 2007, 11:38 AM
Replies: 3
Views: 793
Posted By rsm42
Thanks, No error received. A colleague...

Thanks,

No error received. A colleague suggested the SQL statement could be the issue, so here it is :

Dim queryString As String = "SELECT [tblCartItems].[intCartID],...
Showing results 1 to 25 of 82

 


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


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