Groups | Blog | Home


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 > december 2003 > threads for sunday december 14

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

dynamically return another file type
Posted by Tim Mulholland at 12/14/2003 11:55:16 PM
I am trying to create an ASPX page that, based on QueryString inputs, returns another file, in this case a WMA file. I do not want to do this by redirect, because these files are not available publicly via the web, or via a share. So i am returning it by opening a stream, and writing the bytes ou...more >>

Where are configuration settings stored in ASP .NET
Posted by maellic2002 NO[at]SPAM yahoo.fr at 12/14/2003 10:26:43 PM
Hi, I'm having real trouble locating configuration settings on an existing website. Details follow: I've recently taken over a website developed with ASP.NET. Unfortunately the original developer has left the company and has left no documentation whatsoever. I've successfully managed to mak...more >>

Compare Two DataTables
Posted by Simple Simon at 12/14/2003 9:16:24 PM
Hi, I'm filling DataTable1 with the filenames from within a directory, and filling another DataTable2 with filenames from a SQL Db table. I'd like to compare the two, and delete the files from the directory that do not occur in DataTable2 StringBuilder sb = new StringBuilder(); string strDi...more >>

Record count in asp using vb.net
Posted by RAW at 12/14/2003 8:48:01 PM
I am triyng to display the total of my records on my page using RecordCounter as I used to in asp thid sombody can give me an example asp using vb.net DIM mySqlStatment AS STRING = "SELECT * FROM properties WHERE Municipio = '" & Replace(Municipio_Str, "'", "''") & "' AND '" & Repla...more >>

how to pass a value from an .aspx to a "code-behind" page ?
Posted by fierce_brake NO[at]SPAM media-breaker.com at 12/14/2003 5:44:10 PM
Hi guys! I am a beginner with aspx (i have some background with .asp). And i am trying tu use a 'code-behind' page in order to execute all transactions in that page and leave as clean as possible the .aspx with the html. As my start-point, i am building a login page. I put the textbox and subm...more >>

getting results from another html page
Posted by Michael Jean at 12/14/2003 4:31:31 PM
hello, i am building some objects to keep track of page statistics (ie, pages visited by certain ip addresses) so that i can see which countries my visitors are coming from. i am using a free php service to determine the location of an ip address.. for example, if i want to find ip 1.2....more >>

getting multiple threads
Posted by Sam at 12/14/2003 3:57:28 PM
When I am debugging my asp.net application with breakpoints I notice I have two concurrent threads running at once. Why is that? It is causing havoc with my response.redirects. Note, I am not using smart navigation. Sam...more >>

Re: help with insert/updating date variables in table code included
Posted by CobraStrikes NO[at]SPAM al.com at 12/14/2003 3:52:48 PM
Part of the code as requested dim i as integer dim strSQL as string Public ConnectionString As String public cn As OleDbConnection public function IDXPREmpDetCreateInsert(byref TPREmpDet as SPREmpDet) strSQL ="INSERT INTO [PREmpDet] ( " & _ "EmpCode," & _ "Surname," & _ "Marti...more >>



Add OnClick button event dynamically
Posted by anony at 12/14/2003 3:38:31 PM
Hi, I'm trying to dynamically add a button to my ASP.NET / VB page. I can't seem to figure out how to add a routine to the OnClick event. Any insight would be greatly appreciated! Thanks, Brian ...more >>

DataGrid edit events fire twice
Posted by David Rose at 12/14/2003 1:54:34 PM
I have noticed that when I use an asp:TemplateColumn (with an ItemTemplate and an EditItemTemplate) to edit a row in the DataGrid that the EditCommand, CancelCommand and UpdateCommand handlers fire 2 times for each click. Is this the normal behavior? If not, what could be causing it? Thanks...more >>

Accessing Windows File Icons in ASP.NET
Posted by nickgieschen NO[at]SPAM hotmail.com at 12/14/2003 1:27:18 PM
I'm wondering if it's possible to access and use windows file icons in a webpage using, for example, the shell method SHGetFileInfo. I'm writing a small asp.net app to browse directories on a server and would like the icons to display as a regular windows directory browser. Is this even possible...more >>

! Very Slow ASP.NET Response !
Posted by Vito DeCarlo at 12/14/2003 1:22:12 PM
I've been having this problem for a few weeks. PLEASE read this post before responding with some simple reason that has nothing to do with my problem. If you need more information, please request it as I'll be checking this post very often. PROBLEM: Occaisionally, our web server begins runni...more >>

SqlDataReader and Return Value
Posted by Binny at 12/14/2003 12:37:38 PM
I have a stored procedure which returns a recordset and also returns a value. I know how to access the recordset. How can i access the integer value returned by the stored procedure Iam using SqlCommand.ExecuteReader thanks...more >>

C# / ASP.Net code to allow web page visitors to download files from web server
Posted by r dubey at 12/14/2003 4:16:27 AM
Hi, I'm using webclient to enable download of files. However, files get copied to the server rather than the client machine. What could be the problem. Here is the sample that I've used: WebClient myWebClient = new WebClient(); myWebClient.DownloadFile ("http://www.myweb.com/testfile....more >>

How to add Radio buttons to datagrid
Posted by David Kleyman at 12/14/2003 1:25:18 AM
Hello Is there a way to add a radio button as a bound column to a datagrid? I can not find any info on how to do that If you have a sample of the code that does it please share Thank you David ...more >>

Controls.Add() postback question...
Posted by kieron at 12/14/2003 1:11:13 AM
Hi, this may seem like a simple question, but I'm fairly new to aspnet so please bare with me...i have a single webform that dynamically changes it's contents (in the form of usercontrols) based on a menu selection. When i load a usercontrol into the pane (a table cell in this case) that has a...more >>

4Mb upload limit?
Posted by John Smith Jr. at 12/14/2003 12:57:50 AM
I changed the max request size option in the machine.config file, and it seems to still block me from sending anything larger than 4Mb. I tried restarting aspnet_wp.exe, IIS web service and even rebooting. ...more >>

Newbie Qs: Develop Locally, Deploy To Host
Posted by Mark Jerde at 12/14/2003 12:50:07 AM
I'm in the process of learning VB.NET. I want to develop & test applications on my home network and deploy them on my web sites. My host is www.discountASP.net. I have used FrontPage to put a couple subwebs on my sites. My hosting package includes SQL Server 2000. I expect the sites will be...more >>


DevelopmentNow Blog