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 2005 > threads for tuesday january 18

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

Difference Between Typed Dataset and Untyped Dataset
Posted by thomson at 1/18/2005 11:05:44 PM
Hi All, What is the difference between a typed dataset and an untyped datset, Where can be this used actually, I mean in which situation which has to be used, In case anyone has got some articles please let me know Thanks in Advance Regards thomson ...more >>


How can I use IIS to connect & compiler distributing ASP.NET files
Posted by Slash at 1/18/2005 10:05:03 PM
I had success to get link with "File Shared" use IIS in Windows 2003. It can compiler & run, but the session will be lose when 445 port reconnection. (Its often happen) (Firewall open 137,138,139,445 port) What is the right way to implementation connection structure with distributing ASP.NE...more >>

framing XML
Posted by Venkat at 1/18/2005 10:01:01 PM
HI, I have a XML document like this, <colore> <Red>1</Red1> <blue>2</blue> <colore> What I wanted to do is, add an root element to this so that it will look like <sample> <colore> <Red>1</Red1> <blue>2</blue> <colore> <sample> How do I do this. I am new t...more >>

Moving Data
Posted by Michael Mitchell via DotNetMonster.com at 1/18/2005 9:24:16 PM
I am creating an ASP.NET form that users will fill data in text boxes and then I need it to out put in a seperate .aspx form labels.Text(Open new page). I have the form created and put the output labels on the same page to test and it works but I can not figur out how to collect the data from the...more >>

Call ASP.NET application pages from old ASP page
Posted by william at 1/18/2005 8:51:02 PM
Hi All, How can I call a page of ASP.NET application from old ASP page? Is there anything about deployment I should be aware to make it happen? Thanks. william...more >>

QueryString Problem
Posted by Ray Alirezaei at 1/18/2005 8:30:15 PM
I want to get a parameter through quesry string and set it to a property of a control in my page as follow but it shows me an error: <cc1:ReportViewer id="ReportViewer1" runat="server" Height="312px" width="712px" parameters="true" ServerUrl="http://localhost/reportserver" ...more >>

Visual Web Developer/VStudio.Net
Posted by Patrick Olurotimi Ige at 1/18/2005 8:19:53 PM
Hi, I have VStudio.Net 2003 installed but can i install Visual Web Developer also on the same PC. My current .Net Frameork version is 1.1. Will the Visual Web Developer install ASP.NET 2.0? And if i do will it affect my other applications? I want ot build ASP.NET 2.0 apps!!! *** Sent ...more >>

Simple but I can't figure it out
Posted by myleslawrence at 1/18/2005 8:09:04 PM
<input type="text" value="1234" onblur="<% some_asp(value) %>" > How do I pass the changed value of this input text box to the asp function? ...more >>



parser error
Posted by Richard Roche at 1/18/2005 7:47:01 PM
How can i find where this 'parser error' is coming from. It works find in prodution and but now fail in test. I've done this many many times, but have not seem this. System.Web.HttpParseException: Parser Error: Could not load type 'myApp.pcReport'. ---> System.Web.HttpException: Could not...more >>

Variables as cookie keys?
Posted by James at 1/18/2005 7:10:39 PM
Have a look at the following ASP code; <%Response.Buffer=true%> <HTML> <BODY> <% Dim itema Dim itemqa itema="121" itemqa=2 Response.Cookies("List")(itema)=itemqa %> I want to create a simple shopping cart. It seems the computer won't let itema be anything other than a st...more >>

SQL query... is there a better way?
Posted by Scott Reynolds at 1/18/2005 6:25:58 PM
Hi, I am using following code to read and generate SQL query based on values stored in ArrayList. But I am not sure if it is the best way... all suggestions are welcome! Thank you! Scott Dim SqlQuery As String Dim SqlCity As String If Not Cities.Count = 0 Then For i As Integ...more >>

Lots of Bits
Posted by jack-b NO[at]SPAM humlog.com at 1/18/2005 5:13:49 PM
Hi there, I'm not sure if this the appropriate group so apologies if it lies outside the boundary. Senario: I have a customer table with contains a bunch of different bit values that represent true/false values pertaining to the customer. I decided for the purpose of clarity I would move these...more >>

IPWorks CC component
Posted by Sheikh Nabeel Moeen at 1/18/2005 4:44:53 PM
Hello, I'm using the IPWorks CC component provided in ASP.NET resource kit for online transaction processing (Creidt cards and E-Checks). This component has been discontinued by the providers. I can't locate the documentation for this component. Does anyone have any idea how i can reverse...more >>

q: user e-mail
Posted by JIM.H. at 1/18/2005 4:37:03 PM
Hello, User.Identity.Name gives me current user name, how can I get the e-mail address of current user? Jim. ...more >>

Passing Aspx hidden form data to Asp page ?
Posted by Bob [BVP] at 1/18/2005 4:34:58 PM
I have a need to pass hidden form data on a Aspx form to a plain vanilla Asp page.. with it remaining hidden, and not using session/state cludges.. Thanks for any info. Bob ...more >>

Reading both result set and output parameter of SP in .Net Framework......
Posted by Hewit at 1/18/2005 4:30:31 PM
I have a stored procedure which returns records and output parameters(SQL2K). How to call this stored procedure using ADO.Net so that I can use both results in my application. I have .Net Framework 1.1. when I use ExecuteReader() of Command object I cannot read the output parametrs of the stor...more >>

how to minus a date?
Posted by Asha at 1/18/2005 3:21:07 PM
hello... can someone tell me how to minus a date value? e.g. 17/01/2005 - 1 would be 18/01/2005 can someone show me how this is done?...more >>

how add zeros to numbers...
Posted by Asha at 1/18/2005 3:21:03 PM
hello... i have a number which i want to add 0's to it.. e.g. int number = 002; number = number + 1 and it should return me e.g. 3. how can i keep the 002 and allow it to return 003 instead of just 3? thanks. ...more >>

Graph in aspx
Posted by rkbnair at 1/18/2005 3:11:02 PM
I'm new to the .net environment. How can I display a graph (pie chart) in an aspx Webform with data retrieved from SQL Server? ...more >>

How to synchronize Label1.text between Client Script & Code Behind?
Posted by Julius Fenata at 1/18/2005 2:54:24 PM
Hi all, How to synchronize Label1.text between: document.getElementById("Label1").innerText (at Client Script) & Label1.text (Code Behind). I mean, I have assign new value to Label1 in Client Script, i.e.: document.getElementById("Label1").innerText = "ABC" How to get "ABC" value from ...more >>

I want to insert dinamically a row between 2 rows?
Posted by Luis Esteban Valencia at 1/18/2005 2:45:56 PM
Is that possible. I want to insert dinamically a row between 2 rows. That row will have the detail from the clicked row. as on www.isohunt.com Make a search and click on any result Grea -- LUIS ESTEBAN VALENCIA MICROSOFT DCE 3. MIEMBRO ACTIVO DE ALIANZADEV http://spaces.msn.com/...more >>

Fracking Stupid Visual Designer Drops Event Linkages!!!
Posted by Mark Olbert at 1/18/2005 2:05:48 PM
I am so mad at those, ahem, nice people up in Redmond that I could spit!! I'm running VS2003 and .NET 1.1. In an ASP.NET page I'm developing, the blasted visual designer keeps throwing away the linkages between my objects and the event handlers I've written. The cycle is totally bizarre: eve...more >>

Calling COM+ component from webservice
Posted by Greg Busby at 1/18/2005 1:55:57 PM
I am a newbie to ASP.NET and webservices. I have a webservice that is calling a C# dll. This dll then calls methods in a VB COM+ component. The COM+ component is not instantiating correctly. The return value of the called function is an ADO recordset. Looking at the value of the variable in ...more >>

Session variables and cookies are incorrectly accessible between applications
Posted by Galina Grechka at 1/18/2005 1:55:52 PM
Hi, I have a really bad problem with ASP.net application. It seemed fine until it was tested in multisession environment. When 2 users access the same aspx page at the same time sometimes the session variable of first session is visible to second session instead of his own session variable. In...more >>

ASP.NET application freezes when COM object is instantiated
Posted by Ralf Müller at 1/18/2005 1:42:43 PM
In a WindowsForms application it works just fine. Why not in ASP.NET? The interop assembly used was in both cases auto-generated by Visual Studio ..NET from the same .dll The code is exactly the same in WindowsForms and WebForms: private void button1_Click(object sender, System.EventArgs e...more >>

Recommended rich text editor
Posted by Eirik Eldorsen at 1/18/2005 1:21:11 PM
So far I've tried two rich text editors: EasyWebEdit: http://www.easywebedit.net ActivEdit: http://www.cfdev.com/activedit/ I'm not completly satisfied with any of them. Could someone recommend me another one? The following features should be available: - Spellcheck in norwegian - Upload...more >>

Application_End
Posted by AGB at 1/18/2005 1:10:31 PM
Hi all, Can't seem to determine if the Application_End is gaurenteed to run. I have some cleanup code there but it doesn't execute if I close my browser and am the last session. ??? ...more >>

Calling a .NET web service from classic ASP w/o soap tookit
Posted by ryan.mclean NO[at]SPAM gmail.com at 1/18/2005 1:10:12 PM
Hi everyone! I'm hoping that someone can help me out. I have a webservice written in vb.net. This service uses the SoapHeader to secure the webservice to users that give a username and password. I am trying to call this webservice via classic asp. This works as long as the service is not au...more >>

Inherited class
Posted by Franck Diastein at 1/18/2005 12:54:43 PM
Hi, I'm using DataGrid a lot, and I would like to make a class with DataGrid extended properties... I make a class like this: ------------------------------------------------------ using System; using System.Web.UI.WebControls; namespace classes { public class DataGridEx : DataGrid { ...more >>

Compilation error (CS0016)
Posted by Douglas at 1/18/2005 12:47:05 PM
Hi, Can anyone help with the following error message I get returned to my browser when I try to run my asp.net app, please? It's written in c# and used to run ok until quite recently. I've checked that the networksystem account has the necessary permissions, tried installing the .net 1.1 serv...more >>

!! DOWNLOAD THE MOST POPULAR 2005's CRACKED SOFTWARE(CAD/CAE/CAM/EDA/GIS/PCB/FEA/CNC)
Posted by CrackSoft at 1/18/2005 12:01:56 PM
Our Team provide CRACKED engineering and technical software at this topics: => Civil and Structural => Survey , GIS , Rock , Soil and Water => Architectural => CAD-CAM => FEA , CFD and CAE => Electrical , Electronic , Control and Power => Chemical => Industrial and Control Project => HVAC ...more >>

Newbie combo question
Posted by Nick at 1/18/2005 11:53:03 AM
Hi - I've loaded the values into a combo box at runtime, but can't see how I set the combo to a certain value when the page loads. (The value will change depending on other variables when the page loads.) Thanks Nick ...more >>

File Open Dialog
Posted by JoNaS at 1/18/2005 11:39:20 AM
As a lot of us might now, the input file (aka browse button) in html does not allow for multiple file selection or for filtering file types. The File Open dialog used in WinForms allow these things and more. I developed a windows user control in VB.NET with a button and File Open Dialog, w...more >>

IE and Netscape compatibility for ASP.NET
Posted by Ashwini Khanna at 1/18/2005 11:38:11 AM
Hi Everybody! I have a browser compability issue with ASP.NET pages. I have created a small web-site in ASP.NET, tested it with IE - all was well till then. Then my client required me to test on other browsers as well such as Netscape and Mozzila. The page gets displayed ont hem but the formatti...more >>

Save image from web
Posted by Kyler at 1/18/2005 11:21:03 AM
What I would like my asp.net app to do is to save an image to disk using a passed url....more >>

Email Headers
Posted by Jeebu at 1/18/2005 10:49:45 AM
hi, let me explain my problem with a scenario. after completing a registration procees of a user ,an email will be sent to the user for confirmation.the email contains a link and when the user clicks on it he will be taken to a page for confirmation. problem ---------- i want the user to go...more >>

Page Refresh issue
Posted by PK9 at 1/18/2005 10:43:03 AM
I'm having an issue with the "Refresh" of an asp.net page. The refresh is actually calling my last onClick event. I thought that asp.net was supposed to be stateless in that it shouldn't remember that I clicked a button before the refresh. Here is what is going on: 1) Page Loads 2) Use...more >>

Aspx page opened as a modal dialog
Posted by lisa.staples NO[at]SPAM gnb.ca at 1/18/2005 10:42:48 AM
I have an aspx page that has a checkboxlist control on it. There is code in the selection changed event so that when you check the first checkbox (Select All) it checks the reset of the checkboxes on the page. This page is opened by clicking on a link within a datagrid as a modal dialog usin...more >>

Printing From Modal Dialogs
Posted by lisa.staples NO[at]SPAM gnb.ca at 1/18/2005 10:28:08 AM
I have an aspx page that has a print button on it. The code for the Clicked Event of the Print button is: Dim strScript As String strScript = "<script language='javascript'>" strScript += "window.print();" strScript += "</script>" Page.RegisterStartupScript("print", strScript) ...more >>

Displaying drop-down list boxes for every row in a DataGrid \ Repe
Posted by Eric Dan at 1/18/2005 10:27:03 AM
Hi, Even tough I was able to implement what I want in a weird and non efficient way, I would like to get an opinion what is the right way to achieve my task: Scenario: • Display a DataGrid that contains rows from a table from a databse (so far easy). • I would like to add a column to...more >>

C# - Custom class as return value for function
Posted by b_naick NO[at]SPAM yahoo.ca at 1/18/2005 10:24:36 AM
I have a class file in my ASP .NET C# application - defined as follows: namespace ABC { public class BizObj { public Style GetVal(int id) { Style temp = new Style(); // run some db queries temp.theName = reader["firstName"].toString(); return temp; } } public class Style { public stri...more >>

Server Application unavailable after reboot restart
Posted by PW at 1/18/2005 10:11:06 AM
I am consistently seeing the Server Application Unavailable message on XP Pro, Server 2000, and Server 2003. Complete uninstall of the .NET framework 1.1 from add/remove programs and reinstall of the .net Framework 1.1 will render my applications usable again, but after reboot, all ASP.NET app...more >>

server upgraded to DC, HELP
Posted by Chris at 1/18/2005 10:11:04 AM
I made my current web server (win2003 standard, with SQl Server 2K) a Domain controller (w/DNS, and DHCP) and I'm now experincing issues. The first was no access to the ASP Framework TEMP directory, and I foudn an article to fix that. Now when I create a new project and add existing files to i...more >>

how do I display 221 seconds as 03:41 using DataFormatString
Posted by Tarren at 1/18/2005 10:06:39 AM
Hi: I am pulling duration out of my DB and it returns duration in seconds. For the display i would like to show it in time format with colon So duration of 221 I want it to display 03:41 How do I work with the DataFormatString in my bound column to do this? Anyone know? Thanks! ...more >>

.net Calendar
Posted by Maziar Aflatoun at 1/18/2005 9:54:59 AM
Hi everyone, ..NET Calendar control treats all dates in the format of MM/DD/YYYY. Is it possible to change the calendar property to treat date at DD/MM/YYYY? Thank you Maz. ...more >>

Web Object and JavaScript...
Posted by A. Nonymous at 1/18/2005 9:54:48 AM
Is there some way to get a web object (i.e. a button, <asp:Button />) to = not only respond to ASP.NET procedure but run a JavaScript function at = the same time responding to the same event (i.e. OnClick)? TIA......more >>

Rendering an instance of an .aspx page
Posted by foobar at 1/18/2005 9:50:04 AM
Okay, if I create an instance of an .aspx page and set the properties of that page, how do I render that instance? Server.Transfer creates a new instance of its own and none of the properties have been set. p.s. I thank you in advance for any relpy. ...more >>

Life cycle of ASP .NET Application
Posted by jim at 1/18/2005 9:45:07 AM
Hi All, I like to know the life cycle of an ASP .NET Application( incudieng server application, such as .NET Web Service). That means from initialization to fully running and how to reboot it or shut it down. Including how to establish the running environment( current working folder, ...etc...more >>

asp.net application and IE browser settings
Posted by rachel at 1/18/2005 9:13:55 AM
My asp.net application seems to look different on browsers on different machines. Im not sure what the issue is... the text seems to be moved and not centered... I opened up other sites on the same browser and it looked ok.. I had to reset the browser settings so that my site came up ...more >>

how to know if a datagrid column is a template column?
Posted by Dexter at 1/18/2005 9:11:18 AM
hello all, i need to know, programatically, if a datagrid column is a template column, at itemdatabound event. somebody have a idea? Thanks. Dexter ____________________________________________________________________________ If (e.Item.ItemType = ListItemType.Header) Then ...more >>

asp.net Auto-Dial
Posted by ACaunter at 1/18/2005 8:55:02 AM
Hi all, I was wondering if there was a way to auto-dial a list of numbers and play a recorded message to them. asp.net can email, fax.. so i'm guessing it must be able to dial a regular phone number too, it's just how do I play some audio once a connection has been made.. any ideas?? -- ...more >>

estimating server requirements
Posted by Paul at 1/18/2005 8:35:04 AM
I am writing some documentation for a .NET web application and am trying to come up with minimum server computer hardware requirements such as processor speed, memory, hard drive size, ext. just wondering if there is any way to do this? thanks. -- Paul G Software engineer....more >>

keep losing session variables
Posted by ACaunter at 1/18/2005 8:11:04 AM
Hi all, I'm wondering why I keep losing my session variables all the time. I've set the timeout to be an hour, but for some reason randomly i keep losing everything.. what could be causing this?? also, is there a way to automatically go back to the login page as soon as the sessions have ...more >>

OnSelectedIndexChanged does not fire with inherited Page class
Posted by srallen NO[at]SPAM gmail.com at 1/18/2005 8:04:49 AM
I have a simple page that has a dropdown with autopostback=true and onselectedindexchanged is set to a function that never gets called (checked during debug). This page is subclassed from custom class of mine that I subclassed from Page. I have overridden a couple of methods (OnPreRender, OnUn...more >>

email from asp.net
Posted by rachel at 1/18/2005 7:40:13 AM
Hello, I have an application deployed on a webserver and after a user registeres, I would like to email the user their details. How do I do this.. Would this be initiated from my SQL server database or can i do this from asp.net? Thanks, Rachel...more >>

State Server memory problems
Posted by John at 1/18/2005 7:15:02 AM
Hi, I'm running asp.net 1.1 in a clustered environment and using StateServer session mode. I am continually seeing the aspnet state server eat up more and more memory, causing my .NET apps to crash.. This happens until i restart the State Service whereupon the crash process starts again. ...more >>

JUst Upgraded server to 2003 but...
Posted by Shawn at 1/18/2005 6:02:21 AM
When I try to create a simple aspx file, instead of serving that page in a browser, it asked me if I want to download it. I received another message saying it was not there, when I see it on the file structure. Am I missing something. Please help. Shawn...more >>

Add blank item to dropdown list in datagrid
Posted by Big Dave at 1/18/2005 5:59:40 AM
I know it's been asked a million times before, but I still can't seem to find an answer that works. I've got a dropdown list in the footer template of a datagrid. The dropdown list databinds, but I can't seem to add a blank item to the top of the dropdown list. I've tried using the code to...more >>

Which version of CR is .NET 2003 using?
Posted by Kenneth P at 1/18/2005 5:01:03 AM
Hi, I'm wondering which version of Crystal reports VS.NET 2003 is using? TIA Kenneth P...more >>

SAGE L50 and ASP.net
Posted by FOTL at 1/18/2005 4:26:03 AM
Hi people! Quick question. I am connecting to a SAGE Line50 database via Sage SDO in ASP.net. I can connect to the database but have problems creating a particular workspace... This is the message I get... " The server threw an exception. Description: An unhandled exception occurred...more >>

Specidied cast is not valid
Posted by Jon at 1/18/2005 3:43:01 AM
Hello all, Can some please help with an error I'm having. I'm binding a Hashtable to a Repeater and on the ItemDataBound event i have this code: if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { DataRowView dataRowView = (DataRowView)e.I...more >>

Textchanged event fires on every post
Posted by Samuel Chan at 1/18/2005 2:27:02 AM
I used the textchanged event of textbox and set the autopostback property to true. The textchanged event should fire when the content of the textbox is changed and user tab out of the textbox control. However, textchanged event fires whenever there is a postback, even when I click a button tha...more >>

Reading data into datasets
Posted by jty202 at 1/18/2005 2:16:17 AM
If I have String containing the code of a HTML <table> with data in it, can a dataset read in the data thats contain in a HTML table? If so, can someone show me. Can this also be done with Comma Separated (csv) data? Also, can someone show me to display the data in the dataset in HTML ta...more >>

System.Net.Webexecption on WebRequest.GetResponse
Posted by tgeisel NO[at]SPAM symax.de at 1/18/2005 2:03:40 AM
Hi Everybody, after a while, i´ve had to maintain a ASP.NET/C# project, where during processing of an request, the same (local!) webserver is requested again for the response of a corresponding aspx-page. Something like this: .... string uri = 'http://localhost/appname/secondpage.aspx?...more >>

Using FormsAuthentication - how to override default referral
Posted by Phil Certain at 1/18/2005 12:56:31 AM
Hi I'm building a site that has publicly available pages and password protected pages. Publicly available pages reside in: /public and password protected pages reside in: /private I'm using FormsAuthentication to protect the pages in /private. I've created a login page (login.aspx) ...more >>

Insert child controls into User Controls
Posted by Aquila Deus at 1/18/2005 12:44:14 AM
Hi all! Following is the method I use to insert child controls into user controls, so that you may use them just like ordinary custom controls: /////////////////////////////////////////////////////// public class MyUserControl: UserControl { protected PlaceHolder ChildrenHolder = null; ...more >>

Inser into mdb from asp.net page
Posted by Kristian at 1/18/2005 12:33:02 AM
Hello, I can't get info from my web form into my Access database. The connection works. I've tried a command with CommandText = "Insert Into..." Error! "You have to have a query that allows changes..." With DataAdapter and Dataset I don't get any errors, but the record isn't added either. Seq...more >>


DevelopmentNow Blog