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 > july 2004 > threads for friday july 23

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

deleting duplicate rows in a dataset
Posted by Asha at 7/23/2004 10:48:02 PM
greetings, does anyone have any idea how to delete duplicate rows in a dataset gracefully (the fast and easy way)...more >>


DataGrid Footer
Posted by Shiju Poyilil at 7/23/2004 10:21:03 PM
How to find a control in the datagrid footer ? In my code below, I am trying to hide a label named lbl1 on the basis of a selected vlaue(value="test") of the dropdownlist ,both the dropdownlist and the label are in the footer of the datagrid. An advice on where I am going wrong,would be highl...more >>

page_load executes twice ?
Posted by erdem at 7/23/2004 9:54:15 PM
hi, i have a problem with asp.net when i was debugging i put breakpoint to pageload event and then i discovered that page is loaded once (explorer shows full page correctly but continues loading) but then somehow page load executes again and then page is displayed... but there is different ...more >>

How to use dataset
Posted by Robin at 7/23/2004 9:20:34 PM
In VB.Net I have returned a dataset. How do I loop through a named table for all fields for each row returned? ...more >>

Server Push Technology
Posted by Ben Kim at 7/23/2004 8:14:07 PM
Hello all, We are interested in having a server push data down to the client on a periodic basis (IE data change). This data would need to be pushed into a grid control. We do not want to "update" the page or refresh every n seconds. After reviewing 'Server Push Techology' it appears Micro...more >>

current record number
Posted by ven at 7/23/2004 6:45:25 PM
hello i want to get current record in MS SQL table with identity column, let say i put somethin using INSERT INTO and then i want to know current number in identity column how can i put this number into variable in vbscript ? Ven ...more >>

VS 2005 and VS 2003 side-by-side
Posted by wl at 7/23/2004 5:47:27 PM
Hi, I'm currently useing VS.NET 2003 (and thus framework 1.1) but I now have the VS 2005 beta. Has anyone installed both side by side without problems ? I would hate to have problems with my running VS.NET 2003 (and ASP.NET pages) because I want to play around with a beta. Any comment/expe...more >>

Get Request.RawURL from Parent Page
Posted by Brent at 7/23/2004 5:32:44 PM
I've a menu created by a user control. The control is dropped onto every page. In the user control, I'm trying to get the current page the user is viewing -- that is, the name of the user control's PARENT page. I've tried the following syntax: Request.RawURL -- returns 0 Page.Request....more >>



Session timeout & method="post"
Posted by Billy Boone at 7/23/2004 5:26:03 PM
I have a current web application that utilizes a login to authenticate users into the application. Once I authenticate them, I store away the user's name in a Session variable. I then utilize this check to confirm the session has not timed out (isLogon.asp - which I include on every page). i...more >>

Configuration error. Access is denied
Posted by Sean at 7/23/2004 5:22:01 PM
Open a new blank VB ASP.NET Project. Build Start with Debugging. Result: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appro...more >>

New browser window
Posted by tma at 7/23/2004 5:14:15 PM
First, I'm following instructions without truly understanding them, so go easy on me... :) I am exporting a report to .PDF. Below is a code snippet. What I would like is for a new IE instance to be launched with the .pdf instead of the current IE window/aspx page. (My real problem is the wind...more >>

Need Help - Spam Prevention Server - Virtual MX Records/SMTP/POP3
Posted by Mike Curry at 7/23/2004 5:05:32 PM
I am creating a spam prevention server for a mail hosting company using Windows 2000 SMTP Sinks. Basically the end users (www.theenduser.com) changes their MX servers to point to our server so the mail comes to us. When we receive mail we keep the mail in a pending/non-verified folder. At this...more >>

impersonation and accessing remote folder
Posted by Jon L. Lovesky at 7/23/2004 4:47:19 PM
Hello all, I am attempting to access a remote folder from an asp.net application (all within the same domain). The application is configured for windows authentication in IIS and the asp.net worker process runs as the local ASP.NET account. When the application is about to access the remote fo...more >>

problem with odbc
Posted by TomislaW at 7/23/2004 4:12:41 PM
This is the code: OdbcConnection conn = new OdbcConnection(m_ConnectionString); OdbcDataAdapter adapter = new OdbcDataAdapter(); adapter.SelectCommand = new OdbcCommand("spUser", conn); OdbcParameter par = new OdbcParameter("@User",OdbcType.VarChar,20); par.Value=user; adapter.Sel...more >>

WebControls.DataGrid
Posted by Martin Dew at 7/23/2004 4:10:21 PM
I have a HyperLinkColumn inside my Databound grid on a page, I have been using the URL Field property set to a field name in my bound data, and then using the URL Format String as dbClientconn.aspx?searchID={0} and all works perfectly, however I need to set this to have to fields values in the s...more >>

need to collect event information at end of application
Posted by Paul at 7/23/2004 4:04:02 PM
I have setup event collections throughout a web application that uses the session state to save ex.message information into an array of strings. I want to copy the session state information into an array and then write it to a file when the application ends. I inserted a breakpoint in the global....more >>

ASP.NET and Office
Posted by KA Kueh at 7/23/2004 4:03:42 PM
Dear all, Does anyone know if it is possible to activiate the printing function of MS Office XP via Automation in ASP.NET? FYI, there is MS Office XP install and printer is attached to the Web server. I am look at print at the server side only. Thanks. Regards, Kueh. ...more >>

OnSelectedIndexChanged - New Browser Window
Posted by George Durzi at 7/23/2004 3:53:41 PM
I have a DataGrid which contains 1 visible column which is a LinkButton: <Columns> <asp:BoundColumn DataField="ProductId" Visible="False"></asp:BoundColumn> <asp:BoundColumn DataField="DownloadURL" Visible="False"></asp:BoundColumn> <asp:TemplateColumn> <ItemTemplat...more >>

uploading FOLDERS of images via .net
Posted by darrel at 7/23/2004 3:41:13 PM
I've built a file upload tool that allows a person to upload an image file and then have it be resized and then saved on the server. I'd like to allow a person to also upload an entire folder of images as well. Is that doable? This is for an intranet, so if the upload part isn't doable, I coul...more >>

Shared libraries on dotnet
Posted by tascienu NO[at]SPAM ecoaches.com at 7/23/2004 3:12:37 PM
Question: I have a shared .dll in e:\my projects\shared.dll I build and publish the site without any problem on my computer... but when i am editing the site remotely using Front Page Extensions, i get, Library Not found error because the computer does not have that dll. so, should i cop...more >>

How to Create a new DateTimePicker Control
Posted by RSB at 7/23/2004 3:05:08 PM
Hi Everyone, How to add a DateTimePicker Control in a page.. I am trying to use using System.Windows.Forms.DateTimePicker But that is giving me an error.. Please help. Thanks ...more >>

FileUpload limit problem
Posted by Edijer Sarmiento at 7/23/2004 2:58:47 PM
Hi, How can I handle uploading files with sizes larger than what i have set in the maxRequestLength in my Web.Config file? Can I implement a custom handler. I've read that I can do work around usung custom HttpHandlers but I can't get it to work Thanks! Edijer ...more >>

Dynamic datagrid
Posted by bshannon NO[at]SPAM lbrspec.com at 7/23/2004 2:50:06 PM
Can someone point me in a direction or show me an example of creating a dynamic datagrid. Based on a users input I would like to have the datagrid created progromatically if possible. There are 4 possible scenerios of which different data needs to be displayed from different tables. I...more >>

PreCompile Confusion
Posted by geoffbishop NO[at]SPAM gmail.com at 7/23/2004 2:42:47 PM
Hi. I'm very confused about what gets compiled to what, and what gets cached where, and what gets persisted, and what is shared between users. Could someone possibly check my understanding of the process and tell me where I'm going wrong, and answer the following questions? I think some clear ...more >>

Dropdownlist and selected value
Posted by Big E at 7/23/2004 2:24:30 PM
I'm using ASP.Net and SQL Server 2000. I have a dropdownlist that is populated from a table. I also have the dropdownlist looking up another table to see if the user had previously selected anything. My issue is that when I try and set the selected value of the dropdown list to the contents of ...more >>

Set Up Own News Group or Discussion Board
Posted by Smithers at 7/23/2004 2:23:43 PM
Our tech support group is looking to implement better online assistance - and we like the idea of having a news group similar to this one (microsoft.public.dotnet.framework.aspnet) but without requiring users to use a news reader. We've seen other sites that offer similar features, but accessibl...more >>

C# to VB conversion help please
Posted by Nathon Dalton at 7/23/2004 2:21:33 PM
I have the following code Namespace BlahBlah.Blah { Public Interface ICustomInt { string Prop1 { set; } string Prop2; { get; } } } What would be the VB equivelant of this? How do I get the Get an...more >>

Access to path... error
Posted by Kurt at 7/23/2004 1:48:39 PM
I wrote a very simple aspx (C#) just to make sure I could get things running before I continue. It works fine on my local IIS. After copying it to a real server (Win2K) and trying to access it via IE I get the following error: Access to path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp...more >>

Language translation
Posted by tma at 7/23/2004 1:43:25 PM
Does anyone have any suggestions on how I can go about translating my ASP.NET to another language (Spanish)? ...more >>

Web services and asp.net
Posted by William Gower at 7/23/2004 1:22:47 PM
Is it possible to have a web service that automatically every night at midnight synches up a database on a client/server with a database on the web server? The web server is hosted by another company. So I would need to hook up to a database on the client machine from the web server. ...more >>

Initiate PostBack From Client-side Script
Posted by Jordan at 7/23/2004 12:59:26 PM
I'm trying to initiate Postback from client-side script, and here's what I have that doesn't work: I have an <asp:Button> on the same page named btnSave that the user can click (its functionality works fine). I want to call the button's server-side functionality from the client-side script (in r...more >>

SqlCommand is not defined.
Posted by JIM.H. at 7/23/2004 12:59:01 PM
Hello, I could not call this sub routine because it says SqlConnection and SqlCommand is not defined. Public Sub CreateMySqlCommand(ByVal myExecuteQuery As String, ByVal myConnection As SqlConnection) Dim myCommand As New SqlCommand(myExecuteQuery, myConnection) myCommand.Con...more >>

run sql string
Posted by JIM.H. at 7/23/2004 12:31:03 PM
Hello, I have this sqlStr=”Select * from myTable where userid=’myUserId’” how can I run it in my visual basic program and check it if it returns anything? Thanks, Jim. ...more >>

username
Posted by JIM.H. at 7/23/2004 12:13:01 PM
Hello, currentUserName = User.Identity.Name returns null in my environment,, how can I get user name? Thanks, Jim. ...more >>

Problem with webmatrix and framework 2.0
Posted by Alexander Beketov at 7/23/2004 11:59:16 AM
Hello All! Today i download and install Visual Studio Wev Dev Express w Framework v. 2.0 This is geet songs! But now have some problem with Webmartix. For example, can't configure datasource in the datagrid component. Think, that matrix now use framework 2. Can anyone help me how to configure...more >>

Data Controls
Posted by A. Elamiri at 7/23/2004 11:52:42 AM
Hello, I have web controls which pull information off a database. These controls pull things like Events, and so on. Each one of these controls use different business objects which create the connection and do all the information quering, however they each create their own connection. If I ...more >>

page_load fires two times
Posted by Arjen Hoekstra at 7/23/2004 11:52:26 AM
Hello, I've an ASP.NET-page in which there are some fields with data from a database and an OK-button. When the page loads (so this code is in the Page_Load-part) some data is send to the database (with MySql 'INSERT'-statement). But when I click the OK-button I see the same data is being res...more >>

NEWBIE: RecordCount of SqlDataSource
Posted by Daan at 7/23/2004 11:18:35 AM
Hi! I have this SqlSataSource (aspx 2.0): <asp:SqlDataSource ID="ArtiestenSource" Runat="server" SelectCommand="SELECT lower(artiest) AS artiest, COUNT(DISTINCT album) AS albums, COUNT(artiest) AS tracks, SUM(seconden) AS seconden, CONVERT(varchar, DATEADD(second, SUM(seconden), ''), 108) A...more >>

Switching items between listboxes, and letting .net realize it.
Posted by Ryan Ternier at 7/23/2004 11:17:59 AM
I have two listboxes, and allow users to move items between them via the following function: function SwitchList(fbox, tbox){ var arrFbox = new Array(); var arrTbox = new Array(); var arrLookup = new Array(); var i; for (i = 0; i < tbox.options.length; i++) { ...more >>

How can I convert Tiff image into multipage jpeg or pdf file.
Posted by Ather Ali Shaikh at 7/23/2004 11:15:16 AM
I have a toolkit which is doing the same. but I want to write my own code. That will receive a tiff image and convert it into multipage jpeg file. Regards Ather Ali Shaikh ...more >>

Access DNS from an ASP.Net Site
Posted by Roger Bavaud at 7/23/2004 11:14:56 AM
Hello Does anybody know, how I can create new Recorts in a DNS Server from an ASP.Net Application? I will build this on a Web managemant site. Thanks & Best Regards Roger ...more >>

Modules?
Posted by Big E at 7/23/2004 11:11:27 AM
I'm using ASP.Net and SQL Server 2000. I have a dropdown list that is used across many of my ASP.Net pages. On those pages I have a dropdown list that has the same name as all the others. Instead of make a connection, a dataset etc.. on every page I would like to have that piece of code that can ...more >>

Protecting an assembly from being used elsewhere?
Posted by John Dalberg at 7/23/2004 10:56:42 AM
I am developing an app for a web hosting hosting company and placed in sites folders. The app will be used by the sites and accessible to webmasters using ftp. What options do I have to protect the app from being copied and used elsewhere? J. Dalberg...more >>

HDR in Jet conn string
Posted by Solel Software at 7/23/2004 10:03:02 AM
Hello, I building an automatic parser in .NET that opens an XLS using OLEDB's Jet driver. In the connection string it allows you to add "HDR=Yes" as an extended property if the first line has the column titles instead of the data (so the OLEDB will skip the first line). This is a great option, ...more >>

Loop through all items in an aspx page.
Posted by Ryan Ternier at 7/23/2004 9:54:34 AM
Thanks for the previous help guys! I got my list box issue working, but now i'm trying to loop through all the items in my page. I want to find each listbox, once I do i strip the ID down to find what I need so I can populate a DB. lstTest is dim'd as a ListBox, and I thought I could just...more >>

refresh page
Posted by IGotYourDotNet at 7/23/2004 9:51:01 AM
Let me just start by saying taken over someones else code that they wrote just for them to understand(no comments, documentation NOTHING) is a task on in itself. anyway, i have a page that needs to be refreshed every 10 seconds but not looses the item selected in the drop down, how and can it be d...more >>

Server Control problem
Posted by Shailesh at 7/23/2004 9:36:03 AM
Hello everybody! I am facing one strange problem with my asp.net application. I have created an asp.net web application, in which I added only one web form. In this web form I have placed some server controls like text box, validation control, dropdown box. Every thing works fine in design time, ...more >>

The existance of session variables
Posted by Timothy V at 7/23/2004 9:27:38 AM
Hi, I was wondering how long the created session variables last for? To be more clear, when are they destroyed? Do I have to set the variables to null in Session_End()? Is the Session_End() method invoked when the browser is closed? I'm just not sure how it works. Thanks in advance, ...more >>

webservice http get with asp.net 2.0 beta1
Posted by aktweb NO[at]SPAM msn.com at 7/23/2004 9:22:49 AM
Anyone know how to use an HTTP get with webservices ? In 1.x, you could add the following to your web.config file... <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> </webServices> -- Thanks, Andrew...more >>

Logon failed. Crystal Reports .NET
Posted by gfro27 NO[at]SPAM yahoo.com at 7/23/2004 9:08:32 AM
I am getting the following error since we upgraded from .NET Framework 1.0 to 1.1. The reports all ran fine yesterday. I get this error in all apps with reports. The apps run fine but the reports give me the login error. Any ideas? Description: An unhandled exception occurred during...more >>

Trouble understanding StateServer!!
Posted by Ric Pullen at 7/23/2004 8:54:29 AM
I've got a project that is heirarcical in nature. A security front end, then seperate projects. IE one solution, with mulitple individual projects underneath. I get the Unable to make the session state request to the session state server Error message I have set the StateServer setting in...more >>

setup rights on the database from client side
Posted by Grant at 7/23/2004 8:36:57 AM
I have a form that allows me to create a new database on the server from client side. I get everything to work except for adding users and assigning rights to the tables. How do I do that? Thanks ...more >>

XML Tree Walker Problem
Posted by Wayne Wengert at 7/23/2004 8:35:39 AM
I am trying to run the web page example given in the VSNET 2003 Help for "Introduction to the DOM". I saved the example as an aspx page but when I run it I get the following error which I don't understand. Any pointers will be appreciated. Wayne =========== Error ===================== C...more >>

newbie question - files
Posted by Andy at 7/23/2004 8:30:25 AM
Hi, I've created a little asp.net application that works fine on my local machine. I now wish to upload it to my webserver. Trouble is when I look in the folder VS created there is what I consider to be allot of files for such a small and simple app. My question is therefore is it nec...more >>

looking for a Date Time Control..
Posted by RSB at 7/23/2004 8:15:16 AM
Hi Every one , IS there any Date Time Control with .Net. All i want to read is the Date and Time in a Single Field like 12/31/2004 09:23:23AM. if there is any then any examples for it. and if not then how to Validate the Text field for above. thanks RSB ...more >>

VS2003 removing "Runat" attribute from <title>
Posted by Brad at 7/23/2004 8:07:31 AM
I'm placing a runat=server attribute on the <title> tag in my pages, so I can read/set the title text in code. The problem is that when I subsequently change the page in design view VS is removing the runat=server from the <title> tag. Unfortunately it does not do it all the time...maybe 50...more >>

Problems running asp.net on IIS
Posted by louise raisbeck at 7/23/2004 7:24:02 AM
Hi I know I may be repeating some past questions but i wasnt sure if i added on to these if they would appear in the 'new list'! I have IIS 5 installed, IE 6 and visual studio .net 2003. When i create an aspx page under iis, when i try to run it via localhost i get the 'Open/Save' screen, i.e. it is...more >>

Authentication by URL parameter?
Posted by mike NO[at]SPAM mjt.org.uk at 7/23/2004 7:08:38 AM
My ASP.NET application is a league-management system (for soccer etc.). The league which is being viewed is determined in a URL parameter, eg.: http://www.mydomain.com/default.aspx?leagueid=3 (although I'm using URL rewriting to make this nicer, eg http://www.mydomain.com/myleague/default.a...more >>

can someone look at this?
Posted by IGotYourDotNet at 7/23/2004 7:07:02 AM
How can i get this work going against an Oracle Table? I have it working with SQL, but when I change my db to Oracle I get an error. The where clause is based on what is selected in the drop down box. objConn = New OracleConnection(dbConn) objConn.Open() strSQL = ...more >>

Implementation question
Posted by Strange Cat at 7/23/2004 6:54:14 AM
Hi everyone! I'm about to start a new project and I'd like to hear from someone more experienced than me. What I'm requested to do is: Display an autorefreshing page that gets data from a SQL Server DB on web clients: kinda know how to do this, autorefreshing page with HTTP Tag META... a...more >>

Control names within a repeater
Posted by Ryan Ternier at 7/23/2004 6:44:37 AM
Hello, I have a repeater control that does the following on the ItemDataBound event. It works perfectly, except that when it prints out, the names of the controls aren't what I'd expect. lstYes.ID = "lstY" & drvTemp("UserID") 'Assuming ID is the part we want form the DB I use that to s...more >>

countries and related cities database...?
Posted by Onur Bozkurt at 7/23/2004 4:22:33 AM
Hi. I need countries and related cities database (for free). Does anyone know where can I find one? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

ico editor in VS.NET
Posted by Jordan at 7/23/2004 3:20:06 AM
I was just screwing around and double clicked on an ico file and it opened in Visual Studio and can be edited. I can't believe I haven't heard about this feature of VS.NET before. Has this ico editor always been included in VS.NET? Any recommendations for or against using it? Thanks. ...more >>

can not retrieve context items
Posted by Rea Peleg at 7/23/2004 2:25:47 AM
Hi eb I am adding in webForm1.aspx some item to the context items collection in order to extract it in the next aspx page: In webForm1.aspx - c# code behind - i do: --------------------------------------------------------------- Context.Item.add("variableName",variableVaue); //test that add ...more >>

whats wrong?
Posted by mahsa at 7/23/2004 12:26:05 AM
Hi do you know whats wrong with this code? <asp:HyperLink id="HLink_Help" runat="server" NavigateUrl='<%# "javascript:window.open('comments.aspx?id=1,width=500,height=600, scrollBars=yes');" %>'>Need Help?</asp:HyperLink> -- mahsa...more >>


DevelopmentNow Blog