Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > january 2008 > threads for thursday january 24

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Connection String in app.config
Posted by Fresno Bob at 1/24/2008 8:26:42 PM
I am creating data access layer with strongly typed datasets in a class library included in a Website Project. My website uses a web.config file to store the connection string but the class uses the app.config. When I deploy my application is there any way of changing the app config without...more >>


Bind label to SiteMapDataSource
Posted by John at 1/24/2008 6:52:53 PM
Hi there, I'm using a tree view attached to a SiteMapDataSource in a master. What I'd like to do is add a label control that is bound to the StartingNode of the SiteMapDataSource so that I can display it somewhere else on the page. I did think of using a second treeview (limited to one no...more >>

Client side object programming model for ASP.NET AJAX Control Toolkit ?
Posted by Patrice at 1/24/2008 5:23:59 PM
Hello, Wondered if there is a programming model exposed client side (for example for the Accordion control). If yes, is there some documentation avaible ? Thanks in advance. -- Patrice ...more >>

Crosstab Query in ASP.Net Page
Posted by j.t.w at 1/24/2008 5:19:06 PM
Hi. Is there a way to display the results of a crosstab query in some control on an ASP.Net web form? I think my first problem is that this query only works in Access and not via the SQL Query Analyzer or the DataSource wizzard in VWD2005EE. TRANSFORM Sum([q1].sls_amt) AS SumOfsls_amt SE...more >>

Meaning of "Post a Page to a Page"
Posted by Robert Cramer at 1/24/2008 5:15:30 PM
What does it mean - literally - to "post" a page? I understand that we have the HTTP protocol and it's POST operation going on behind the scenes... but I'm wanting to know what it means to "post a page to a page" -- specifically in terms of what ASP.NET does with the HTTP POST. To help cla...more >>

Using ASP HTTP_REFERER server variable to choose between 2 different includes files?
Posted by DC at 1/24/2008 4:45:35 PM
Is ther an easy way of using the HTTP_REFERER server variable to choose between 2 different includes files? Eg: <% If HTTP_REFERER="Url 1" then <!--#include virtual="/includes/menustyle1.html" --> else <!--#include virtual="/includes/menustyle1.html" --> EndIf %> Obviouslyth...more >>

Can I know what's going on with pending requests?
Posted by ThunderMusic at 1/24/2008 4:38:48 PM
Hi, We have a web site that gets to 100% on one of our 8 CPUs and the used memory (including page file) goes up to 20.6GB... We want to know which process or which page is using all these resources... Is there a built-in way? Our site uses IIS 6.0 and ASP.NET 2.0 Thanks ThunderMusi...more >>

CommandArgument for a LinkButton in a repeater (.net 1.1)
Posted by MattB at 1/24/2008 3:53:18 PM
I'm trying to put a Link button in the ItemTemplate of a repeater. I've created/wired the handler event, and I'm just trying to make the LinkButton pass what I need to that event. I thought I had it right, but I get a parser error when running this page. LinkButton looks like this: <asp:Lin...more >>



DataReader to pipe delimited file question
Posted by Elmo Watson at 1/24/2008 3:37:59 PM
Right now, I'm querying the database and using a DataReader to retrieve the fields, and save to a Pipe delimited text file However, it's a little cumbersome, in that I'm using the AppendFormat function of the stringBuilder to do it Kind of like this: While objDR.Read() oBuilder.AppendFor...more >>

Trying to migrate an anonymous profile to an authenticated one
Posted by GeoffreyD at 1/24/2008 2:55:08 PM
Hi I'm having trouble with using Profile.GetProfile(e.AnonymousID) from the profile_MigrateAnonymous event handler. I'm trying to implement this in a code behind file for Global.asax but Profile.GetProfile() is not defined. I understand that this could be related to Profile being a class ge...more >>

ASP .NET Book Suggestions
Posted by PSULionRP at 1/24/2008 12:50:18 PM
I am new to the ASP >NET Programming world and am wondering what suggestions some of you might have out there for educating myself. I'm a bit of a dinosaur here in previously developing screens in CICS and DB2 so I am trying to make the transition and anything one might suggest in terms of boo...more >>

Reg expression for 0400 000 000 thanks
Posted by rote at 1/24/2008 12:49:42 PM
Where can i get the reg exp for a number like 0400 000 000 i want it to validate this pattern and make sure there are spaces and its numeric Thanks in adance ...more >>

Access method in master's master
Posted by John at 1/24/2008 12:47:55 PM
Hi there, I'm trying to access a method in a nested master, so far without much success. The structure is as follows: 'Main master' (containing public menu setting method) is master to 'Sub master', both of which are at the site root. The 'Sub master' is master to 'Content page' in a fo...more >>

Connection String not initialized
Posted by rodchar at 1/24/2008 12:33:12 PM
hey all, SqlDataAdapter da = new SqlDataAdapter(@"Select * from Products", ConfigurationSettings.AppSettings["NorthwindConnectionString"]); DataTable tbl = new DataTable(); da.Fill(tbl); Can someone please tell me what I'm missing? thanks, rodchar...more >>

configuration tool
Posted by JJ at 1/24/2008 12:20:59 PM
Is there any way that you can point the configuration tool to look at asp.net membership sql tables that don't have the default 'dbo.' at the start ? Thanks JJ ...more >>

Copy files over WAN?
Posted by glbdev@gmail.com at 1/24/2008 10:06:04 AM
Hi. I have an application which is copying files from one location to another using UNC paths. This is working fine right now using a local machine but it will soon be moved to a WAN and I am wondering what type, if any, problems I may have in doing this. Does anyone have any experience wi...more >>

session won't work on same machine
Posted by tony at 1/24/2008 9:38:19 AM
I have a asp.net 1.1 website that works fine when I hit it from within the lan remotely, but when I am on the same machine and hit it, it seems that the app isn't able to use the session object. For example, the machine's name is "backup". If I am on another machine inside the subnet and go th...more >>

#include virtual
Posted by milop at 1/24/2008 8:20:04 AM
Hello. Using VS2005, I have a solution with two web application projects. The web server for each project is IIS. I've created two virtual directories, project1 and project2, under the same web site. A page in project 2 (index.aspx) references images and the like in project 1 by using #...more >>

Questions re System.IO.FileStream
Posted by musosdev at 1/24/2008 8:20:01 AM
Hi guys I'm trying to code up a file downloading system for our website (C#). My basic plan is that when a user clicks a file download, a page opens that shows something, and fires the chunked file download (via FileStream). That wroks fine, but what I want is a situation where if window ...more >>

ASP.NET 2.0 Modal Dialog Window & Master Page
Posted by ABHIJIT B at 1/24/2008 8:15:55 AM
Kindly help me in following 1.In my module, I am using two pages Parent(ManageUser) and Child() page. Parent window has textbox and button to open Child window Child page opens as dialog window as you click on button in Parent page using JavaScript showwmodaldialog(). Child window has te...more >>

problem loading visual studio project
Posted by Ra Carter at 1/24/2008 8:03:43 AM
Hi, I receive an error message that ends with the following text when I try to load my solution with visual studio 2005: "Make sure the application for the project type (.wdproj) is installed." How can I resolve this?...more >>

Towards Learning Localization and Globalization
Posted by Jordan S. at 1/24/2008 7:56:54 AM
I am looking for good reference material (books, reference applications, articles etc) that address localization and globalization in .NET... satellite assemblies etc. I'm designing a new ASP.NET application (in .NET 3.5) that will need to be available to users in multiple cultures. And ...more >>

Get Event Argument Value
Posted by shapper at 1/24/2008 6:08:59 AM
Hello, I have a custom control which has an event named Update: Private Sub MyControl_Update(ByVal sender As Object, ByVal e As EventArgs) Dim MyControl As Form = CType(sender, Form) End Sub I am trying to get a property called "Name" from "e" EventArgs. The "e" is custo...more >>

Multiple Web.config Problem
Posted by info.lowyeah@gmail.com at 1/24/2008 5:12:04 AM
Dear all, Can anybody tell me how to setup multiple web.config in 1 web application? many thanks Alan...more >>


DevelopmentNow Blog