Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 180
Search took 0.36 seconds.
Search: Posts Made By: SouthwaterDave
Forum: ASP.NET 03-24-2012, 05:53 PM
Replies: 1
Views: 913
Posted By SouthwaterDave
I wouldn’t use the query string in this manner....

I wouldn’t use the query string in this manner. Someone taking the test could easily change the address in their browser to Q2.aspx?score=5000000, for instance.

A better way to put together a 5...
Forum: ASP.NET 03-24-2012, 05:34 PM
Replies: 6
Views: 1,299
Posted By SouthwaterDave
Is the lblDescription control a standard ASP.NET...

Is the lblDescription control a standard ASP.NET web control? If so, how is its Text property set? Is your copy stored in a SQL database? Maybe the table column is only defined as varchar(200).
Forum: ASP.NET 03-24-2012, 05:06 PM
Replies: 1
Views: 693
Posted By SouthwaterDave
I’m not familiar with Deep Freeze so I’m guessing...

I’m not familiar with Deep Freeze so I’m guessing a little, but why don’t you just look for the executable file? For example,


if (System.IO.File.Exists("C:\\Program Files\\faronics\\Deep...
Forum: ASP.NET 03-24-2012, 04:46 PM
Replies: 3
Views: 2,542
Posted By SouthwaterDave
Here's one way, using regular expressions... ...

Here's one way, using regular expressions...

Imports System.Text.RegularExpressions

Module Module1
Sub Main()
Dim source As String = "Hello", target As String = ""

...
Forum: ASP.NET 04-04-2011, 06:51 PM
Replies: 2
Views: 1,455
Posted By SouthwaterDave
The answer may be different for other database...

The answer may be different for other database but for SQL Server you probably want something like this:

select name1, name2, mail_street1 + ' ' + mail_street2 + ' ' + mail_state + ' ' + mail_zip...
Forum: ASP.NET 11-18-2010, 02:54 PM
Replies: 1
Views: 6,936
Posted By SouthwaterDave
How is your API implemented? As a web page or a...

How is your API implemented? As a web page or a web service, or something else altogether?

A web page or a web service could check the request's server variables to determine where the request...
Forum: ASP.NET 05-03-2010, 09:55 PM
Replies: 13
Views: 82,183
Posted By SouthwaterDave
Using Word interop is a bad idea in an ASP.NET...

Using Word interop is a bad idea in an ASP.NET web page. Something to do with the threading models used, I think.

It is better to write a Word XML file to the response stream and set the http...
Forum: ASP.NET 05-03-2010, 09:47 PM
Replies: 2
Views: 1,581
Posted By SouthwaterDave
I'm not 100% sure of this but I believe that Linq...

I'm not 100% sure of this but I believe that Linq to SQL is no longer being developed by Microsoft.

I recommend that you stick with the System.Data.SqlClient.
Forum: ASP.NET 01-03-2010, 03:52 PM
Replies: 3
Views: 6,769
Posted By SouthwaterDave
Assuming your target database is a SQL Server...

Assuming your target database is a SQL Server database then the quickest option would probably be one of:


Use Access to export the data to the SQL Server database.
Write the contents of each...
Forum: ASP 12-05-2009, 12:59 PM
Replies: 1
Views: 1,576
Posted By SouthwaterDave
I am not too familiar with what you are doing...

I am not too familiar with what you are doing with LDAP but there is a bit of suspect VB code:


If Err.Number = 0 Then
response.redirect "ppHome.asp"
End If

ElseIf Err.Number <> 0 Then...
Forum: ASP.NET 12-05-2009, 12:40 PM
Replies: 1
Views: 1,382
Posted By SouthwaterDave
The problem, I think, is that you have a...

The problem, I think, is that you have a certificate for www.example.com (http://www.example.com) but you have changed the url to only contain example.com (missing the www).

You will need to beef...
Forum: ASP.NET 12-05-2009, 12:28 PM
Replies: 1
Views: 1,119
Posted By SouthwaterDave
There is no such attribute as a...

There is no such attribute as a Response.QueryString or a Response.Query. You need a Request.QueryString:

<asp:HyperLink ID="HyperLink1" runat="server" Text="View Details"
NavigateUrl='<%#...
Forum: ASP.NET 12-03-2009, 09:29 PM
Replies: 2
Views: 1,766
Posted By SouthwaterDave
If you are attempting what I think you are then...

If you are attempting what I think you are then you need to use AJAX. See http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-15-vb.aspx for a demo and the code to achieve it.
Forum: ASP.NET 12-03-2009, 09:12 PM
Replies: 1
Views: 1,129
Posted By SouthwaterDave
Here is a brief example with 2 threads: ...

Here is a brief example with 2 threads:

Imports System.Threading

Module Module1
Sub Main()
'Create 2 threads and tell them what to do...
Dim t1 As New Thread(AddressOf Process1)
...
Forum: ASP 11-06-2009, 05:40 PM
Replies: 1
Views: 1,236
Posted By SouthwaterDave
I think your connection string is wrong. It...

I think your connection string is wrong. It should be .\sqlexpress or machineName\sqlexpress.
Forum: ASP.NET 11-06-2009, 05:22 PM
Replies: 1
Views: 1,245
Posted By SouthwaterDave
I see you are still using a DataGrid. Are you...

I see you are still using a DataGrid. Are you using an old version of ASP.NET? 1.0 or 1.1, perhaps?

The ObjectDataSource could be the answer to your problem but I think it was only introduced in...
Forum: ASP.NET 10-17-2009, 06:23 PM
Replies: 1
Views: 1,844
Posted By SouthwaterDave
If you bind your DataList, GridView or ListView...

If you bind your DataList, GridView or ListView to an ObjectDataSource in your .aspx file then you may not need any code at all in the corresponding .aspx.vb file.

Here are a few code snippets to...
Forum: ASP.NET 10-17-2009, 05:33 PM
Replies: 1
Views: 1,115
Posted By SouthwaterDave
I think you have tried to use C# syntax but you...

I think you have tried to use C# syntax but you are coding in VB.

Try:

<asp:Image runat="server" ID="Image1"
ImageUrl='<%#String.Concat( "~/images/cards/",...
Forum: ASP.NET 10-17-2009, 05:21 PM
Replies: 2
Views: 1,264
Posted By SouthwaterDave
http://www.w3schools.com/ have lots of excellent...

http://www.w3schools.com/ have lots of excellent web building tutorials and references. The ASP.NET tutorial starts at http://www.w3schools.com/aspnet/.

Microsoft's http://www.asp.net site has...
Forum: ASP.NET 10-17-2009, 05:11 PM
Replies: 1
Views: 954
Posted By SouthwaterDave
I am not sure I understand you question, but the...

I am not sure I understand you question, but the following example is one of way of achiveing what I thought you asked:
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
Forum: ASP.NET 10-17-2009, 04:39 PM
Replies: 1
Views: 2,306
Posted By SouthwaterDave
Mmm. Where do I start? Your VB code is...

Mmm. Where do I start?


Your VB code is actually in a <script> tag, or in code-behind, isn’t it?
What are you trying to achieve with the table in the item template?
Does the test8.aspx page...
Forum: ASP.NET 10-05-2009, 02:24 PM
Replies: 1
Views: 1,076
Posted By SouthwaterDave
This would be a perfectly good application for...

This would be a perfectly good application for ASP.NET (or any other web server technology).

The key factors for your decision are:

What web server will you implement it on?

What web...
Forum: ASP.NET 10-05-2009, 02:18 PM
Replies: 5
Views: 2,336
Posted By SouthwaterDave
There is no need to store the UnitMark in the...

There is no need to store the UnitMark in the database. That is just a waste of space.

Instead you calculate the UnitMark dynamically on display:

select ass1 + ass2 + Exam as UnitMark...
...
Forum: ASP.NET 10-05-2009, 02:10 PM
Replies: 1
Views: 1,185
Posted By SouthwaterDave
There may be a data source. The...

There may be a data source.

The <EditItemTemplate> will probably be in a GridView or ListView control. This control may have a DataSourceId attribute. Locate the ObjectDataSource or SqlDataSource...
Forum: ASP.NET 05-23-2009, 01:42 PM
Replies: 1
Views: 1,377
Posted By SouthwaterDave
Add this to your code behind: protected...

Add this to your code behind:

protected string MultiplyBy10(int value)
{
return (value * 10).ToString();
}

and change your control like this:

<asp:Label ID="weightLabel"...
Showing results 1 to 25 of 180

 
Forum Jump

All times are GMT +1. The time now is 10:04 AM.