Hi all,
I have been asked to investigate whether there is any automated tool to convert MS Access applications into .NET web applications with a SQL backend. I've taken a look at 2 currently on the market - DBForms and Microtools Access Whiz. Both of them handled the data conversion fine but...
Hi all,
On my TreeView, the javascript code to expand or collapse the menu items is displaying in the status bar when the user hovers over those images e.g.
javascript:TreeView_ToggleNode(ctl00_leftNavigationTreeview_Data...
Is there any way to prevent this from displaying? It looks...
Hi all,
I'd just like to get your thoughts on what would be faster overall - caching values from the web.config file, or just reading them as required.
Caching would obviously add overhead to the server memory but I'm curious as to whether it would give any significant performance gains...
Hi all,
Another question on getting a record for the most recent date...
I have a list of prices in a table and I need to get the most recent price for a specified item.
I've got the following query which correctly brings back the most recent price:
select priceID, price_date, price_value...
Hi all,
I'm passing a list of values to a stored procedure using an XML parameter.
The stored procedure is used to search a table for matching values so this list can contain one or many values, or could be NULL to indicate all values should be returned.
How can I phrase my query to cope...
Hi everybody,
I'm using dynamic SQL in a stored procedure to build up a query that can have a variety of WHERE clauses depending on what parameters are passed into the stored procedure. One of my parameters (a DATETIME) seems to be causing an error:
Conversion failed when converting datetime...
Hi everyone,
I'm currently doing a calculation in a stored procedure and I need to check if all of my calculated values are zero.
I've allocated the values to variables as they are used in various places during the calculations - aside from a massive IF statement, is there an elegant way to...
Hi all,
I'm encountering a horrible problem with Netscape 7.0 with a line break occurring before a <form> tag.
I've got the following HTML:
<span class="toptoolbar">
<a href="/search/sitemap.aspx" class="toollink">Site map</a> | <a href="/contact/default.aspx" class="toollink">Contact us</a>...
Hi all,
Here is a snippet from my XSL file:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" omit-xml-declaration="yes"/>
<xsl:template match="mytemplate" xml:space="preserve">
<div>...
Hi all
I've got a 'best practice' question here.
I've got several dropdown lists on a web application to allow the user to select various options e.g. Title (Mr, Mrs etc.). The application should be easy to update and we cannot use a database to store the values.
What would be the best option...
Hi all
I need to return several collections in my code and do various processing with them once they have been returned. In terms of speed - what would be faster - creating and adding them into an XmlDataDocument and traversing the document or adding them into an Array list and looping through...
Hi all
I have two classes in my web application that inherit from IHttpModule. Is it necessary to keep them separate or could I combine them into a single class? What are the speed implications of keeping them separate?
Thanks as always
Craftor
8-)
Hi all
Just a quick question on best practices. I have a legacy VB6 project that I'm converting to C# 2.0. There are a lot of constants littered throughout the various VB modules - I would like to consolidate them into one central location.
Would it be a good idea to create a project -...
Hi all
I'm trying to implement the SiteMap component in a web page. The MSDN pages I've read seem to indicate that you can name the .sitemap file something other than web.sitemap. My site will have several different sitemaps, depending on where in the site the user is navigating.
With nothing...
Hi all
I've got a wierd problem occurring when I create new web projects. As soon as I try to navigate to an ASPX web page - it gives me a 404 not found. I've checked the path and it is going to the correct location and the wierd thing is that 'plain' HTML files present no problem.
Can anyone...
Hi all
I am currently in the process of creating a server control for inclusion on a form. One of the attributes should be required. Is there any way to force this when I set up the attributes? My code for the attribute currently looks like:
[Category("Custom")]
public string ModuleID
{...
Hi all
I have a very strange error occuring in my development environment. Whenever I create a new, blank ASP.NET project, with the default webform and I try to run the code (it's a blank page), it comes up with the following error:
AuthManager(CommerceServer): Call to SiteConfig:;Initialize()...
Hi all
I am trying to compile a DLL from the command line but I need to include one of the web references. My command line is as follows:
csc /t:library /r:System.dll,System.Web.dll,system.xml.dll,bin\Debug\Pub.dll,bin\Debug\ErrorClient.dll,Web References\CService\Reference.cs VarEmitter.cs...
Hi all
I currently have a file input box on my form that a user will use to select an image. When the user clicks 'Browse' and selects an image, I'd like to use that posted image as the source for an <img> tag on the page.
Is this at all possible to do and, if so, how? :-)
Thanks as always...
Hi all
I have a database that is full text indexed. I am trying to search for a string that contains a single quote ('). When I try to do a SELECT statement with CONTAINS, it gives me the following error:
Syntax error occurred near 'wants'. Expected ''''' in search condition 'Mary-Lou wants...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.