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 > march 2004 > threads for sunday march 28

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

DIsplay uploaded file
Posted by Ken at 3/28/2004 10:56:06 PM
I am developing file management application in VB.NET . I am trying to display the uploaded document in the browser . I permit files with extension .txt , .doc .gif .jpg . if it is a .txt file i use streamreader to display its contents in the browser but if the document type is .doc then it disp...more >>


using frames in asp
Posted by starbuck at 3/28/2004 10:33:35 PM
HI What is the best way to emulate <a href=3D"main.htm" target=3D"main"> in = asp.net Thanks for any advice --- Outgoing mail is certified Virus Free, so am I. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.634 / Virus Database: 406 - Release Date: 18/03/200...more >>

File Upload Limit to Posted File
Posted by Do at 3/28/2004 10:21:09 PM
Hi, I'm using the built in upload class in ASP.NET. What is the maximum size limit for a file to be uploaded? I've uploaded many files to my Intranet, but unable to upload a 4MB file. Where do I change the max size? Do ...more >>

Session undefined in IIS6 even with EnableSessionState
Posted by Eric at 3/28/2004 10:03:40 PM
HttpContext.Current.Sesssion is undefined for me. Everyplace I've looked I have enabled session state. This includes: machine.config, web.config. IIS Manager, and on the page itself. The machine I'm putting this on is a domain controller but I can't imagine thats the problem. Thanks, Eri ...more >>

ASP to ASP.NET Session
Posted by andonov_d NO[at]SPAM msn.com at 3/28/2004 9:45:18 PM
Hi guys, Here is the situation I'm fighting for two days without any success: I work on a part of classic ASP application that has to be migrated to ASP.NET. I know that ASP session variables cannot be directly accessed in ASP.NET and vice versa. So, I have designed four pages in order to tra...more >>

Adding a column to a remote DB
Posted by Rudi Ahlers at 3/28/2004 9:38:21 PM
How do I add a column in a table on a MSSQL server? I got BuildSQL running, so I can enter SQL commands to do it, only problem is, I don't know the command to add a column :) -- Kind Regards Rudi Ahlers +27 (82) 926 1689 Greater love has no one than this, that he lay down his life for h...more >>

[c#] Problem with a regex
Posted by dz at 3/28/2004 9:23:08 PM
Hi, I'have a problem with the following code that I've put in a aspx page: Regex exp = new Regex(@"(hello).* (border).*"); Match m = exp.Match("sdf <table border hello>"); i=m.Index; r...more >>

DataGrid Automatic Refresh
Posted by Patrick Delifer at 3/28/2004 7:32:45 PM
Hi All (Any help is appreciated) Let's say I have a web page (.aspx) where the top portion is an Order entry and the Bottom part is a Datagrid which displays the orders. When the user creates an Order, the datagrid is automatically refreshed with the new order.(using dataBind event). This wo...more >>



garbage collection in asp.net
Posted by jzink at 3/28/2004 6:11:07 PM
I've done some searches on the gc in asp.net and not 100% sure how it works. I just implemented a new asp.net system that accesses only sql2000. The primary architecture is the .net data access class (the one provided on microsoft's site), a data access layer that returns strongly typed datasets ...more >>

newline character?
Posted by Rudi Ahlers at 3/28/2004 6:04:43 PM
What is the newline (carriage return) character? I have seen the following in practice: clientresponse = "Hello " & username & Chr(39) & Chr(39) & clientresponse But this creates a " sign, can anyone tell me what the newline character is? This is for inserting data into a DB, and keeping keepin...more >>

Possibly corrupt IIS application config for virtual directory?
Posted by Jon Davis at 3/28/2004 5:31:59 PM
I'm getting this error message while trying to convert an ASP Classic application to an ASP.NET application. I *HAVE* opened up the IIS Manager and right-clicked on the virtual directory ("/Registrations") and created a new Application for it, so I don't understand why this still shows! Jon ...more >>

Architecture question
Posted by Ron M. Newman at 3/28/2004 4:58:40 PM
Hi, I have a web application in mind that I'd like to implement. It's a classical web/databse application. I find myself thinking about how to design it. - It's clear I'd like the 'presentation layer' to be separate. - I'd like to have the 'application' layer in separate non graphic/non we...more >>

what is the best way to create a webform content page?
Posted by mekim at 3/28/2004 4:46:08 PM
I have a web site which has the same basic headers and footer What i do currently is "include header.inc" & do the same w/ footer.in The header inc includes the meta info and <body>/html tags.. the footer the closing of the abov The way I create each page which differs on the web site is 1-...more >>

Best way to output data as XML from aspx?
Posted by les at 3/28/2004 4:22:52 PM
I have to output xml from some data. I have preciously done this in old asp by constructing the xml like this, eg: response.write "<name>" & namefield & "</name>" etc.... Is there a better way to do this using VB.NET, or should I do something similar? Thanks Leslie...more >>

How to call Server side Function from client side function ?
Posted by Ing. Rajesh Kumar at 3/28/2004 4:18:03 PM
Hi everybody I want to solve the following problem : I have some panels on a web page. User select which one is visible or = hidden. When a panel is visible and user clicks on the web page but = outside of that panel then I want to call a function to hide visible = panel(s). I am calling ser...more >>

How is this done?
Posted by Brian W at 3/28/2004 4:17:48 PM
I'm sure this has been covered before, but I'll be damned if I can find it. So if someone could point me in the right direction I'll be grateful. I have a contact page, where the user enters their email address some other data, a message, etc, then they click "Send" my page then gathers all t...more >>

Scrap a picture
Posted by Micke Palm at 3/28/2004 3:27:54 PM
Hi there! I want to scrap a jpeg picture from another domain and save it on the server. Do anyone have any good ideas how I can do that?? I've success to get it with webscrapping but in someway I cant save it to the disk. Any fine example or hints are nice to get... /regards, micke ...more >>

datagrid question
Posted by DaveF at 3/28/2004 2:34:28 PM
I am trying to do an amortization table in a datagrid. I am doing the calculations in the code behind. How can I populate the data in a datagrid? -- David Fetrow Helixpoint LLC. davef@helixpoint.com ...more >>

Creating "classic" ASP solutions in Visual Studio .NET
Posted by Mike Mahon at 3/28/2004 10:51:05 AM
Two Question First, where can I find a discussion group based on Visual Studio .NET 2003 exclusively Second, How do you create a classic ASP solution in Visual Studio .NET? Here is what I have tried that does not wor 1. Create Blank Solutio 2. Create Empty Web Project within Blank Solutio 3...more >>

Is this possible in ASP.NET?
Posted by DMan at 3/28/2004 10:46:12 AM
I have a sequence of Webforms that each call the same class (and the same method) to retrieve data. A code is stored in hidden fields, then requested, and passed on to the class so the class can do formatting based on this code. The challenge? The code being passed along in hidden fields was...more >>

extending sessions
Posted by Rudi Ahlers at 3/28/2004 10:31:12 AM
know the default setting for a session is 20 minutes, and this gets set on IIS. But, now the question is, how do I extend these sessions? And, is 45 minutes a good time? this is for reading articles, filling out surveys, and doing graphical analysis about company entities. -- -- Kind Re...more >>

How to find out which events will fire
Posted by MS News (MS ILM) at 3/28/2004 10:24:50 AM
Hello, In the Page_load during postback how can I find the list of events_handlers that will be called if any?. Thanks ...more >>

Session State Errors
Posted by Joshua A. Booker at 3/28/2004 10:11:57 AM
Hi, I'm new to ASP.Net. I'm getting this error in the Time Tracker Starter Kit Web App: Exception Details: System.Web.HttpException: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive Source File: D:\Program File...more >>

CSSClass of edit button in grid
Posted by Mark at 3/28/2004 7:57:56 AM
Hi - I'd like to change the cssclass of the edit/update/cancel buttons on my datagrid, but I haven't been able to figure it out - (code below does not work) - problem is, I'm not sure how to reference the buttons, as the column they're in may change in the datagrid depending on the user. Tha...more >>

Property in UserControl does not keep value?
Posted by grawsha2000 NO[at]SPAM yahoo.com at 3/28/2004 7:00:45 AM
Greetings, I have a UserControl (UC) with a Sub inside it(trigered by a HTML button inside the UC) to change a property inside the UC to a new string value. When the user clicks that button, a string changes the property value to new value. However, when I click, the porpety is changed but...more >>


DevelopmentNow Blog