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 > august 2003

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

what's wrong with my update statement ?
Posted by THY at 8/31/2003 2:58:25 AM
can anyone tell me what's wrong with this statement ? cn.execute("update table set data = 'test'") the asp.net keep telling me syntax error in update statement ... help me please ... ...more >>


need help : combo box in datagrid??
Posted by Dickson at 8/31/2003 2:00:47 AM
Is it possible to put a combo box in datagrid and the combo box will be populate base on the 1st cell value in each row. Can someone tell me where can I get any documentation on how to do this. Thanks. ...more >>

HttpApplication inaccessible in Session_OnEnd:System.NullReferenceException
Posted by Manfred Braun at 8/30/2003 10:47:29 PM
Hi All, In my [global.asa's], I will decrement a counter, like : protected void Session_End(Object sender, EventArgs e) { ActiveSessionCount--; //CRASH !! } But, unexpectedly, it give me an "Global_asax]System.NullReferenceException: Object reference not set to an instance of a...more >>

setting focus to a textbox
Posted by test test at 8/30/2003 6:30:40 PM
Hi, How can I set focus to a particular textbox on an aspx page in vb code? My problem is caused by the page updating when a user clicks a command button and I execute code (like updating a price when you click "Calculate" button, etc.). The button they click and the "Total" field is down to...more >>

Culture and Codepage question
Posted by Mike Prager at 8/30/2003 2:31:46 PM
Hi, I have written a Hotmail type application where users choose their language preference which is used to set the culture and hence the correct resource files for strings, formatting etc. I now need to create a mime message but I have to pass in the correct encoding so the charset is correct...more >>

Wierd SessionState problem (again)
Posted by Dean at 8/30/2003 2:22:38 PM
PageOne.aspx has an image control. The imageURL of the image control points to ImagePump.aspx. ImagePump.aspx gets a bitmap out of a SQLServer database, puts in into a bitmap object and does a: myImage.save(response.outputstream, ImageFormat.jpeg). This code works however, on this page I...more >>

Web.config
Posted by Kian Goh at 8/30/2003 12:18:50 PM
Hi, My web application is working fine at my local server. I just bought a webspace in a hosting company and transferred my files to the hosting site. However, I found that I have Runtime Error with the message "An application error occurred on the server." (details in below url.) http://d...more >>

rounded corners in data grid
Posted by Konrad at 8/30/2003 5:32:31 AM
Hi This is maybe simple question but how to render DataGrid and Tables with rounded corners? Thanks Konrad ...more >>



Validation Cancellation
Posted by shail at 8/30/2003 4:23:42 AM
I have a form in which a Control has Required Field Validator. When I try to push other buttons instead of submit button then also the Validator works. I want to stop this behaviour how could I do it...more >>

how to get sql row into variables
Posted by Thomas Henz at 8/29/2003 7:13:45 PM
Hi! I'm trying to get a single data row (SELECT name,telnr FROM table WHERE id=3) into a something so that I gain 2 variables with name and telnr that I can print out or modify (locally not in the DB). What do I have to do? Thanks, Tom ...more >>

ASP .NET and Microsoft Outlook
Posted by James at 8/29/2003 6:29:17 PM
Is it possible for me to generate Outlook objects in an ASP.NET application on a web server (like a calander event for example) and then attach that object to an email so that the recipient can open it and add a calander event to THEIR Outlook file? I already know how to send mail using the Smt...more >>

caveat using smart navigate?
Posted by Guogang at 8/29/2003 6:03:01 PM
We are happy with the result of smart navigate, until recently some of our webpage shows strange behavior. Page color may change to something else. New windows can not open. Dynamic image can not be shown. If we remove smart navigate, everything works fine. Is there some document list the co...more >>

use .Net Framework components in IE
Posted by Anton Sommer at 8/29/2003 5:39:48 PM
Hello folks, how can I run a .NET Framework component in IE. Simply specifying a runat="client" attribute in does not work.I mean really running a few .Net Routines on the client it should be possible somehow. Thanks Anton ...more >>

reflection problem
Posted by Matthew at 8/29/2003 5:25:11 PM
hi dear members, i have derived my aspx code behind class from a 'BasePage'.in this BasePage, i put some formatting functions in it. I also write some customer controls, in one control, i have to call BasePage's function 'foo'. But when i use reflection to call 'foo', Type t=Page.GetType() alway...more >>

<Div> and Visual Studio?
Posted by Bruce W...1 at 8/29/2003 5:12:45 PM
IE 6 supports the DOM for the most part. Am I missing something or is this absent from Visual Studio 2003? Does Web Matrix have it? You see, I'm trying to get Visual Studio and Dreamweaver MX to play together nicely. And with html tables they do. So I thought I'd try some layers instead of...more >>

.NET Componets
Posted by Mircea Pleteriu at 8/29/2003 2:54:50 PM
How to insert a .NET component in an aspx page? ...more >>

To sence use the gotfocus event. for textbox ASP.NET
Posted by Gopal Krishna Tengli at 8/29/2003 2:10:25 PM
Hi, I want to impliment the textbox's gotfocus event. Its not a intrincic event. So not listed in the editor. Waiting for an innovative reply... Gopal Krishna ...more >>

session expired?
Posted by szabelin at 8/29/2003 1:50:15 PM
Hello - (1) is there a way to check that session has expired? (2) My session timeout is set to 20 minutes, but I can leave the client overnight and my session is still on next morning- so when will it expire? Thanks...more >>

aspnet_wp.exe stops- "An error occurred while try to load the string resources (GetModuleHandle failed with error 126)."
Posted by Stan at 8/29/2003 1:05:00 PM
I get this error when I try to access any page on the website: An error occurred while try to load the string resources (GetModuleHandle failed with error 126). At the same time here is what I got in the Event Log: Event Type: Error Event Source: ASP.NET 1.0.3705.288 Event Category: None...more >>

Refresh to same place on page
Posted by Marty Cruise at 8/29/2003 1:01:28 PM
This might be trivial, or even impossible... I have a user control that resides in a panel with a vertical scrollbar. That is, the panel limits the vertical area of the control and the user scrolls the panel up and down to view different parts of the control. The control contains textbo...more >>

Sending a TXT file to a browser client
Posted by ko at 8/29/2003 12:52:12 PM
Hi all! I dunno how to do this 1. User presses button on webpage 2. ASP.NET app prepares a TXT file 3. Send TXT file to user (not in the browser window, but with the usual open/save dialog) How can i do step 3? Could someone post some code, please? Thanx Bye ...more >>

Length of sessionID
Posted by Thomas Henz at 8/29/2003 11:49:16 AM
Hi! I'm looking for a way to change the length of the generated SessionID from 24 to a higher number. Please help :) Thanks a lot, Tom ...more >>

library file
Posted by Patty at 8/29/2003 11:43:49 AM
When I build asp.net solution, sometimes I found the library file(one of the project dll) could not overwritten, any one know what's the problem is? Thanks in advance!...more >>

random unexpected ASP.NET session expirations
Posted by iunknownxxxx NO[at]SPAM yahoo.com at 8/29/2003 11:41:23 AM
We are experiencing an intermittent problem with our software. Sometimes users' sessions expire prematurely and users lose information (for instance entered on the form they just submitted). Even though session timeout is set to 20 minutes, sometimes user will get session expired after 2 minutes...more >>

Bug in .NET 1.0
Posted by A.M at 8/29/2003 11:35:18 AM
Hi, According to kb article 315158, There is a bug in ASP.NET 1.0 so If we run a web server in AD domain controller, we don't have ASPNET local user in active directory userlists. The article mentioned that the problem has been fixed on .NET1.1 but i don't know how ? I am trying to figur...more >>

Session Variables - Loosing
Posted by Jonk Eidersteldvr at 8/29/2003 11:21:21 AM
Hi, I am using a web application -asp, ado, C#, using CodeBehind files etc.. I am using "InProc" session state and find that session variables are loosing their values between one web form and the next. I have used "InProc" on my development machine and the session variable values are being ...more >>

Saving image to database problem
Posted by rohith at 8/29/2003 11:06:55 AM
Hope someone can help with this question. I have a digital camera that will be used to capture photographs for picture ids. My question is whether I can capture the image from a web page (aspx)and save it to a database without first saving the file on to the harddisk. If anyone can poin...more >>

Calendar Prev/Next Month
Posted by Stanley at 8/29/2003 10:42:24 AM
Ok I am building a calendar in my code and when it is rendered I use the DayRender event to add links to each day. However, I can't seem to find a way to build links for the Prev and Next month text. Anyone know how to get to those from code? Stanley ...more >>

Asp.Net - Class Dll not found help !
Posted by TM at 8/29/2003 10:38:41 AM
Asp.Net Experts, I am build a sample .Net in Asp.Net (c#) using VS.net 2003 with .NFW 1.1. 1. At first, it compiles successfully with "release" version. I ran it and it works fine. 2. Then I resize one of the textBox on the web form, then recompiled and I got this error: ****************...more >>

how secure is SSL?
Posted by Grant at 8/29/2003 10:20:37 AM
I have a page that loads whole bunch of sensitive information including credit cards number. That page has datagrid and text box with data populated in it. Please advise. ...more >>

can I read from a dr, then populate a ds w/ 1 con?
Posted by Jason Shohet at 8/29/2003 9:54:35 AM
A user provides an organization name, username & password. I've got Access as the back end so no triggers, functions etc. This is what I do: 1. open a connection 2. use the datareader to query the orgID [user provides an org name ]. 3. Then do an ExecuteNonQuery, with that orgID in the wh...more >>

Refresh/Compile an ASP.Net application without VS.Net
Posted by MB at 8/29/2003 9:22:34 AM
Hello! At home I am using ASP.net to develop an asp application. Now I have copied this application to my IIS5.0 server at my workplace. Everything works fine, but then I would do a change in a code behind file. I made the changes with notepad, but I can't get it to take affect. Not event res...more >>

Problems with HtmlInputFile & Page Inheritance
Posted by George Durzi at 8/29/2003 8:22:36 AM
I'm converting a c# web application to support page inheritance so that I can really change the look and feel of my application by only modifying the ..cs that my pages inherit from. The only recurring problem I'm having is that none of my HtmlInputFile controls are working after the conversio...more >>

Excel API in .NET
Posted by Clive at 8/29/2003 7:46:01 AM
Hi, Does Excel have to be installed on my machine in order for me to use the Excel Library in .NET. I simply want to call some of Excel's functions such as PRICE and pass in some values and geta result back. I DO NOT want to use the Excel Application (Workbooks etc) itself. Any ide...more >>

how to use a DHTML drop menu with ASP.Net?
Posted by feng at 8/29/2003 7:21:53 AM
Execuse me if I am using the wrong term but what I am intrested in using is a "drop menu" on a page that behaves like the Start menu in Windows. An example of what I am talking about is on the left side of this page: http://www.msnbc.com/news/ Can someone tell me: 1) What is the term for...more >>

Absolute position of datagrid
Posted by Kenneth at 8/29/2003 7:17:17 AM
Hi, In a webform I have a datagrid in a certain position using gridlayout. <asp:DataGrid id="dgrdSkada" style="Z-INDEX: 107; LEFT: 16px; POSITION: absolute; TOP: 200px" runat="server" CssClass="Styles.css" Height="184px" Width="592px" AutoGenerateColumns="False" EnableViewState="False"...more >>

Website Replication Using The URL
Posted by J at 8/29/2003 7:09:33 AM
I would like to get the 234 out of : http://test.com/234 and use it to personalize the site. Does anyone know how to do this? Thanks...more >>

scrolling image
Posted by reedsammy NO[at]SPAM hotmail.com at 8/29/2003 6:47:40 AM
Hope someone can help... I have an image on the page which i have made scrollable with the following code: <div id="Layer1" style="LEFT: 8px; TOP: 368px; height: 180px; width:780px; position: absolute; overflow-x: scroll"> <asp:image id="Image1" style="Z-INDEX: 105; LEFT: 8px; TOP:...more >>

selected item and dropdown list/listbox
Posted by rohith at 8/29/2003 6:37:47 AM
Hope someone can help with this. I am trying to add items to a drop down list from a database. I can do this fine by using the bind method. What I want to do also is to set the selected item to one of those values. Using Asp 3.0 I could use the While Wend loop to see if the value from ...more >>

system.object to namevalue collection
Posted by Charles at 8/29/2003 6:18:07 AM
I'm reading some stuff in a custom section of the web.config file into a name value collection. What do I need to do to make this work: Dim nvcConfig As NameValueCollection = _ ConfigurationSettings.GetConfig ("myApp/mySection ") With option strict on? ...more >>

formsauthentication ignores web.config
Posted by dm2 NO[at]SPAM rcs.urz.tu-dresden.de at 8/29/2003 5:18:58 AM
Background: In the root of my webapp the web.config looks like: <authentication mode="Forms"> <forms loginUrl="login.aspx"> </forms> </authentication> <authorization> <allow users="*" /> </authorization> The folder is set in IIS to Application Status In a subdire...more >>

Server side error
Posted by hoopyhot NO[at]SPAM hotmail.com at 8/29/2003 5:15:41 AM
Hi My Visual Studio.Net has functioned well for a long time. Then suddendtly I get this message for every solution want to run: "Error while trying to run project: Unable to start debugging on the web server. Server side-error occurred on sending debug HTTP request. Make sure the server i...more >>

neiwbie help: Storing form values when page is refreshed
Posted by ahakim99 NO[at]SPAM yahoo.com at 8/29/2003 3:05:01 AM
Hi I have a standard html form which is generated by an XSL sheet. The form data is submitted to the server and is passed on to file.aspx for processing. However file.aspx is refreshed every 5 seconds, when this happens the form data is lost, is there anyway whereby when the page is refreshed...more >>

Using GetOleDbSchemaTable to get SQL Server Field Description - using
Posted by pete at 8/29/2003 12:29:23 AM
Hi All, I am trying to get the field desriptions from SQL Server 2000 using GetOleDbSchemaTable (see code below) Now this returns a description field to the DataTable, but the field is empty. I know my fields have descrptions assigned to them. Has anyone seen this before, is it a bug in...more >>

Stop and start services
Posted by hallum NO[at]SPAM stud.ntnu.no at 8/29/2003 12:15:06 AM
Hi! I'm trying to make myself a simple webpage, enabling me to stop and start certain services on the server. I've been doing some reading, and have given permission for ASPNET account to the services I'd like to control, but then I get stuck on a "The RPC server is unavailable" error. It do...more >>

VC++ DLL from ASP.net
Posted by Sarvjeet at 8/28/2003 11:08:53 PM
i am Calling a VC++ DLL from ASP.net code but it Gives no output ..But it work fine from VB 6.0 ..What may be the reason ?...more >>

Problem with System.Drawing.Graphics as a static object
Posted by Hadar at 8/28/2003 7:56:44 PM
Hi, I'm getting "object is currently in use elsewhere" when I use System.Drawing.Graphics.MesureString. This is what I do: My controls use a utility class the helps it to mesure strings. To get the best performance for the utility class, its members, as well as the System.Drawing.Graphics...more >>

Binary stream does not contain a valid BinaryHeader
Posted by BH at 8/28/2003 7:49:56 PM
I'm trying a simple object serialization and deserialization, and keep getting this error: System.Runtime.Serialization.SerializationException: Binary stream does not contain a valid BinaryHeader, 0 possible causes, invalid stream or object version change between serialization and deserializat...more >>

Can I control client's printer from web form project?
Posted by Krich at 8/28/2003 7:33:20 PM
Can I control what and how to print the data from my web form project via client's printer? Something like using printdocument object. I don't want to use print command from browser program....more >>

How can I download file from a website need authentication
Posted by Sam at 8/28/2003 6:57:54 PM
Hello everyone, WebClient object works very well with the no-need-to-authentication website. Can it also work also with authentication website? Thanks in advance. Sam ...more >>


DevelopmentNow Blog