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 > april 2005 > threads for friday april 15

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

Can I change the code of uploaded website using Visual Studio.net
Posted by zubair at 4/15/2005 11:48:02 PM
Sir I have I'm given a task to debugg and add some functionlity to a big website containing hundreds of ASP.net pages, C# is the language used. Please anyone help me that: If I change the bussiness object (e.g. *.cs or *.aspx.cs) files, do I need to recompile them? or I can just change them...more >>


Urgent : Viewstate and dynamic controls !ONCE AND FOR ALL PLEASE!
Posted by John at 4/15/2005 11:12:41 PM
Hi all, I need finality on this once and for all please. I have a main page which contains a couple of placeholders and within these placeholders, depending on what the user presses, I load different user controls. This loading of user controls is done within the code-behind of the main ...more >>

Adding Tables dynamically??
Posted by grawsha2000 NO[at]SPAM yahoo.com at 4/15/2005 7:42:22 PM
Hello, How can I add a table to asp.net page dynamically with Code Behind style. I still can't find a way of doing it. This really causes me a big problem when I deal with records from database as I need to construct the table dynamically. MTIA, Grawsha ...more >>

OLE version of microsoft applicaton block data access??
Posted by guoqi zheng at 4/15/2005 7:27:09 PM
I used microsoft data access application block a lot. It make data access task much easier. However, it is only available for SQL client, does anyone has a OLE version?? regards, Guoqi Zheng http://www.ureader.com...more >>

Transfer data between pages
Posted by Fernando Lopes at 4/15/2005 6:12:53 PM
Hi there. There's a way to transfer data between pages but: - Not using Session - Not use Querystring Tks. Fernando Lopes ...more >>

Firing off validations when I want to, not on every function....
Posted by David Lozzi at 4/15/2005 5:00:07 PM
Howdy, I have a page that has fields which have validators. What I want to do is only validate the fields when the Next button is pressed, not every time a function is called. The users are allowed to search for data before they select it. Upon selecting it, its ID is loaded into a textbox....more >>

Do You Want To Know For Sure That You Are Going To Heaven? The reason some people don't know for sure if they are going to Heaven when they die is bec
Posted by RonGrossi382569 NO[at]SPAM yahoo.com at 4/15/2005 4:38:07 PM
The reason some people don't know for sure if they are going to Heaven when they die is because they just don't know. The good news is that you can know for sure that you are going to Heaven which is described in the Holy Bible as a beautiful place with no death, sorrow, sickness or pain....more >>

Forms Authentication Problem
Posted by MB at 4/15/2005 4:35:21 PM
Hi guys, I've been experiencing a problem here with forms authentication. When I am on one of my wesite's http (non-secure pages) everything works fine. However, I am using a Shared SSL provided by my hosting company. However, when I am automaticatically redirected to my login.aspx page (due...more >>



question on "true image resizing" article
Posted by Rudy at 4/15/2005 3:10:01 PM
Hello, I'm hoping went through Scott Mitcell's article on true image resizing. Looking through the article, it's not clear where to put the "GetThumbNailImage" method http://aspnet.4guysfromrolla.com/articles/012203-1.aspx Thanks! Rudy...more >>

Webserver with 2 processors
Posted by RayAll at 4/15/2005 2:59:53 PM
I'm having a webserver with 2 processors .I read an article somewhere that state mamangement on 2 processors in an ASP.NET application is different with one processor.Is that right? Thanks ...more >>

Load Excel to SQL Server using .NET
Posted by Rich Ulichny at 4/15/2005 2:54:56 PM
Not sure if this is correct newsgroup but I figured I had to start somewhere. We need to build a Web based application to allow users to choose an Excel file from their hard drive (or other mapped drive). At that point the following needs to happen: Upload the Excel File to the Webserver(or...more >>

Adding value to dropdownlist
Posted by Manny Chohan at 4/15/2005 2:24:02 PM
I have a dropdown bound to database. I need to add Select one to the first index of drop down list. How can i do this? Thanks Manny...more >>

Preventing overload of SQL hits
Posted by Greg Collins [InfoPath MVP] at 4/15/2005 2:04:34 PM
I'm designing a series of ASPX pages (actually one page with a series of = parameters) which call a SQL SPROC to update a visit count. This is great right now because the pages are not visited very much. I = anticipate eventually having a large flow of traffic through these = pages. My worry i...more >>

How to access DB and allow FORM POST?
Posted by Brett at 4/15/2005 1:56:32 PM
Say I have a chat page. The bottom has a FORM text box with send button. The middle and upper part of this page display the chat text. A user submits their chat text and sees it displayed in the chat area. The text goes into a database and then is output into the chat area. I need someth...more >>

disable items in CheckBoxList
Posted by sql at 4/15/2005 1:33:48 PM
Hi all, I am using a CheckBoxList control on my aspx page that I bind to an array at runtime. After I databind it, I check two of the items in the CheckBoxList controls. Now I also need to disable these two items so that users can't uncheck them. But I don't know how to disable individual ...more >>

Session State from ASP.net to ASP?
Posted by mavrick101 at 4/15/2005 1:31:04 PM
Hi, Is it possible to set Sesssion["somevar"] in asp.net and retrieve it in an ASP page Session("somevar")? both existing on same page? Thnx ...more >>

Cannot get Client Side VBscript variables to ASP.NET page
Posted by ChucRock
Hi, I have the following code where there is some client side VBScript that does something and needs to pass a variable back to the ASP.NET page. When the page is updated through a postback, the information is lost. What am I doing wrong? After obtaining the variable, I assign it back ...more >>

Alignment of Controls(Header & Footer) on Web Form
Posted by Saket Mundra at 4/15/2005 12:42:05 PM
I have a webform in which i have used Image Control for displaying Header & footer. I have noticed that when i open the same webform in differnet IE windows having different settings for toolbars, status bar and Text, the alignment of pictures and text in my page differs. I want that Whatever ...more >>

Problem exporting datagrid with numeric values to Excel
Posted by NancyA at 4/15/2005 12:23:03 PM
I am using the following code to write data from a datagrid to an Excel file: Dim tw As New System.IO.StringWriter Dim hw As New System.Web.UI.HtmlTextWriter(tw) dg.RenderControl(hw) Response.ContentType = "application/vnd.ms-excel" Response.C...more >>

asp.net
Posted by dave at 4/15/2005 12:00:03 PM
I am just learning to create web apps with asp.net. However, when I go to create a new asp app, it says that it can't find the URL/server at the given address. It then goes on to say that I need IIS (Internet Information Services) installed on my machine. How do I go about getting IIS? I...more >>

Resource protected by Form based aythetication
Posted by david at 4/15/2005 11:59:02 AM
I can not figure out what is the problem that I can protect ASP.NEt form resource but not some other type of files, for example, images. All my aspx forms located in Demo folder and image files located in a subfolder of Demo, named images. I implement Role based form authentication. When I ac...more >>

Mail Attachments
Posted by Andrew Robinson at 4/15/2005 11:52:51 AM
Using SmtpMail and MailMessage, is it possible to create an attachment without writing out a physical file? The data that I need to attach is pure text, but I would like to generate my email and attachment dynamically all in memory. Thanks, -Andrew ...more >>

Fullscreen Mode
Posted by John Bankhead at 4/15/2005 11:47:30 AM
Is there a way to detect if the browser is in full screen mode? I see several posts about how to set fullscreen mode and how it cant be done, but nothing about how to detect it. -- John Bankhead...more >>

using RegularExpressionValidator and RequiredFieldValidator together????
Posted by Brian at 4/15/2005 11:35:42 AM
I need to use both of these to validate a field on a form. I have both of them side by side (RFV then REV). When the first one gets triggered, it looks fine, but when the 2nd one gets triggered, there is a huge space. Basically, it looks like even though the first validator isnt being trigger...more >>

ASP.NET & XML
Posted by Scott Schluer at 4/15/2005 11:31:00 AM
Hello, Assuming I generate an XML string using ASP.NET, how do I push that XML to a remote site (i.e. http://www.somesite.com/register_user.php)? Scott ...more >>

How to get path of root web site when app is two levels deep?
Posted by John Dalberg at 4/15/2005 11:18:13 AM
I have an asp.net app that is in a folder which is two levels under the website root folder. The website has a login.aspx which is in the root folder. How do I get the relative path to the web site root folder (not the curent app folder)? A generic one that works no matter how deep the folde...more >>

from bitmap to stream?
Posted by creepwood NO[at]SPAM gmail.com at 4/15/2005 11:02:06 AM
I'm trying to load and image into a DB and alongside the image also a thumbnailed version of the image, but somewhere in my code, the stream doesn't take the thumbnail data. When I just change toe bitmap.save() to a file instead of a stream it works just fine. Dim bm As Bitmap = Syst...more >>

set selectedvalue on dropdown in datagrid
Posted by Kurt Schroeder at 4/15/2005 11:00:03 AM
I have a datagrid that includes a dropdown in an edit template. It creates ok, but i'm not sure how to set the selectedvalue based on the table in the dataset. given that the dataset DsSubTypes1 what is the best way to get the current value. If it can be taken from the datagrid i'd like to k...more >>

image as form background
Posted by Carlos at 4/15/2005 10:09:37 AM
Hi all, just wanted to know if an image can be used as the background for a form, and what is the technique to do it. Thanks, Carlos ...more >>

protected and private
Posted by yurps at 4/15/2005 9:46:55 AM
what is the difference between class members which are marked with these....? I wonder because I have a namespace with a few different classes... I want to use a method from another class...currently it only works with public...but that means anybody can use this method and I don't want that....more >>

Start a Program from an ASP Page?
Posted by Charles A. Lackman at 4/15/2005 9:32:19 AM
Hello, Is there a way to start a program on the client computer from an asp page? I.E. The user clicks a button, and word starts up. (of course if they have word on their comp.) Thanks, Chuck ...more >>

APS.NET, IIS cannot connect to SQL Server box
Posted by Chris Lane at 4/15/2005 9:27:02 AM
Hi, I am using the following connection string format in an ASP.NET 1.1 application to attempt to connect to a SQL Server on another machine. Data Source=ServerName;Initial Catalog=DBName;User ID=username;password=pwd;persist security info=True; I am testing this asp.net app. from my lo...more >>

Classic ASP Problem in VS.Net 2005
Posted by Corey Gaspard at 4/15/2005 7:52:09 AM
I'm working with a web site that has both ASP and ASP.Net. When I open the web site with 2005 and try to edit classic ASP files, I'm having problems getting VS to recognize the classic ASP is really vbscript and now C#. Here is an example of the problem. File1.asp includes File2.asp usi...more >>

role based security and
Posted by david at 4/15/2005 7:45:02 AM
I have the following questions to ask. For example, there are two roles, A and B to grant to users UA and UB respectively. UB in not in role A and UA is not in role B. A can access to Apage and B to Bpage by typing their passwords, resp.. However, when A has accessed Apage and know the URL o...more >>

HTTP Post Authentication
Posted by Chris Fink at 4/15/2005 7:40:02 AM
Looking for some general design recommendations on an authentication scheme for B2B transactions inbound via an HTTP Post Listener ASPX page that reads the binary stream from the request body. I would like to add an authentication process that validates the incoming transaction prior to pro...more >>

Export datagrid to excel sheets
Posted by VK at 4/15/2005 7:17:17 AM
Hey, I have some nested datagrids, which I would like to export to a excel. Exporting is not a problem - however I would like to export the nested data into different sheets on the same excel page. Is that possible. Basically I just need to know how to create new sheets in excel. T...more >>

I need some help here
Posted by Chris at 4/15/2005 5:35:02 AM
Hi, I am storing dates in sql server in this format 2005-04-13 22:22:16.353 My asp.net app is passing the date as string like this 4/13/2005 to the foll sp create proc test( @date varchar(11)) as begin select name from table where LEFT( CONVERT(varchar, DateEnt, 120), 1...more >>

Setting Focus to a Control - Web
Posted by Glenn T. Kitchen at 4/15/2005 5:21:00 AM
Hello All, Does anyone know how to set the focus to a textbox control on Page_Load? Thank you, Glenn ...more >>

Dataset - determine if no records are returned
Posted by Sandy at 4/15/2005 5:10:01 AM
Hello - I have a button that when clicked displays a dataset in a datagrid. I need code to simply display a label instead of the datagrid if no rows are returned. Is there a simple way to put this in an If statement or do I have to establish another connection and use Count to be able t...more >>

Newbie question: migrating "global variables" from ASP to ASP.NET
Posted by Andreas Hofmann at 4/15/2005 4:38:02 AM
Background: We've been using ASP to power our companys intranet ever since around 1998, and over time we've developed quite a lot of separate web-applications for different problems. Lately our IT has migrated to Windows 2003 Server and IIS 6.0, and all we've done so far is copy our old ASP f...more >>

Style Sheet Asp.Net
Posted by csgraham74 NO[at]SPAM hotmail.com at 4/15/2005 1:14:18 AM
I there i was wondering if someone could help me. i have created a style sheet in asp.net and dragged it onto my screen thus creating my lines of code in the html. I do not however seem to have my style available in my style drop down list. what is the issue ?? thanks in advance...more >>

Change mouse pointer
Posted by oscar.redondo NO[at]SPAM gmail.com at 4/15/2005 12:53:11 AM
Hello!!!! Does anyone know how to change the mouse cursor (from "auto" to "wait" for exemple) in the server-side of our ASP.NET page? Thanks!!!!...more >>

Random "The IListSource does not contain any datasources" and more (Crashing a live site at random, twice a week or so)
Posted by Lars-Erik Aabech at 4/15/2005 12:00:00 AM
Hi! We've got an ASP.NET application that runs swell on development PC's and one live production server. Another prod. server though crashes a couple of times a week. Either something that should be bound reports that column X isn't found, or that the IListSource does not contain any dataso...more >>

ArrayList of my objects
Posted by Neven Klofutar at 4/15/2005 12:00:00 AM
Hi, I'm trying to use Contains method, but I have some problems ... // create SqlDataReader SqlDataReader dr = .... // create collection of myObjects MyCollection myObjectsColl = new MyCollection(); while (dr.Read()) { // Creating myObject // Sometimes I create myObject u...more >>

Performance
Posted by simon at 4/15/2005 12:00:00 AM
I have asp.net 1.0 application. It runs on powerfull server but it's still very slow. It uses also sql server in background. I would like to set computer and windows 2003 server that my application has all resources and is high priority aplication. Any idea? What setting can speed up my app...more >>

PHP question
Posted by Arsalan at 4/15/2005 12:00:00 AM
I'm sorry, i know this is not the right place to post it, but as an ASP.NET guy, i have no clue how to run PHP under windows XP ? What web server do i need, how do i configure IIS to run it. Any link should be helpful Thanks ...more >>

Need help with a regular expression!
Posted by David Hearn at 4/15/2005 12:00:00 AM
I am trying to use RegEx.Match to locate some text in an HTML file. I am trying to find everything between <map> files so that I can grab the coordinates. The map files looks like this: <map name="Map4"> <area shape="rect" coords="160,158,443,163" href="#"> <area shape="rect" coords="16...more >>

CGI Error w/No Touch Deployment Application
Posted by Anil Kripalani at 4/15/2005 12:00:00 AM
I have a .NET Windows Forms application that I launch from a web browser. The user clicks an HTTP link from an ASP.NET page that launches a .NET exe (All .NET 1.1). The application runs fine so long as I change the IIS virtual root "Execute Permissions" to "Scripts and Executables". Under ...more >>

cdosys
Posted by Nitin at 4/15/2005 12:00:00 AM
how can I send email using cdosys in asp.net Regards Nitin ...more >>

Are satellite assemblies only for ressource ?
Posted by Olivier Matrot at 4/15/2005 12:00:00 AM
I would like to broke up an ASP.NET project in several assemblies. The goal is to link aspx files with a specific assembly. This way you could put functionnality in various DLL and choose to distribute or not the peaces of a web site. TIA. ...more >>

H1 and Asp:Textbox
Posted by Gonçalo Boléo at 4/15/2005 12:00:00 AM
I have a textbox control inside an H1 tag. It's possible to make the textbox as its text like H1? thanks, Goncalo Boleo ...more >>

Access files via a file share
Posted by Roger Twomey at 4/15/2005 12:00:00 AM
I have two servers; Windows 2000 IIS=20 Windows NT 4 [Interactive Voice Response... Telephone system] I have a web application which needs to be able to access the voice = files on the IVR system. Here is what I have tried: Create an account on both machines called NB3. Passwords are the ...more >>

How to get info about the site visited before my site?
Posted by jensen bredal at 4/15/2005 12:00:00 AM
Hello, I think i have once seen how to do this, but now when i need it, i do not remenber how to get this info. I beleived it was a property of HttpContext but not so sure anymore. Many thanks in advance JB ...more >>

Response.Redirect after Response.Flush
Posted by Glen Wilkin via DotNetMonster.com at 4/15/2005 12:00:00 AM
Is there a way I can call Response.Redirect after I've done a Response.Flush? I send some html to load an animated gif that plays whilst my page loads, it has some extensive database calls to process. However, when I try to redirect to my error handling page, if there is an error, I get a 'Canno...more >>

quickstarts with Visual Studio 2005 February CTP -- Professional Edition (English) ?
Posted by jmd at 4/15/2005 12:00:00 AM
Hello. I have downloaded and installed Visual Studio 2005 February CTP -- = Professional Edition (English) from msdn. All works fine (with a few bugs) except the Quickstarts. The Quickstarts install without problems. I have 2 questions : 1. When I launch the Quickstarts, I only see : ...more >>

Typed dataset
Posted by Trond at 4/15/2005 12:00:00 AM
I have a class MessageController that has a method GetMessagesDataset that connects to a database SPROC. When done it returns a dataset. Then in my ASP.NET for i do this: msgController = new MessagesController(); DataSet dsMessages = new Dataset(); dsMessages = msgController.GetMessages...more >>

GridView Rows collection Refresh within an event
Posted by Shafia at 4/15/2005 12:00:00 AM
Hi, I need to refresh the Rows collection of my GridView within a tree event OnCheckChanged. I call the following for that void OnCheckChanged(....) { ................... ObjectDataSource1.Select(); GridView1.DataSourceID = "ObjectDataSource1"; ...................more >>

SQLHelper & sorting
Posted by Goober at 4/15/2005 12:00:00 AM
I have an application that I need to sort the results of a datagrid, when a user clicks on a particular column. The application uses SQLHelper in it. Is there a way to call the stored procedure and sort the results on it, using SQL Helper? I can do this by putting the code in the app, and...more >>

How to kill all sessions when working with ASP.NET Session State Service?
Posted by Andreas Klemt at 4/15/2005 12:00:00 AM
Hello, how can I kill all running sessions when working with ASP.NET Session State Service? Is there any VB.NET code for that? Thanks for any help in advance! Andreas ...more >>

Smtp Fields
Posted by Nitin at 4/15/2005 12:00:00 AM
How can I specify the SMTP server, username and password in a mailmessage in asp.net regards, nitin ...more >>

file permission assignment
Posted by William Cheung at 4/15/2005 12:00:00 AM
Hi, my web page is design for manage some file these on such WebServer, what permission should i assig for these file? thx. William ...more >>


DevelopmentNow Blog