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 > october 2003 > threads for friday october 24

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

How to create Voice Mail...?
Posted by Jigar Patel at 10/24/2003 11:27:19 PM
Hello, How to create voice mail and also record voice in ASP.NET... ? please help me. Jigar Patel...more >>


getting last record in access db
Posted by Mark at 10/24/2003 11:21:01 PM
I'm using ASP.Net to accress a database, what I need to do is get the fields out of the very last record in the db. How do I do this? Actually I'm after the primary key, titled 'AdID' it'll tell me what number this last record is. so I can tell what number the next record inserted will be. H...more >>

Regex search for VALUE OF variable - dynamic parse - NEWBIE
Posted by jason NO[at]SPAM cyberpine.com at 10/24/2003 9:08:54 PM
I looked this up in several manuals and could not find anything online. I know how to do it javascipt and ux shell scripting but just can't find it in asp.net I need my asp.net (VB) code to search for the value inside variable linex.. I tried !linex , &linex, +linex+.... no luck. Of course...more >>

No records retrived..?
Posted by Kent Johnson at 10/24/2003 9:07:15 PM
Hi all, I have the following: ================== SQLSelect = "SELECT * from MyTable where Field1='" & strVar & "'" Dim mySqlDA As New System.Data.SqlClient.SqlDataAdapter(SQLSelect, strConn) Dim myDS As New System.Data.DataSet() mySqlDA.Fill(myDS) =================== ...how can I handl...more >>

Manual Compile
Posted by Jim Heavey at 10/24/2003 8:11:42 PM
I am attempting to understand how to compile programs outside of the IDE. I attemtped to compile my program as follows: vbc /target:library DatabaseAccess.vb /library:system.data /library:system.data.sqlclient I also tried the following: vbc /target:library DatabaseAccess.vb /library:syst...more >>

Button Click Event
Posted by Yama at 10/24/2003 6:24:23 PM
Hi, I have a button which is a server-side control. If a client-side error on a form is produced and a javascript (client-side) is fired how do I avoid the server-side button_client event to occur? (that is because the page gets refreshed for no reason even if I say do nothing) Thank you, ...more >>

Cannot Create Temporary Files
Posted by Kiko + at 10/24/2003 6:21:29 PM
Hi, I've been getting this error: Server Error in '/applicationname' Application. ---------------------------------------------------------------------------- ---- Failed to create temporary files directory 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\applicatio...more >>

How do I delete and Item from and array
Posted by Marc Bishop at 10/24/2003 6:01:26 PM
Hi can anyone help? I'm making a shopping cart and am stuck on removing an item from my array? The array is made : cArray(ITEM_NAME,cItem) = ProductName cArray(ITEM_PRODUCTID,cItem) = ProductID cArray(ITEM_SIZE,cItem) = Size cArray(ITEM_PRICE,cItem) = ProductPrice cArray(ITE...more >>



Manual Compiling
Posted by Jim Heavey at 10/24/2003 5:23:41 PM
I am trying to learn how to compile my asp.Net application manually without VS.Net. I have attempted to compile one module with the following command vbc /target:library DatabaseAccess.vb /imports:system.data /imports:system.data.sqlclient but I get a load of errors and they usually highligh...more >>

Access or another Alternative
Posted by Mark Watkins at 10/24/2003 4:58:39 PM
I currently own WinXP Pro, Office XP Pro, & Visual Studio.NET. I've created an ASP page that pulls info from and updates the access database. However, it seems that the database acts kinda sketchy, meaning that sometimes I'll get errors returned and no page loads. I know it has something to do...more >>

gracefully handling stored procedure errors
Posted by William F. Robertson, Jr. at 10/24/2003 4:44:49 PM
One of my developers came to me with this question and I don't have an answer for them. The only suggestion I had for them was to change the return to a output parameter and put a try catch around it and look for the output parameter to have a value. I would have thought this should have been...more >>

HOW TO print a aspx page
Posted by Vanessa Berni at 10/24/2003 4:17:41 PM
Hi all, I've to print a web page without all the "informations" about url, date, etc... It is possible to do it via code? (With Javascripts it's not possible....) Thanks a lot Vanessa ...more >>

webdataadmin installation
Posted by Quincy at 10/24/2003 4:10:52 PM
I am getting an error installing webdataadmin on W2K Pro. I am logged in as administrator but when I try to install it I get an error that the program does not have permissions to install it. The installer has insufficient privileges to access this directory C:\inetpub\wwwroot\SqlWebAdmin The...more >>

XPathDocument
Posted by srikar at 10/24/2003 4:10:05 PM
Hi, I have a XmlDocument object out of which I have to create the XPathDocument. How can I go about accomplishing this task? Any pointers are highly appreciated. Thanks, Srikar...more >>

paging
Posted by chris at 10/24/2003 3:43:23 PM
hi i have used the datagrid control, and bound it to my table. and i would like to display only 50 records at a time. how do i do that? thanx ...more >>

Validation Expression
Posted by momo at 10/24/2003 3:38:21 PM
I need to know how to enter the ValidationExpression for 6 or more characters I know ValidationExpression=\w{6} only allow 6 characters but I want it to be at least 6 or more and I only want numbers and letters no special character. Can you help me Thanks. momo. ...more >>

Attaching to event in container object
Posted by Cowboy (Gregory A. Beamer) at 10/24/2003 3:22:06 PM
I have a user control that has a group of links. It is included on every page of a web application. Some of the pages are forms, and the requirements state "if any of the data has changed, you must ask the user if they want to save the changes." I can solve this by dynamically setting a group of ...more >>

Default Parameters in c#
Posted by Sunil at 10/24/2003 3:12:29 PM
I have a com object i imported using tblimp. Iam creating an object using server.createobject. everything works fine in VB#. when using c# i discovered that there are default parameters which were not passed in vb function. These are of type object when i looked using ildasm. when i convert...more >>

Need help with hyperlink mouseover
Posted by wazoo at 10/24/2003 3:10:02 PM
I'm hoping someone here might help me with this. I'm putting the finishing touches on my intranet web app, and I'm adding some simple JavaScript to my VB.Net Webforms. This works: Button1.Attributes.Add("onmouseover", "this.style.backgroundColor=""Blue""") Button1.Attributes.Add("onmouseout...more >>

server-side timer vs. meta refresh
Posted by Jim Hammond at 10/24/2003 2:57:22 PM
After much effort, it doesn't seem possible to redirect the user to a new page after 10 seconds by using a server-side timer. I am now using the following meta statement to accomplish the same thing: <META HTTP-EQUIV="refresh" content="10;URL=Form_Welcome.aspx"> This seems to work fine, but ...more >>

IIS Web site information
Posted by L. L. at 10/24/2003 2:27:03 PM
Hi All, Is it possible to retrieve the web site information running on the local box? For example, I want to know the names of all web sites, the virtual directory information and physical path that the web sites are located. I have the local admin permission and would like to retrieve these i...more >>

Web Custom Control Part 2
Posted by Steve R at 10/24/2003 2:17:03 PM
How come my drop down won't bind? ** ddlbTest.cs using System; using System.Data; using System.Data.SqlClient; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; namespace smc.Vehicles { /// <summary> /// Summary description for ddlbTest. /// </summ...more >>

RequiredFieldValidator question
Posted by Vic at 10/24/2003 2:14:32 PM
Hi all. Is is possible to somehow connect a RequiredFieldValidator to an image, so instead of the RequiredFieldValidator's text, an image would appear? Thanks in advance. ...more >>

Time consuming requests in .NET
Posted by Adrian Dragomirescu at 10/24/2003 2:06:09 PM
Hello, I have the following problem: In my ASPX page is a button called "Import". The action of this button is to import a set of data in my database. I have to import big datasets and this opperation is time consuming (aproximativelly 3-4 hours). After an hour my page display the error: ...more >>

Dynamic controls & events
Posted by hybrid at 10/24/2003 1:58:22 PM
I have problems in understanding the behavior of the events triggered by dynamically created controls over a webform. Could you help me? In a webform, I have a static PlaceHolder PH containing a table of controls, dynamically generated. Among these, a linkbutton (LinkBtn) to which have attac...more >>

DataSet
Posted by hello at 10/24/2003 1:42:47 PM
Hello All, How can one convert an XmlDocument object into a DataSet? Thanks...more >>

Override Link Style for Hyperlinkcolumn class
Posted by SStory at 10/24/2003 1:38:22 PM
I have a style sheet for my site. It has various classes in it. It has <A: styles defined for all anchor tags. I have a datagrid in ASP.NET with a stylesheet linked to the page. It defines links a yellow which is what I normally won't but in this case I want to override the link color and...more >>

asp.net C#
Posted by khawar at 10/24/2003 1:06:44 PM
If i want to get the name of the page like in "welcom.aspx" how would i get it. in my script file (C#) i want to use the name of the aspx page and save it in database, so i want to know the name of the aspx page not the title of the page. for eg. there are 3 aspx pages that have the same cs...more >>

Read items into a DataList
Posted by Alberto at 10/24/2003 12:52:18 PM
I have a DataList with data retrieved from a data base and, when the user select an item with a clic, I need read the value of a Label who is in the Datalist. Actually I'm trying this: ((System.Web.UI.WebControls.Label)e.Item.FindControl("lblID")).Text but (I don't know why) I only ca...more >>

Culture and validators
Posted by Bogdan POPESCU at 10/24/2003 12:51:43 PM
Hi, folks! I am currently working on a multilanguage application in ASP.NET and I have the following problem: we need to use the French date format (dd/mm/yyyy), but the point (.) as a decimal separator, instead of the comma (,) which is the default decimal separator for the French culture. I...more >>

Disable an ASP.NET form on the client before PostBack
Posted by Christopher D. Wiederspan at 10/24/2003 12:25:19 PM
I'm wondering if there's a way to use javascript to disable a ASP.NET web page before it starts to postback. Specifically, here's what I'm running into. I've got a webform that has an autopostback dropdown box, and a couple of textboxes just below it. When the user selects an option from the dro...more >>

Web Custom Control
Posted by Steve R at 10/24/2003 12:18:39 PM
I am building a web custom control that encapsulates a series of dropdowns, buttons, etc. It is derived from a WebControl. I have the control built so that it renders properly. Now I am defining the public Bind() method so that I can connect to various datasources via a connection prope...more >>

Unable to find script library.......
Posted by Russell at 10/24/2003 12:11:01 PM
I have a web page (built with ASP.NET & VB.NET) that has two textboxes. When a button is pushed the values are compared using CompareValidator control. At this point an error box is displayed with the following message: "Unable to find script library '/aspnet_client/system_web/version no/webui...more >>

Add Existing Item...
Posted by Will T at 10/24/2003 12:07:48 PM
When I right-click on my project and choose "Add Existing Item..." I can find and add files from elsewhere on my system. But this fails to fully work. I "added" an xsd file from another location. It kept the attached .xsx, but did not include the .vb. It did not add it to my project clas...more >>

Crystal Reports .NET and VS.NET
Posted by cgian31 NO[at]SPAM katamail.com at 10/24/2003 11:51:06 AM
I see that VS.NET comes with Crystal Reports .NET, officially "The" reporting tool for .NET . But, when trying to use it, it works only in the local machine, not with a remote webserver. Wherever I look for documentation (Crystal Decisions, newsgroups, ...) I always get the same message: you ne...more >>

OpenFileDialog?
Posted by Jan at 10/24/2003 11:45:39 AM
Hi, I am looking for a control that is similar to OpenFileDialog in Windows forms for an ASP.NET web form. So when I click on a browser button, this control can pop up for the user to open a file. Please give directions. Thanks. Jan ...more >>

problem using impersonation
Posted by Thomas at 10/24/2003 11:43:35 AM
Hi all! I have an asp.net web application that is configured for dynamic impersonation via web.config (identity impersonate=true). The corresponding virtual directory is protected by integrated windows authentication via IIS. Some pages within my web application access a MS SQL Server databa...more >>

timezone / culture weirdness
Posted by Chris Porter at 10/24/2003 11:32:20 AM
Just as I thought I was understanding doing timezone offsets I ran the following code : CultureInfo en = new CultureInfo("en-GB"); Thread.CurrentThread.CurrentCulture = en; Response.Write(String.Format("culture {0}<br />", Thread.CurrentThread.CurrentCulture.ToString())); DateTime dt = ne...more >>

Asp.net not happy about multiple files with the same name?
Posted by SamIAm at 10/24/2003 11:26:12 AM
Hi There I am a directory structure similar to the following: /images/ /Area1/Default.aspx /Area2/Default.aspx /Area3/Default.aspx /Default.aspx All the classes in the code behind files are named correctly i.e. The class name in code behind for /Area1/Default.aspx is names Area1Defau...more >>

IE browser problem -- has anyone seen this when running .net?
Posted by KatB at 10/24/2003 11:22:42 AM
Hi, probably not an asp.net problem, but just wanted to rule that out. I have a page with a button where I do a standard add onclick code, etc. This works fine on one system, but no longer works on my development system. The only difference is (I think) that I've applied microsoft updates (rea...more >>

HTTP Modules & Handlers or ISAPI?
Posted by PCC at 10/24/2003 11:13:54 AM
I need to be able to redirect web requests from certain parties to specific content. In the old days I would have used ISAPI to do this. Now days I am wondering if I should be doing this using HTTP Modules & Handlers or ISAPI. All the machines are running IIS6 and have the .NET framework instal...more >>

integrated security=true
Posted by chris at 10/24/2003 11:04:24 AM
hi i want to give integrated security = true so i dont have to type my username or passowrd in the connection string but it doesnt work ConnStr = "data source=(local)" + "database=pubs;integrated security=true"; this is the error it gives me SQL Server does not exist or access denied. t...more >>

audit software
Posted by ritesh malhotra at 10/24/2003 10:44:46 AM
hi there guys i was working on a software auding programming. i was woundering if there was any .net framework class that allows you to detect all the software istalled on a perticual machine. if any body has tried it out or have experinence in such tuff plz let me know.. thanks in advance...more >>

Have not all the pages protected by the login page
Posted by Philippe Meunier at 10/24/2003 10:41:24 AM
My web.config looks like this concerning login : <authentication mode="Forms"> <forms loginUrl="frmLogin.aspx" timeout="20" /> </authentication> <authorization> <deny users="?" /> <!-- Allow all users --> </authorization> And cookieless is set to True I would like t...more >>

Inheriting local variables from a common source?
Posted by Wayne J at 10/24/2003 10:04:06 AM
I have 3 pages, each with 2 tables (tblNew and tblConfirm), because these 2 tables are affected by the same code, I thought if I used an inherited class defining these variables along with the code, it would work. It does, to a point, but everytime I hit "Save" I will see errors pile up thanks...more >>

Wildcard search in dataview
Posted by JemPower at 10/24/2003 10:01:27 AM
Hi all, Can someone tell me if it's possible to search through a dataview based on a part-filter. For example, if I use... Dim dvAvailable = New DataView(dsRecipients.Tables("Available"), "name='%jo&'","", DataViewRowState.CurrentRows) It would return John Jonathon Joanne J...more >>

APS.NET version 1.1
Posted by Patrick Horn at 10/24/2003 9:34:39 AM
When trying to create a new 'ASP.NET web application' I get the message: "...web server is not running ASP.NET version 1.1....." What should I do?? ...more >>

Smart navigation and js setTimeout
Posted by Andy Pickering at 10/24/2003 9:34:21 AM
I'm having a major problem with smart navigation. My page uses the javascript 'setTimeout' function to automatically refresh the page after n seconds (it calls __doPostBack). When I turn on smart navigation for the page, the whole thing seems to go haywire after a few refreshes, apparently ref...more >>

default directory when reading a TXT file
Posted by Mark at 10/24/2003 9:21:27 AM
Hello all! I've created an ASP.NET project using Visual Studio 2003 and C#. The project is quite basic in that it simply needs to read in the contents of a text file (.txt). I have the StreamReader in place, but my problem arises when trying to local the file. I added my text file to my project ...more >>

PRB: Cannnot Connect to Access Database from ASP.NET (316675)
Posted by Patricia Kline at 10/24/2003 9:20:17 AM
I am not sure if this is the correct forum, however, here is my = problem: I am writing my first web application in dotnet... I have written = serveral windows applications in vb.net. I have added a oledb = connection, and used the wizard to connect the database. I renamed the = connection...more >>

CDO.Configuration
Posted by Abel Martinez at 10/24/2003 9:12:21 AM
Hello. I'm looking for an example of how to do this in C#. Particulary the CDO.Configuration stuff. I'm currently using System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail to send messaged, but I need to set this "sendusing" attribute and don't know the syntax for doing it in C#. Thanks!!...more >>

which unicode encoding to use for saving ?
Posted by THY at 10/24/2003 9:06:04 AM
Hi, I am developing a website in english & chinese both language. whenever I save, it required I set the encoding in advanced save options. But I found there are 4 related to unicode, can anyone tell me what's the different and which to choose ? Unicode (UTF-8 without signature) - Codepage ...more >>

asp.net project
Posted by chris at 10/24/2003 8:54:03 AM
hi i have made an asp.net application and when i copy it to another machine it doesnt run. i ahve simply copied it in wwwroot. is there anything else that should be done in order to make it run? thank you Chris ...more >>

datalist or datagrid?
Posted by chris at 10/24/2003 8:52:08 AM
hi i want to put add update and delete functionality in my web pages. what should i use? datalist or a datagrid? in a datagrid i have not been able to find add functionality although i can find update and delete thank you Chris ...more >>

Page_Load Doesn't Execute
Posted by German Kruszewski at 10/24/2003 8:26:30 AM
Hi. I have this problem: I have some code that loads an HTML=20 string into a public variable. That code is executed in=20 the Page_Load event. So the problem is that, when I=20 navigate the web, the page_load event sometimes get fired,=20 and sometimes not. This is because the Explorer doesn'...more >>

Reading a textbox in a datagrid
Posted by Davef at 10/24/2003 8:03:33 AM
I have a datagrid with orders in it. Each line has a textbox that I have to enter a price in the textbox. How do I read each specific textbox? -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com davef@helixpoint.com Interested in Affordable Email Marketing...more >>

Changing control focus programmatically
Posted by Elliot M. Rodriguez at 10/24/2003 8:00:55 AM
Is it possible to change a control's focus at runtime? I'm sure you can.... I have a form with 2 textbox controls that cause postbacks. They are located in the middle of my form. When a postback occurs, no control has the focus. I would like it to be so that the control that causes the postb...more >>

asp:Button client-side events
Posted by jeffpriz NO[at]SPAM yahoo.com at 10/24/2003 7:47:04 AM
I need to intercept the Click event of a asp:Button on the client side so that i can disable it after they've clicked it... HOW can i do this?? I was thinking of making the button an HTML button and handling the __doPostback myself... BUT, my page does have some asp:Validator controls on it, ...more >>

ToString format
Posted by wjenny NO[at]SPAM coair.com at 10/24/2003 7:28:45 AM
I have the following function that takes in a string, converts it to a double and adds it to a running total. I wnat to format it on return to mey datagrid template column as currency. iget the following build error The best overloaded method match for 'string.ToString(System.IFormatProvider)' ...more >>

Creating Word documents on page
Posted by enak at 10/24/2003 5:55:30 AM
I have found some code that shows how to convert an html form to Word. The message said to simply put the following in the Page_load: Response.ContentType = "application/ms-word" Response.AddHeader("content-disposition", "inline; filename=BP_CaseStatus.doc") Now all I should have to ...more >>

WebForms
Posted by Vannela at 10/24/2003 5:32:38 AM
Is that we can dynamically create a web form and add controls to it? Is it possible that we write HTML code and script code in a single file and get a web form(All the events functions etc) without creating a ASP.NET solution which includes .resx.. etc files Please can u help me out...more >>

Bitmaps in picturebox
Posted by Steven_licciardinnoossppaamm NO[at]SPAM hotmail.com at 10/24/2003 5:30:38 AM
When I assign the ImageURL property of an imagebox to a jpg image the picture displays fine, however when I right click on the image within a browser to save the image locally then I can only save the image as a bitmap. My question is, is the picture I assigned to the imagebox converted t...more >>

Databinding by ClientID
Posted by oafyuf NO[at]SPAM hotmail.com at 10/24/2003 4:24:41 AM
Hi, I'm trying to learn ASP.NET by doing a pilot project: I have a DataGrid which contains a nested DataList. I want to iterate through the SQLDataReader for the DataGrid and populate each DataList by binding to a fresh SQLDataReader. At the moment I can only bind to the first instance of th...more >>

Call a Link in C#
Posted by John at 10/24/2003 2:22:04 AM
HI, I have a stupid beginners-question: How can I call a Link into another Frame (not response.redirect) in a Button_click event on Server side in C#? I know, I need a target and stuff, but how do I CALL the Link? PLEASE????? ...more >>

Re: ASPNET access to network folders
Posted by Patrik Löwendahl at 10/24/2003 1:59:48 AM
*sigh* managed to presss ctril + enter here's the rest of the reply: There's a couple of approaches, 1)Mirror accounts, (a) change the password of the aspnet account on your server to something you know of. change the password in the machine.configs processModel element. (b...more >>

Why can't I get the value when I disable a control?
Posted by Mike Hnatt at 10/24/2003 1:50:41 AM
I have code that will set a drop-down list value to "xyz" and the .Enabled property to False. However, when I do that I can no longer retrieve the value "xyz" upon postback. It is as if I set the .Visible property to False as well and the control wasn't rendered, but I did not. If you View Sou...more >>

help deleting a member of an enumeration from within a loop
Posted by Tim at 10/24/2003 12:40:57 AM
Hi, I'm very new to .NET and am programming in C#. I have a web application where i have two list boxes. Its kind of like a shopping card where you can add items from one 'locations' list box to the 'locations selected' (cart) listbox. I have a hirarchy of locations - main locations and sub ...more >>

Strange, Illogical ASP.NET Bug: "File or assembly name, or one of its dependencies not found"
Posted by Philipp Schumann at 10/24/2003 12:12:57 AM
Dear all, I'm in the process of designing a distributed application on the basis of ASP.NET, which does not contain of scripts, but of assemblies containing classes that implement IHttpHandler to mimic script-like behaviour. The following section in web.config enables this particular kind of...more >>


DevelopmentNow Blog