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 2006 > threads for wednesday 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

Warning and how to optimize code
Posted by Aaron at 1/18/2006 11:56:33 PM
Hello all, I have 5 warnings only but I want to know how to "optimize" my code so that it is "clean." The warning is this with all 5 the same Warning 1 Variable 'strxxx' is used before it has been assigned a value. A null reference exception could result at runtime. Here is the code D...more >>


Forum Coding
Posted by qwe85 at 1/18/2006 11:43:23 PM
Hi, Does anyone have the coding on how to create a forum using ASP.NET? I'm really in need of help. By the way, i'm using Microsoft SQL for my database. Can anyone please help me? I need the coding urgently. Thank you in advance -- qwe85 --------------------------------------------...more >>

Problem with aspx that takes very long time to complete the reques
Posted by prashanth at 1/18/2006 11:40:03 PM
we have a Asp.net application which is used to generate the reports. In this application there are some reports which takes more than 50 minutes of the time.these reports works fine on development PC Win2k professional with IIS5.0 but These report which takes longer duration does not work on ...more >>

///
Posted by David R. at 1/18/2006 11:33:46 PM
How do I convert the /// comment block into comment documentation in VS 2005? ...more >>

Can I use SQLExpress database in App_Data in SQL2005 stand-alone box?
Posted by GS at 1/18/2006 10:18:42 PM
Hello, I use SQL express database on my workstation under App_data directory = for development. I also want to use it in staging enviroment where SQL = 2005 full blown version is installed. Can I just copy database and use the same connection string to connect = to it? Greg...more >>

Parse Error with FileUpload
Posted by Mark Sandfox at 1/18/2006 10:18:20 PM
What is wrong? Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type System.Web.UI.WebCo...more >>

What is the proper code for file uploading.
Posted by Mark Sandfox at 1/18/2006 7:57:18 PM
I have tried everyway i know both Input type=file and asp.net 2.0 asp:uploadfile and continue to run into road blocks at one point or another. The objective is as follows: Allow user to upload multiple files of a specific extension (i.e. .jpg). In addition to uploading to a specif...more >>

Updating component attributes
Posted by Andrew Chalk at 1/18/2006 7:40:48 PM
If I update the background color of an asp.net control (e.g. a TableCell) from client-side javascript, how do I read that change from asp.net server-side code (e.gf. in C#)? Many thanks. ...more >>



Web.config not recognized in root directory
Posted by savajx1 at 1/18/2006 7:32:56 PM
I am using the new "web deployment addin" in VS 2005 to output my web site. The web site is correctly output (assemblies generated in the \bin subdirectory). The web site on my developement machine (WIN 2K OS) can be accessed and works correctly from other workstations (i.e no problem here). ...more >>

Good resource for everything AJAX & ASP.NET?
Posted by nospam NO[at]SPAM nospam.sss at 1/18/2006 6:30:19 PM
The information I am finding about asp.net & Ajax seems to be scattered in too many web sites and blogs. Any good resource that kinda consolidates all this information in one place and is updated regularly? Also anyone used www.backbase.com with asp.net? This seems to be a quality framework...more >>

sitemap stuff
Posted by gerry at 1/18/2006 6:27:22 PM
I'm not sure if my last post got sent or not so ... If anyone is remotely interested here is a link to some things I have been playing around with sitemaps and extended custom providers this includes a web based frontpage-esque sitemap editor - or at least it is heading in that direction no...more >>

ServerVariables("LOGON_USER") reports a length greater than the characters displayed
Posted by Ryan at 1/18/2006 6:13:59 PM
I am trying to figure out why I am trying to use the result of Request.ServerVariables("LOGON_USER") in a query in my aspx application. I want to use the server variable. When I check the length of the string that this method returns (len(Request.ServerVariables("LOGON_USER")) I get a numbe...more >>

moving projects
Posted by Jonathan Crawford at 1/18/2006 5:48:27 PM
Hi I am sure this must have a simple answer. I can't move web projects. I move the project to the webserver and it runs fine from the browser soo it is there an it works I click on the sln file and I get some message about the default access method being set to fileshare and the appplic...more >>

changing the asp.net development server port?
Posted by ASP Developer at 1/18/2006 5:46:02 PM
At my new job the asp.net development server port is 2204. So the only way for me to test aspx pages is by typing "localhost:2204/myapp/default.aspx". At my old job this port was not enabled and I could simply type localhost/myapp/default.aspx. Is there a way to change this somewhere? Why ...more >>

"Protect" or Disable Editing of A Webcontrol
Posted by Randy at 1/18/2006 5:28:47 PM
I hope somebody can make a hero out of me before tomorrow! Let's say I have a web page with a couple of textboxes, checkboxes, radio buttons, etc. User fills in some data, clicks submit, and off it goes. Tomorrow, someone else retrieves that page with the data. I want the second user to see what...more >>

Login not working but New account logs user in
Posted by Kirk Groome at 1/18/2006 5:13:51 PM
Hi all, I'm working on a web site and I would like to use the VS login controls. The problem I'm having is that when I create a new user all works fine. The user gets added to the database and is logged in to the web site. the problem is when you leave the web site you can not login again. I g...more >>

How do I change the colour of the grid in a GridView.
Posted by Dick at 1/18/2006 5:06:02 PM
The GridLines property is set to Both and, in any case, I can see them if I make the background anything other than white. But I really want the backgroud white! Will I have to be content with not seeing the grid lines? Or is there a property that I can't see?...more >>

Architecture questions?
Posted by ayos at 1/18/2006 5:04:06 PM
Hi I want to show a grid filled with fields from more than one table. I used ObjectDatasourceS (One ObjectDataSource for each table). I guess this is the way of doing things in the new asp.net 2.0? But is that the way of doing things in Real life web applications? Kind regards, Ayman...more >>

Mixing server and client controls
Posted by Shawn Repphan at 1/18/2006 4:59:44 PM
I have a webform with about 20 html textboxes and checkboxes. I am using ICallbackEventHandler to page through these successfully. But I need to be able to accept changes from these fields. How can I access an html field from ASP.net? Or better yet, how do I access server controls from javas...more >>

System.Unauthorized.Access.Exception
Posted by Paul at 1/18/2006 4:58:02 PM
ASP.NET is not authorized to access the requested resource is the error. I am using impersonation and have impersonate =true, also anymonous access for the virtual directory is not enabled so it should be using the windows authentication. This is on Server2003 machine. The same code works f...more >>

DTS OnProgress and OnError events do not fire when called from ASP.NET
Posted by Nick Gilbert at 1/18/2006 4:55:57 PM
Hi, I'm using the following code to execute a DTS package from .NET: http://support.microsoft.com/?kbid=319985 However when I run my package from ASP.NET, only the OnQueryCancel event seems to fire. The OnProgress and OnError events do not fire. If I cause an error on purpose, a COMExce...more >>

How do I do cross page posting from a master page?
Posted by Alan Silver at 1/18/2006 4:54:35 PM
Hello, I would like to add a search text box to the master page, so that it appears on every page of the site. I then want the button next to the search box to do a cross page post to the search page, where I want to pick up the contents of the search box. Trouble is, I can't see how to get...more >>

asp:Hyperlink NavigateUrl problem
Posted by gerry at 1/18/2006 4:22:16 PM
I have a page that has an asp:Hyperlink control on it. The NavigateUrl is set to "~/Aaa/Bbb.aspx" When the link is rendered it is rendered as Aaa/Bbb.aspx which I would think is completely incorrect. As I understand the use of the this syntax , ~ should be replaced by the application path. s...more >>

Writing to eventlog
Posted by Leszek at 1/18/2006 4:12:05 PM
Hello! I'm creating application, that will get data from SQL and show it. The end of it is writing to log informations from which table it was readed. And there is a problem - Requested registry acces is not allowed. I know, that it is running in context of ASP.NET (or Network Service), but ...more >>

Add elements to page
Posted by Miguel Dias Moura at 1/18/2006 4:03:24 PM
Hello, I am working on an Asp.Net 2.0 web site and I neet to add a few elements to the head of my page but FROM my VB code. The elements I need to add are: 1. Page Title 2. Meta Tags such as "Title", "Description", "Keywords", etc. How can I do this? Thank You, Miguel ...more >>

How to refresh one frame from another?
Posted by Eric at 1/18/2006 4:01:55 PM
I have a page with two frames, one on the left and on on the right. Certain actions taken in the right side pane need to cause a refresh or a re- Databinding of the left pane but I'm not sure how to programatically trigger such an action. I checked the Page.Parent in the debugger but have n...more >>

FileUpload control - How to limit 'Files of Type'?
Posted by VB Programmer at 1/18/2006 4:01:20 PM
How do you limit the "Files of Type" selections in the dialog for a FileUpload control? ...more >>

How check filesize using FileUpload control?
Posted by VB Programmer at 1/18/2006 3:50:32 PM
I am using a FileUpload control (ASP.NET 2.0). How do I check the length of the file in bytes BEFORE I let them upload it? I believe my code checks now AFTER... If FileUpload1.PostedFile.ContentLength > ConfigurationManager.AppSettings("MaxVideoUploadSize") Then lblEr...more >>

How do I get from dynamic aspx to static html
Posted by Rich S at 1/18/2006 3:47:19 PM
I created this neat little .net site which tracks the inventory of my little widge company giving me real time inventory counts and whatnot. It uses your standard code that calls a stored procedure and loads up a datagrid and works really well. It occurred to me that since my database inventor...more >>

identity impersonate
Posted by Paul at 1/18/2006 3:31:01 PM
just wondering what could cause identity impersonate = true to not work on a server? It works on my development machine but when I try it on a server that has the framework installed it does not seem to work. the setup is client------>server (should use user password and name)---->webfile ge...more >>

how do i send data to aspx ?
Posted by yatz123 NO[at]SPAM gmail.com at 1/18/2006 2:48:03 PM
Hello i want to create a service ( not via WEB service ) as an aspx file . client should send me some data as key + value in my aspx file i will analyze the input and return as answer , what are my ways to do it . i know i can do it via the url (adding parameter) , and via submitted form an...more >>

.Net 2.0 Client Callback & SVG
Posted by Peter Z at 1/18/2006 2:39:16 PM
My app uses the navigation tree and client callback. It works fine until one of my iframe try to post to a page uses SVG on it. It flicks like crazy. Anyone knows how to deal with it? Thanks ...more >>

Can you use multiple authentications (Windows and None) together
Posted by Mori at 1/18/2006 2:17:01 PM
Most of my pages require the Windows authentication. I have one page that does not need authentication. Can that be done on the same site? If so how? ...more >>

iframe and session troubles
Posted by Iwan Adler at 1/18/2006 2:04:12 PM
hi ich have an asp.net application. on the index.aspx page are 2 iframes. these iframes contain a src to another aspx page from my application. the index page is cached from the iis, also the first requests, that arrive to the application are the 2 from the iframes. now, for each request i...more >>

How to concatate string array?
Posted by GS at 1/18/2006 1:57:52 PM
Hello, I have string collection. I want to concatate all collection members = using new line character. How do I do that in minimum amount of code? Thanks G myItem.ShipToLocation is String Collection I'd like to use something like Response.Write = (string.Concat(myItem.ShipToLocation.T...more >>

ASP.NET (c# code behind) will not load legacy C++ dll
Posted by Andy Sutorius via DotNetMonster.com at 1/18/2006 1:43:16 PM
Using the code below the browser just sits and spins. The dll is located in the root of the web app. System.Runtime.Interop is in the using statements. I have tried this in ASP.NET 1.1 and 2.0 and I get the same result. For testing purposes I have hooked it up to a windows app and it performs as ...more >>

netfxsbs10.xe - What does that do?
Posted by BookerW at 1/18/2006 1:16:05 PM
I went to \windows\microsoft.net\framework and i typed netfxsbs10 /? and it just went to the next command prompt. I thought it may bring up a help screen about that executable, but I "fear" that the executable ran. What exactly dows that executable do? I ran this on my Windows 2003 ser...more >>

How to update dataset from database automatically via Visual Data Designer
Posted by GS at 1/18/2006 1:13:27 PM
Hello, I used Visual Data Designer to design dataset based on table from SQL = database. I made a change to database (increased length of some columns) = but my dataset is still the same. Any way to update dataset in designer = with new values without recreating it?...more >>

ASP.Net page Accessing Shared Resource
Posted by baldwin at 1/18/2006 1:01:01 PM
Hello, We are going to have a web application that will be load balanced. Uploading documents into the same server is not an option. So we need to create a shared folder in a different machine and the 2 web servers will be accessing the shared folder. Problem is, how can we access the shared ...more >>

How do I...
Posted by AGB at 1/18/2006 12:57:48 PM
Hi all, I have to created a page that allows users to click a link or button to watch a video. The app must insert a database row with information about the video and time watched. I am unsure how I should proceed with this. Right now I just a link: <A href="vid.asx"><IMG src="wmpIcon.gi...more >>

UniqueEmail problem
Posted by Papanii Okai at 1/18/2006 12:47:25 PM
Hi Guys, I have a problem which I cannot seem to fix. I have a registration page that requires users to fill in certain information. One of the fields required is "user-Email". In my code behind page (c#), I used one of the overloaded Membership.createUser() methods to create the ...more >>

getting the character code of a character in a string
Posted by Velvet at 1/18/2006 12:10:14 PM
I'm trying to convert some JavaScript to C# and don't know how to get the character code of a character in a string. in JavaScript it is as follows: for( i = 0; i < email.length; i++) { var fs = email.charCodeAt(i); uniemail = uniemail + '&#' + fs + ';'; } What function would re...more >>

what is different between session and session token?
Posted by chalres at 1/18/2006 12:00:30 PM
what is different between session and session token? that's i need to know...is it called Session? ...more >>

Regular expression question
Posted by David McCollough at 1/18/2006 11:49:17 AM
I am trying to formulate a regular expression that would not allow strings such as the following to be entered. XXXXXXXXXXXXXXXX AAAAAAAAAAAAAAA BBBBBBBBB Basically any repeating character > 2 of the same character. I have tried several things and I can't seem to get it to work. Any ...more >>

Gridview Formatting is poor.
Posted by Edwin Knoppert at 1/18/2006 11:48:06 AM
I want to format a hyperlink bounded field. Fields *could* have http:// *or not* in the websitename entered. I want to format this to http://website.com otherwise i'll get a relative link. I know the itemtemplate workarounds or through row events. It's that i'm trying to use the internal fo...more >>

Assembly does not allow partially trusted callers
Posted by g3000 at 1/18/2006 11:42:07 AM
I developed on a Win2K3 Server with VS 2005 Published a web app to my local drive. Copied that folder to a Win2K3 Server. Configured a new virtual directory Moved the files there. Modified the config file so debug=false Then tried to run it. There are basically two pages in the app. The ...more >>

Freezing Datagrid Column Headers
Posted by John Walker at 1/18/2006 11:40:18 AM
Hi, We have a datagrid with column headers. If the datagrid has more than say 25 rows the user needs to scroll down to be able to see the rest of the grid. When the user does this the column headers scrolls up off the screen and it becomes hard for the user to determine what the columns are...more >>

Please, seriuosly, help
Posted by Chris at 1/18/2006 11:37:54 AM
Sorry for the cross post. I really need help. It's over a moth I have this problem. I have this problem on all my webservices all of a sudden. When I try to add any of the web services I created I get the error in Visual Studio There was an error downloading 'http://server/webservice.asmx...more >>

call server side function then javascript
Posted by Lostdante via DotNetMonster.com at 1/18/2006 11:33:33 AM
Hi, I have a modal dialog box which i'm using to collect user data. what I want to do is when the user clicks the 'submit' button add the data to the database and then call the java script to close the window and pass a value back to the parent page. I've tried using RegisterStartupScript ...more >>

Using Hyperlink Control for file download
Posted by rh at 1/18/2006 11:20:31 AM
Hi, I am using a Hyperlink control that links to an Excel file. I would like the "File Download" dialog box to appear instead of the Excel file automatically opening within the browser. What do I need to do? Thanks in advance. ...more >>

this.Dropdownlist not working
Posted by Paul at 1/18/2006 10:59:12 AM
I added a textbox to a c# page and can access it with code behind but added a dropdown list by draging it on the page from the toolbar but when typing this. the dropdown id is not selectable and I can not access any of its attributes. -- Paul G Software engineer....more >>

cool list of threads for clearing Software Interviews
Posted by suraj at 1/18/2006 10:54:51 AM
..NET Interview Questions http://blogs.crsw.com/mark/articles/2542.aspx http://www.geocities.com/dotnetinterviews/ http://blog.daveranck.com/archive/2005/01/20/3553.aspx http://www.dotnetspider.com/technology/exams/ExamsCategory.aspx?CategoryId=3 http://techinterviews.com/ http://www.cer...more >>

Invalid postback or callback argument problem
Posted by kevin goff at 1/18/2006 10:54:38 AM
We are trying to get a single application compiled to .net 1.1 that will run on both asp.net 1.1 and asp.net 2.0. When we try to run our app on the .net 1.1 runtime it works fine. When we move it to 2.0 it breaks with the following error: Invalid postback or callback argument. Event validat...more >>

vs 2005 and framework 1.1
Posted by Alex D. at 1/18/2006 10:25:34 AM
does any body knows how to configure vs 2005 to use .net framework 1.1 instead of framework 2.0? Thanks, Alex. ...more >>

Asp.net validators
Posted by Papanii Okai at 1/18/2006 9:49:32 AM
I have a discussion forum page where, a user can add a new topic thread to the list of threads. Now to ensure that a user supplies a title and content to this form, I have two client side RequiredFiledvalidators "titleCheck" and "messageCheck". Now I also have a cancel button on the page that ...more >>

cache invalidation ASP.net 2.0
Posted by Vikram at 1/18/2006 9:43:01 AM
Is it compulsory to set up web.config file for using cache invalidation in asp.net 2.0. Is there any way by which we can achive cache invalidation without doing any setting in web.config. ...more >>

2.0 ws bug
Posted by param NO[at]SPAM community.nospam at 1/18/2006 9:40:23 AM
When you put a Web service in the same iis app directory as a regular web app, you get the following error:- The MaintainScrollPositionOnPostback page directive cannot be set without an htmlform. We then have to go inside web.config and disable that property under the pages element, whic...more >>

Regular Expression Help
Posted by tdavisjr at 1/18/2006 9:22:03 AM
Anyone can give me a quick RegEx pattern that would match a 7 or 10 digit number. This is not a range; but exactly 7 or 10. I'm beating my head over this, nothing I am doing works. Thanks ...more >>

ecommerce solution
Posted by mnsindhu74 NO[at]SPAM yahoo.com at 1/18/2006 8:57:02 AM
I will be developing an ecommerce store solution in asp.net and c# shortly. My Qn is about the store admin account. Does the store administration need to be a web based app or can I develop it in c# as a windows form application. I need some suggestions. or can some body point me to a good exa...more >>

Another topic on "Cannot use a leading .. to exit above the top directory"
Posted by webonomic at 1/18/2006 8:24:49 AM
A number of topics ask how to solve the "Cannot use a leading .. to exit above the top directory" error. I am having the same problem with an asp.net 2.0 website. The site works fine on Localhost, but not when I move the site to my hosting company. I've read that turning the Parent Paths o...more >>

how to read a registry key in asp.net?
Posted by michael.cizmar NO[at]SPAM mcplusa.com at 1/18/2006 8:23:41 AM
What rights do I need to assign to the asp.net account in order for it to be able to read some settings from the registry. These settings are not for my able but have information about another system which I am pulling data from. Thanks! Mike Cizmar ...more >>

How do rebind datalist when record is updated
Posted by Richard Steele at 1/18/2006 8:18:33 AM
Hi Using Asp.net Framwork 2 VSNet 2005 how can i get a datalist (no editing invloved) to rebind itself when a record is changed in the database (not from the same datalist). Or on a timed interval i.e. every 5 mins. The user will have the page open 24hours so page refreshing is not an optio...more >>

Session not ending?
Posted by Fabio Cavassini at 1/18/2006 8:15:50 AM
I've got the following configuration in Web.config <authentication mode="Forms"> <forms name=".ASPXCOOKIE" loginUrl="sigin.aspx" protection="All" timeout="30" path="/"> </forms> </authentication> <authorization> <deny users="?" /> </authorization> When I fir...more >>

Button server control w/ onClick attribute
Posted by Joe at 1/18/2006 8:12:04 AM
Hello All, I am dynamically adding a Button web server control to my page with the following code: Dim btnView As New Button btnView.Text = " View Form " btnView.Attributes.Add("onClick", "javascript:ShowPdfWindow()") AddHandler btnView.Click, AddressOf ShowPdf plcButtons.Controls.Add(bt...more >>

Help on databinding ?
Posted by serge calderara at 1/18/2006 7:50:25 AM
Dear all, I try to bind a particular column from a dataset to a listbox What I am doing wrong in the following code ? There is no error return but listbox is empty Dim ds As New Data.DataSet ds = m_DbLayer.GetReels(m_LineName) ds.Tables(0).TableNa...more >>

Integrated Security Problem? - User must log in repeatedly
Posted by Michael E. O. Borchert at 1/18/2006 7:49:17 AM
I'm having a very isolated problem using with (I believe) windows integrated security on a site on a corporate intranet, unfortunately the one person who is running into the problem is the main person who needs to use the app. When this one user (I have tried three others) clicks a "submit" but...more >>

How to make a web user control show on the top?
Posted by Andrew at 1/18/2006 7:37:03 AM
Hello, friends, We created a drop-down menu bar and a show/hide calendar web user controls mainly using javaScript and html. However, they both have the problem that they are not dispaly as the top controls in IE browser. Rather, text box, file field, and etc. are on the top. As a resul...more >>

New Install v2.0 - Error w/ Simple ASPX (System Logon failure)
Posted by Doug at 1/18/2006 7:14:12 AM
I've installed ASP.NET onto our web server (Win2k/unsure of IIS version) this morning. I created a simple ASPX page in Notepad that writes out an asp:Label control to the page and dynamically populates it with the current date/time. I ran the page and received an error in my browser, "Server ...more >>

Multiple Web Projects in a single solution doesn't convert to 2005
Posted by David Herbst at 1/18/2006 7:11:40 AM
I have a solution that contains one main web project, ten sub web projects and a controls library project all in a single web application. I followed the steps in the following MS KB: How To Create an ASP.NET Application from Multiple Projects for Team Development http://support.microsoft.com/...more >>

ASP.NET 2.0 custom validator javascript problem
Posted by useenmelately NO[at]SPAM hotmail.com at 1/18/2006 6:56:47 AM
Hello, I am working with asp.net 2.0 and have run into a problem with the custom validators. The client validation functions were originally written in vbscript, but as this is not compatible with many browers i changed them to javascript. This is where the problem came about, the exact same ...more >>

ASP.net page does not work if cookies disabled in the browser.
Posted by dotnettester at 1/18/2006 6:51:08 AM
Hi, I was trying to write cookies in an asp.net page. To test it I disabled the cookies in my browser. But then the page did not load and kept on loading it indefinitely. I commented the code that writes the cookie but still the page seems to be in an un-ending redirecting loop. Whats th...more >>

IndexOf and LastIndexOf not working
Posted by .Net Sports at 1/18/2006 6:43:01 AM
Using StreamReader to open and read files, I'm trying to parse some text within a file at a starting point grabbing all the text to the ending point; it works on one particular file (a .txt file) with no problem, but on an .asp file when I try it abc1 = xyz1.Substring(xyz1.IndexOf("starting ke...more >>

2003 Server Ignoring Forms Authentication (ASP.NET 2.0)
Posted by Mark Milley at 1/18/2006 6:38:05 AM
Hi All - I'm an MCAD and I've got a real head-scratcher here. I've created a ASP.NET Web Application for a client that essentially is a wrapper for SQL Reporting Services (they wanted a custom security model). The application uses ASP.NET 2.0 and forms authentication to lock down ...more >>

How to read fileupload into a string
Posted by ad at 1/18/2006 6:21:18 AM
I put a fileupload in my web application to let user upload a text file. I want to use a string variable to receive the file which user upload. I do the steps below. How can I read the content of the file form fileupload ? ...more >>

Calendar control to display image on Mondays
Posted by David at 1/18/2006 6:01:06 AM
I am trying to get an image to appear on all Mondays within the calendar control. I also want that image to be a link. How can I do this?...more >>

CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: need help
Posted by Learner at 1/18/2006 5:54:04 AM
Hi Friends, I am building the dataset programmatically by calling the stored proc by passing a parameter and i am getting the data into the dataset. As a test when i bind this dataset to a grid i see the data in the front. So my dataset is loaded with the data. My actual task ...more >>

Problem with comparing a Table View Column with the Table Column?
Posted by savvy at 1/18/2006 5:14:04 AM
I have a CVdetails table which all the personal and technical details along with the path called CV_Path which stores the path of CV word doc. Using Index Server Query i got the paths in my SQL server using Linked Server. I used this Query SELECT Path FROM OPENQUERY (FileSystem,'SELECT Directo...more >>

Problems with Windows Control and Asp.net
Posted by Dean Jones at 1/18/2006 5:14:02 AM
Hi, I'm creating an ASP.NET 2.0 application that must have a Windows Control into. I created a very simple Windows Control Library, a hello world example, compiled the dll, putted it in the same directory of my asp.net application and in my asp.net application i've the following code: ...more >>

Silly question about XHTML
Posted by musosdev at 1/18/2006 4:01:05 AM
I think I'm having a dim day and should just go back to bed, but alas, I cant do that.... I'm writing a peice of code to create XHTML compliant documents using System.IO, there's probably an easier way but anyway... my code works fine, and it saves a file as an XML file. If I load this in I...more >>

ASP.NET 2.0 Project - Design Issue?
Posted by dm1608 at 1/18/2006 3:49:27 AM
Hi - I have a few Classic ASP projects that I would like to convert to ASP.NET 2.0. I've been learning ASP.NET 2.0 for the past few months. One of the ASP projects that I'm converting is a simple HTML form that allows the user to select a few options for a query. Based on their input, ...more >>

Adding a "Select" option to a databound dropdown
Posted by Simon Harvey at 1/18/2006 3:41:30 AM
Hi all, I have to use drop downs in a number of places in my applications. These drop downs are databound but I can't seem to see how to add a new item (eg "Select" or something like that) to the beginning of the drop down. I obviously dont want to have to put dodgy data like that in the d...more >>

ASP.NET SMTP Email issue with IIS 6.0 on Win Server 2003
Posted by Mart at 1/18/2006 3:36:30 AM
hi, urgent assistance needed I have been developing some webforms in VB.NET that have email submissions. I developed them locally using VS .NET 2003 on XP Prof. Then tested them on our development server running Win Server 200 and IIS 5.0. all was fine til i put them live on a new Intran...more >>

Passing Session Variables from ASPX to ASP application
Posted by GeRmIc at 1/18/2006 2:49:01 AM
Hi, I have an ASPX application from which I need to pass session variables (ex:username and password) to an ASP Page. How do I do this? Could you pls give a n example code for both aspx and asp. Thanks! ...more >>

WIndows controls in IE
Posted by poppy at 1/18/2006 2:33:03 AM
Apologies for xpost. I initially posted on wrong group. OS: WIn XP pro & IE Ver 6.0 VS.net 2005 framework 2.0 I am having trouble Hosting a Widnows Forms Control In IE. I have created my Windows forms control and dropped the dll into my virtual folder and I have created an HTML page which co...more >>

Data display question
Posted by Alex Greenberg at 1/18/2006 2:14:49 AM
Hi, I don't know if I'm doing anything wrong, but I'm trying to list 3 products per line on a page. So for example, if a user searches for 'widget' and he gets 4 results, I would have something like: w1 w2 w3 w1 info w2 info w3 info ---------- ---...more >>

Datagrid Hyperlink
Posted by Sonny Sablan at 1/18/2006 1:23:15 AM
I am trying to make an editcommandcolumn with a hyperlink but want the edit text to be the RecordID... How is this done? Thanks Sonny ...more >>

How to get an image resource URL? Thank You.
Posted by Miguel Dias Moura at 1/18/2006 12:54:24 AM
Hello, I am using a comercial control where I need to define various buttons. One of the button properties is URL. For example: id.Button.URL = "images/button01.jpg" I want to use the resources in Asp.Net. I can't make something like: id.Button = resources.mywebsite.button01 Basicl...more >>


DevelopmentNow Blog