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 > may 2004 > threads for monday may 3

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

Bind Array to SelectedIndex of Checkboxlist?
Posted by Tom at 5/3/2004 11:16:03 PM
Hi There are a Checkboxlist with 20 checkboxitems and a string "1,3,5,7,9,11,13,15,17,20" which are those selectedindex of the checkboxlist. I used a foreach looping to record those selectedindex and I split the string and put them to a string array. However, how can I assign those string array ...more >>


Where to store the DB password in a asp.net app?
Posted by Darren Clark at 5/3/2004 11:09:26 PM
Basically i am curious as to where everyone stores there database = details for ASP.NET apps? When developing controls i usually stored it in the web.config file. Then i move it to a internal private property that is only acessable = from my DB classes. What other methods do people use?=20 ...more >>

Need advice on web query report control or tool
Posted by Sean Pau at 5/3/2004 10:11:59 PM
I would like my user to retrieve SQL data through intranet website: 1. Go to intranet link and enter parameters for report (for example Order From and To date) 2. Click on "Run" button and the data come back in Excel screen. The data are retrieved using SQL Select statements. The return data...more >>

btnNext always gets focus
Posted by DalePres at 5/3/2004 9:08:06 PM
I suppose it might really be an IE problem but since I'm developing in C# and .Net, I'm asking here. I have an app with a couple pages that each have a button Web Server control named btnNext. To see the button, the user has to scroll down once from the top of the screen...or should have to. ...more >>

Is possible to use a method in a LinkButton declaration?
Posted by Carlos CR at 5/3/2004 9:00:32 PM
Hello, If I code this: [...] <script language="c#" runat="server"> void Page_Load() { Page.DataBind(); } string giveMeAValue() { string value = "here you have"; return value; } string giveMeAValue( aValue ) { // some logic to determine the value return va...more >>

COM object creation fails when impersonation is done [PSC]
Posted by Anthony Munter at 5/3/2004 8:41:05 PM
I have a web application with impersonate=”true” in Web.config and on my own logon page I allow the user to either - specify a userid/password for the app to impersonate when calling legacy COM objects - or, just use the interactive user If they choose to use the interactive option,...more >>

NuB datagrid question
Posted by Mike at 5/3/2004 7:59:01 PM
I'm new the asp.net world and datagird world. On my datagrid I want to highlight the row the user clicks on then allow them to move up and down in my grid via the arrows. how can i do that, can it be done, and is there any examples i can look at? thx ...more >>

NetBIOS Domain Name
Posted by Michael Tissington at 5/3/2004 7:48:17 PM
Is it possible to read the NetBIOS domain name and if so how ? -- Michael Tissington http://www.oaklodge.com http://www.tabtag.com ...more >>



Dataview newbie
Posted by Migs at 5/3/2004 7:12:44 PM
Hi, I have a dataview named dvContacts, a drop down list named ddlContacts and a data grid named dgContacts The drop down list is bound to a dataset with all contact names and when i click a name i want my grid to be populated with that specific contacts' details. I use the dataview to d...more >>

Hyperlink not a link!?
Posted by Simon Harris at 5/3/2004 6:47:23 PM
Hi, I have this code in an ASPX file: <table width="100%> <tr> <td><asp:hyperlink text="Home" cssclass=navLink tooltip="Home Page" navigateurl="/index.aspx" runat=Server/></td> <td><asp:hyperlink text="Browse Countries and Resorts" cssclass=navLink tooltip="Browse Countries and Resor...more >>

asp.net 1.1 and asp.net 2.0?
Posted by ildar at 5/3/2004 6:26:02 PM
Hi Can I keep asp.net 1.1 and asp.net 2.0 and easily switch between them I tried it but didn't find a way to make them coexisting Thanks Ildar...more >>

C# beginner
Posted by lovey dovey via .NET 247 at 5/3/2004 6:16:16 PM
(Type your message here) -------------------------------- From: lovey dovey Hi there, I am fairly new to C# programming and i am trying out some exercises.Can anyone help me with the code that takes an odd integer input and writes a diamond of that number on the screen with that many rows. F...more >>

Auto refresh datagrid
Posted by ali_dcsian NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/3/2004 6:04:54 PM
HI ... i am facing a problem while refreshing my datagrid ... i am developing a "Real time/Live data Stocks Trading Screen" ... what i want is to refresh my datagrid without refreshing the whole page ... there are couple of methods to do this which i know ... 1. Using Frames ... problem is gird ...more >>

System.Data.OleDb.OleDbException: Operation must use an updateable query.
Posted by Mark Sandfox at 5/3/2004 6:02:30 PM
Error = System.Data.OleDb.OleDbException: Operation must use an updateable query. Below is the code I am using. This database works fine through FP's database wizard, but will not work when I use the following code to update it. Thank you in advance for any help you throw my way. Mark ...more >>

Global Function and Variables
Posted by Simon Harris at 5/3/2004 5:55:33 PM
Hi All, I'm new to ASP.Net, so be gentle! (Plenty of 'classic' ASP experience), just one question... - Am I correct in thinking that global functions are stored in ASCX files? Thanks! Simon. -- - * Please reply to group for the benefit of all * Found the answer to your own questi...more >>

Download a file then the next error message appear The connection with the server was reset
Posted by Liensun at 5/3/2004 5:54:31 PM
The application is coded using ASP.net and C#. A part of the application allows the user to download files. The size of these field can be up to 80 MB. It works when the connection bandwidth is high. But in other cases, after a few minutes, the next messages is displayed: "The connection with...more >>

Can I set a dropDownList to the TEXT rather than index?
Posted by darrel at 5/3/2004 5:31:01 PM
I can set the selected item in a dropDownList to this: DropDownList1.SelectedIndex = int but is there a way to set it to the text value of the option instead? I've looked in the documentation, and it appears the only way to set the selected item is to use SelectedIndex. -Darrel ...more >>

how to access cookies created in asp page
Posted by kennethrayg at 5/3/2004 4:41:03 PM
Hi I need info on how to access cookies which I created in asp Like, If i have a cookie called "firstname" in asp page. then If redirect it to an asp.net page how do i access the cookie "firstname" in asp.net to show the value ...more >>

Adding an Array to viewstate
Posted by bob at 5/3/2004 3:57:04 PM
I am a newbie. How do I add an array to a viewstate, then retreive the individual elements? Right now, I made an array with random numbers and when I go to access an element from different buttons, if I access the same element, it looks like it is putting new random numbers in the array. I ju...more >>

referencing a TableCell in a bound datagrid
Posted by MattB at 5/3/2004 3:29:49 PM
Is there any way to reference a cell in a datagrid's ItemDataBound event by it's DataItem column name (e.item.DataItem("colname")). I need to set a cell's text to "" based on the contents of it's dataitem. I have this working now by just referencing the cell's index (e.Item.Cells.Item(4)) but I'...more >>

Error when connecting to Microsoft Access db
Posted by VB Programmer at 5/3/2004 3:19:41 PM
I get an error when I connect to my mdb. I know for sure that I dont have it open and that the path is correct. Here's the error: System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\MyTest\MyDatabase.mdb'. It is already opened exclus...more >>

Reload Page Command
Posted by Alan Z. Scharf at 5/3/2004 3:12:28 PM
1. I have a chain of six asynch callbacks initiated by a button, and want the page to refresh at the end of each callback to display A. Results of a SQLServer query showing cumulative running time, and B. A progress bar. 2. I have this working with a refresh timer: <META http...more >>

In the same dropdownlistbox, I need bold, italic and different colors in
Posted by Carlos Arra via .NET 247 at 5/3/2004 3:08:49 PM
In the same dropdownlistbox, I need bold, italic and different colors in if possible...any help is appreciated. -------------------------------- From: Carlos Arra ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>9ynAuW/QuU6Kjne2aOczyw==</Id>...more >>

check box in datalist
Posted by mahsa at 5/3/2004 2:56:03 PM
hi I want to use a check box in datalist when user checked the check box price will be shown in the textbox in the same row in datalist do you have any idea <input onclick="test()" style='border:0px;' type='checkbox' name='"add_" +<%# DataBinder.Eval(Container.DataItem, "PartNo") %>' id='<%# Dat...more >>

ASP to APS Net Article Peter Bromberg Netscape?
Posted by Davisro at 5/3/2004 2:50:27 PM
I am new at this and am ablet to get the sameples to work properly with Internet explorer, but cannot get it to work properly with Netscape or Opera. It sits at the screen with all the form items on it, but no submit is ever done to continue on to the next screen. (This does not happen in In...more >>

tabstrip webcontrol can not work in framework 1.1
Posted by Linda wu via .NET 247 at 5/3/2004 2:44:17 PM
(Type your message here) Hi all, I've encountered a problem when opening an aspx page with a tabstrip webcontrol on a windows 2003 server. (.net framework version 1.1). I created the tabstrip in windows 2000 and framework version was 1.0.3075. Right now it does not supported by the new version...more >>

C# & Calendars
Posted by Antoni Massó Mola at 5/3/2004 1:42:15 PM
Hi, I have included the calendar control to a web project. It all works fine, but I can't jump from one year to another (2004 to 1992). I need to click on the months at the left side until I reach 1992. Is there a way to jump to a given year? Thanks ...more >>

Understand why I am getting a "Specified cast is not valid" error
Posted by Charles at 5/3/2004 1:31:08 PM
I do not understand why I am getting a "Specified cast is not valid" error, since it has worked before. Something has changed and I am not really sure what it could be. I am looking for something along the lines of did you check this, have you did this, or this is the wrong way of doing this. I c...more >>

dropdownlist
Posted by William Gower at 5/3/2004 1:13:10 PM
I have a dropdownlist called "ddlCustomers", the DataValueField is "CustomerID, the DataTextField is "CustomerName". In my Page_Load I call DDLCustomers.DataSource = objDR DDLCustomers.DataBind() Now when I load in a User, I want to set the User's company to the proper one in his record...more >>

Update DataSet or DataTable
Posted by ruca at 5/3/2004 1:08:58 PM
Hi, Can I update a DataSet or a DataTable using something like object.Update() ??? I was looking for something and I find out this functions, but I don't know for real what they do. AcceptChanges() BeginEdit() EndEdit() I try to use them like this, to change the value of a field in fir...more >>

apply CSS on literal control?
Posted by Jk at 5/3/2004 12:37:39 PM
Hello I use Microsoft Office Webcomponents to create a pivottable and display the output as HTML on a literal control. I need to apply a CSS to this literal control, because the HTML data is already formatted by the OWC pivottable object... (simplified) code: MyLiteralcontrol.text = My...more >>

Creating browser sniffer with ASP.Net
Posted by David Baker at 5/3/2004 12:36:04 PM
Hi all I am very new to ASP.Net. I am trying to create a sniffer for our program. We want our users to click our sniffer and hopefully the sniffer will check their computer against our requirements. I would like to ask experts like you to see which items are actually doable with ASP.Net. Below I l...more >>

Range Validators
Posted by VB Programmer at 5/3/2004 11:24:50 AM
I want to use a validator that will make sure a textbox is between -99 and 99. It works for positive numbers, but this doesn't seem to work. Any ideas? Thanks! ...more >>

Losing InProc Session State: repost from two weeks ago
Posted by Keith-Earl at 5/3/2004 11:11:31 AM
This is an update of an unresolved issue. Windows 2000 Server IIS 5.0 ..NET Framework 1.1 Problem: Every time I press REFRESH in IE I get a new ASP Session ID. This problem only experienced on Produciton server. Simple ASP.NET web forms app runs fine on DEV and five other test platforms ...more >>

Updating Datagrid from outside datagrid
Posted by Patrick Delifer at 5/3/2004 11:01:51 AM
HI, I am trying to update a DataGrid where I want to rebind just the row that was updated. Here's the situation: 1) Updating is not a problem, it works fine. 2) I am not using ItemCommand (edit, delete, etc) 3) the button that issues the update/rebind is outside the datagrid, on the web form....more >>

Sub application and sharing
Posted by Bill at 5/3/2004 11:00:07 AM
I have 2 applications in my web site. The root application and a sub application. I want them to share certain items like my header and footer user controls. How do I do this? When ever I try and reference a file in the main appliaction I get the below error. Parser Error Message: The virt...more >>

Image Processing
Posted by Martin Schmid at 5/3/2004 10:36:00 AM
Hi... I have this simple Page_Load that works as expected, however, the output in the browser is such that when one tries to right-click to save the image, it is grabbing the aspx instead of an actual image... I.e., sending the URL http://localhost/spc/Result.aspx?file=/spc/images/03110002_tn....more >>

Loading controls dynamically + passing parameters
Posted by Jill Graham at 5/3/2004 10:34:07 AM
Hi, I can use following syntax to add user controls directly to my pages : <XYZ:myControl parameter1="value1" parameter2="value2" runat="server" /> The control "myControl" is executed using the supplied parameters parameter1 and parameter2 Now my question : I've found two ways to add con...more >>

Duplicate post as last - but with my subscription id's nospam to ensure an answer from MS
Posted by Rob Lynch at 5/3/2004 10:26:02 AM
Sorry for the duplicate, but I wanted to make sure this would be seen by MS, and that they would answer it.... I have noticed (by getting ignored) that they won't just answer any old email and I want to get my $$ worth : This one has me perplexed from vs.net web app add a new aspx pag add 3 ...more >>

Bizzare: Invalid path to Access mdb, path is good
Posted by Keith-Earl at 5/3/2004 10:03:50 AM
'I:\YYYY\YYYData.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. -------- I get this error when I try to place my Access mdb out on a file server share. The file system has "Everyone" "Modify" a...more >>

Sharing Session State
Posted by grooby at 5/3/2004 9:56:02 AM
I would like to develop an asp.net Web application using muliple web projects under one solution file and share the session information between web applications( or projects). Is this possible?...more >>

Adding controls through html doesn't add them in code behind
Posted by John Dalberg at 5/3/2004 9:52:31 AM
Using Visual Studio 2002. If I add controls in the html view manually, I notice that the controls are not automatically added in the code behind. Is this normal behaviour which means I have to add them manually? J....more >>

Stopping auto submit...
Posted by Rob Lynch at 5/3/2004 9:51:04 AM
This one has me perplexed from vs.net web app add a new aspx pag add 3 textbox's and a command butto in the command buttons click event add response.write "button1 click from any textbox press the enter ke the Button1 Click event fire add a new button, do nothing else except add respnse.w...more >>

Macintosh IE 5.1 and asp.net issue
Posted by Kevin Yu at 5/3/2004 9:16:18 AM
hi all I have an asp.net app that works fine on IE in windows. but when using Macintosh IE 5.1, some of the elements don't work properly. the common cause that I saw is from the javascript, a tag such as this <a href="javascript:{if (typeof(Page_ClientValidate) != 'function' || Page_ClientV...more >>

SetAuthCookie works, but our cookies aren't being written - HELP
Posted by Tyson Brown at 5/3/2004 9:06:02 AM
All We recently started writing a couple encrypted values to the user's cookie using FormsAuthentication.Encrypt. Such as: Dim tmpTicket1 As New FormsAuthenticationTicket(1, "TEST", Date.Now, Date.Now.AddMinutes(60), False, "Boom1") Dim tmpResults1 As String = FormsAuthentication.Encrypt(tmpTick...more >>

Moving ASP.Net Application To Server
Posted by Jim Heavey at 5/3/2004 8:56:11 AM
Hello, I am trying to figure out how to put my application onto the server. I am deploying to a Windows 2000 Server When I bring up Internet Services Manager and navigate to the Default Web site and I right click on the default web site folder, do I choose "New Site" or "New Vitural Directory" ...more >>

Page Load Time
Posted by brian at 5/3/2004 8:18:58 AM
I created a data input screen as an application to our Intranet site. On my local machine when testing and debugging the page loads are instant. When deployed the page loads take about 3 seconds. I am using the Not Page.Ispost back to only ensure what needs to be ran during page loa...more >>

ANN: 9Rays.Spices.Net [asm.browser, analyzer, obfuscator, decompiler, modeler]v3.4.2 released
Posted by Al Ponomarev at 5/3/2004 5:39:57 AM
New version of Spices.Net v3.4.2 has been released. A lot of improvements, corrections and bug fixes. 1.. Spices.Net Decompiler: Significantly improved speed of GUI output. 2.. Spices.Net Decompiler: Incorrect work with stack bug is fixed. 3.. Spices.Net Decompiler: new improvements,...more >>

Using Office XP Web Components in ASP.NET
Posted by mehul at 5/3/2004 5:37:29 AM
Hi, I am trying to use Microsoft Office Web components in my asp.net applicaion. Actually i want to use the chart and came accross some sample code in MSDN (Kb:Use a DataSet with the Office XP Chart Component and ASP.NET) [PSS ID Number: 303016]. I am using the 2nd example 'Use L...more >>

Using Active Reports v1.1 via the COM Interlop
Posted by mehul at 5/3/2004 5:07:16 AM
Hi, I am trying to use Active Reports v1.1 (Build 1.1.0.84) in a ASP.NET application. Is it possible to use it through the COM interlop as Crystal Reports for .NET which comes built in with VS.NET doesnt work properly. Rgs, Mehul *** Sent via Developersdex http://www.deve...more >>

Authentication Cookie subject to spoofing/sniffing attacks?
Posted by CW at 5/3/2004 4:51:36 AM
It's recommended that when signing on using FormsAuthentication, one should do so over a secure (SSL) channel. If I understand FormsAuthentication mechanism correctly, the Authentication ticket generated is then appended to every single page requests that need to be authorized. Thus, if I only...more >>

Re: Controls accessing other controls of same type?
Posted by Darren Clark at 5/3/2004 2:59:22 AM
SORRY.... i hit cntl enter... I need some starting advice on how to develop a server controls that shares information with other server controls of the same type? so on one page i might have 5 controls of type FOO so page.Foo1 page.Foo2 page.Foo3 page.Foo4 page.Foo5 page.Foo6 how ...more >>

How to upload file within user control in C#?
Posted by terrorix at 5/3/2004 2:36:58 AM
Hi, I want to upload file within user control. This user control will be dynamically loaded on to web form. How can i do this upload in C#? <terrorix>...more >>

Passing IIS Anonymous Account to SQL Server
Posted by Matt F at 5/3/2004 1:37:13 AM
Hi all I was hoping some one could clear up an ASP.Net security question I have. I am writing an ASP.NET application that connects to SQL Server. The security setup (connection string and IIS) will vary depending on the client who installs it. Some clients will undoubtedly wish to have II...more >>

Need to be able for buttons to keep track of each other
Posted by bob at 5/3/2004 1:32:12 AM
I am just getting into web programming. I am using VB ASP.NET. I have multiple buttons on my form. When a person clicks on one of imgagebuttons, I want a accumulated counter for each time a button is clicked, and when 2 different imagebuttons are clicked, I want them compared to see if the imag...more >>


DevelopmentNow Blog