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 > february 2007 > threads for wednesday february 7

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

Error In setting Master Page Header Info
Posted by Asif at 2/7/2007 11:55:30 PM
Hi All, I did follow the MSDN article (http://msdn2.microsoft.com/en-us/ library/ms379585(VS.80).aspx ) for overriding Master Page properties by setting page title and other Meta information( Keyword and Description) for individual content page by writing the following line on Page_Load even...more >>


asp to aspx conversion problem
Posted by John at 2/7/2007 11:20:52 PM
Hi I have used the wizard provided on www.asp.net to convert an asp app to aspx. Now I am getting the Type 'xxx' is not defined error on the following; Dim rs As ADODB.Recordset Dim conn As ADODB.Connection Dim Flds As ADODB.Fields How can I fix this? Thanks Regards ...more >>

What is the fastest way to pull data from an Oracle table?
Posted by Gummy at 2/7/2007 9:46:00 PM
Hello, I have a pretty large table (22,000 rows, 40 columns) that I need to return to either a webpage (maybe a datagrid or just a table) or just spit out directly to Excel. This table is coming from an Oracle database. The code we are using now uses the Enterprise Library and using the ...more >>

session timeout event
Posted by buu at 2/7/2007 7:48:04 PM
how could I handle session timeout event in asp.net? I would like to perform some action on database when it happens ...more >>

Check that uploaded photo is a JPEG
Posted by Chris Mahoney at 2/7/2007 6:06:43 PM
Hi I'm setting up a site where users will be able to upload photos. I'd like to be able to ensure that they're uploading JPEGs, and not malicious code. I've tried checking the MIME type, but that doesn't seem to be reliable; for example if you rename an .exe to .jpg and upload using Firefox, ...more >>

Newbie, submit form error on postback
Posted by verci at 2/7/2007 5:17:26 PM
Hi guys, I'm running VS2005 Professional, SQL Server Express 2005, Win XP Pro SP2, ASP.net 2.0, so far I've been stuck for 2 days, thanks in advanced for your help. I trying to migrate a small forum application build on asp.net 1.1 to asp.net 2.0, the problem is when I try to open the fo...more >>

Open New window and size it to size of graphic
Posted by tshad at 2/7/2007 4:45:15 PM
I have an aspx window that is going to open a window (javascript) and display a graphic. I want to resize the window to the size of the graphic before it actually displays - how do I do that? In my calling routine I have the following: *********************************** function OpenLogoP...more >>

Can we Modify/Remove HttpRequest Header
Posted by ABCL at 2/7/2007 3:59:59 PM
Hi all I am develoing Asp.net application, but want to make it secure.. Is there anyway that I can Modify/Remove Request Header which contains some User related data? Thanks In Advanace Thanks for your time ABCL ...more >>



Applications unable to have own App Pools
Posted by Cameron.39 NO[at]SPAM gmail.com at 2/7/2007 3:13:16 PM
Hello, I am currently running into a bug where I have two applications on the same machine, using the same Identity, for the same web site. One application (App1) accesses the other application (App2). The issue is with the application pool. The objective is for each application to have its...more >>

Web.Config & common code snippets.
Posted by G at 2/7/2007 3:08:42 PM
Hello, Is it possible (and / or wise) to add custom pieces of code inside your Web.Config file? For example I store the connection string in Web.Config and access it via ConfigurationSettings.AppSettings["ConnectionString"]. Is it possible to call on ConfigurationSettings.AppSettings["MyC...more >>

GRIDVIEW: condition processing
Posted by MarkAurit at 2/7/2007 2:47:03 PM
am displaying data in a gridview. I have an "edit" link in a asp:ButtonField; when the link is clicked an edit page comes up with the key (from a datafield). Its all good. However, I need to do some conditional processing, and don’t know how. In one of the columns, either numbers of b...more >>

image buttons
Posted by tshad at 2/7/2007 2:46:19 PM
Is there a way to display images (imageButtons or linkbuttons for instance) as a max size (200px by 50px) and not have it stretch the image? What I want to be able to do is limit the real estate an image can take up but not stretch the image if it happens to be 150px by 40. I am doing comm...more >>

Return false is not working in JavaScript
Posted by srinivas at 2/7/2007 2:33:16 PM
Hi, I'm having an ASP.net page with a dropdown list box named ddlStatus, a button and editable gridview. I wrote a small javascript function "OnSave()" and called it on the event 'onClientClick()' event of the button. I have a required field validator for the text boxes in the grid view al...more >>

page error that I cannot isolate
Posted by jonefer at 2/7/2007 2:03:03 PM
any ideas?... when my website loads, there are completely no errors until I click a box. Whether it is a textbox or a combo box The error says Line 115 Error: Object expected I know that maybe asking a lot right now, but I cannot imagine what would cause such an error. I go to line 115...more >>

Using Extra Columns in SQLDataSource
Posted by Don Miller at 2/7/2007 1:38:41 PM
I have controls (dropdown list, radiobutton list) that are bound to an SQLDataSource. In the SELECT statement in the DataSource configuration I have tried to include other columns that would be useful to do something with (e.g. store in an object, textbox, etc.) besides just populating the d...more >>

GridView ObjectDataSource hidden columns
Posted by Steven Nagy at 2/7/2007 1:11:24 PM
Hi, I am painfully aware of the fact that with a GridView bound to an ObjectDataSource that if you have a hidden grid column (visible=false) then it does not post back that field to your objectdatasource for update/insert/etc. The workaround I have found is to include all your field names i...more >>

FTPWebRequest File.ReadOpen Could Not Find File
Posted by jlacefie NO[at]SPAM gmail.com at 2/7/2007 12:58:20 PM
Hello, I am having trouble with the following code using ASP.Net 2.0. I recieve an error on the line File.OpenRead(fPath) stating could not find file . The fPath comes from a textbox control on the client and the error displays the correct path for the file. This code works when I use t...more >>

my ISP said that my asp.net 2.0 app causes their application pool to crash
Posted by Nalaka at 2/7/2007 12:17:37 PM
Hi, Can you tell me what type a things in asp.net code can crash... "application pool". Any example would do.... I was under imresiion that code cannot crash the app pool. Any direction is deeply appreciated Nalaka ...more >>

Table Adapter generates bad SQL under load
Posted by JamesIEDOTNET at 2/7/2007 12:13:05 PM
I have an application (ASP.NET 2.0/SQL Server 2005) which makes heavy use of table adapters for pulling records from SQL. Under heavy load, we get a lot of SQL Server Timeout errors. We have run a trace on SQL Server and it shows that several of the SQL statements being passed into SQL Server,...more >>

2.0 membership roles database problem
Posted by MarkAurit at 2/7/2007 11:53:02 AM
Im trying to help a friend who is attempting to deploy an asp.net 2.0 app. She wants to use the membership/role system, and the necessary database and its tables, etc, exist in the sql server 2000 instance (which is on a seperate server). When she brings up the asp.net admin app from within ...more >>

osCommerce equivalent in ASP.NET
Posted by Joe Spears at 2/7/2007 10:37:59 AM
Hi Does anybody know if there is an osCommerce equivalent in ASP.NET Thanks ...more >>

Messagebox in asp.net? I need another posibillity!
Posted by Luis Alvarado at 2/7/2007 9:00:04 AM
Hello everybody, I am new programming in asp.net, recently I have been hired in a company and they were creating a simple application, this application is developed in asp.net 2 visual Studio 2005 and is tested in a Windows 2003 standard. My problem is that when I check some buttons events...more >>

LastIndexOf
Posted by vinay at 2/7/2007 8:29:00 AM
I am trying to check LastIndexOf "\" in a File Path, if it not there i want to append a "\" for some reason it throws error? int index = filePath.LastIndexOf("\"); Any suggestions... -- http://pathidotnet.blogspot.com ===== vInAypAtHi o__ ---_,>/'_------ (_) \(_) ---------...more >>

Best way to generate custom UI component?
Posted by sean.gilbertson NO[at]SPAM gmail.com at 2/7/2007 8:20:10 AM
Hi, I'm sort of new to ASP.NET 2.0 and ASP.NET in general. I have some data that I would like to display in a tabular format, but I'm going to be generating the columns dynamically, and I would like to make it so that each row can be expanded downward dynamically to show detailed information...more >>

Updating application without affecting logged in users
Posted by Wannabe at 2/7/2007 8:13:00 AM
When we want to make updates to our application, we have to make sure all users are logged out, or they will get kicked out when we copy a new DLL. Our web application, using the 1.1 framework, we are not allowed to use VS2003 to copy changes up to the application. Reason we are told this is...more >>

String String Function
Posted by rn5a NO[at]SPAM rediffmail.com at 2/7/2007 8:07:40 AM
All the String functions like 'Len', 'Left', 'Right', 'Mid' etc. that are available in ASP are supported by ASP.NET as well except for the string function 'String'. The 'String' function takes this form: String(number, character) which returns a string consisting of *character* which is r...more >>

maximum cell length in excel 2000
Posted by Mike P at 2/7/2007 8:00:14 AM
What is the maximum cell length in Excel 2000? I am writing a large text field to Excel and it seems to break it up into different cells after about 400 characters and then breaks everything beyond that into a separate cell for each sentence. *** Sent via Developersdex http://www.develope...more >>

2003 Project but a 2005 solution? Confused
Posted by JK at 2/7/2007 7:38:00 AM
We have a 2003 project but the solution file is 2005! We use the version selector it opens in 2005 but says we have to upgrade to 2005, we open in 2003 but says the solution is a 2005 version confused!...more >>

enableEventValidation
Posted by WinDev at 2/7/2007 7:12:01 AM
We have an ASP.Net v1.1 application that gets the error Error Message:Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ver...more >>

how to fetch data from excel sheet
Posted by dmshah01in NO[at]SPAM gmail.com at 2/7/2007 4:37:24 AM
hi. i am new to .net i need to fetch data from excel sheet and display it on web page. please help me how to do this??? ...more >>

downloading .xls files from the web
Posted by Fonzie at 2/7/2007 4:04:48 AM
Hi I m new to ASP.net development. I am making a proj tht involves downloading and saving excel sheets from a URL like http://www.puc-rio.br/marco.ind/xls/dp-chapter6-nonlinear_npv.xls Can someone tell me how to do tht? Thanx! ...more >>

Windows XP Pro and Active Directory
Posted by effendi NO[at]SPAM epitome.com.sg at 2/7/2007 3:35:04 AM
Hello everyone, I am new to ASP.net development so excuse me if the questions sounds naive. I am developing an application on a stand alone laptop. I am using MS SQL 2005 Express, IIS.5.1 and Visual Studio Express on a Window XP Pro OS. My application requires an AD authentication. I can code...more >>


DevelopmentNow Blog