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 2005 > threads for tuesday may 31

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

Problem showing confirm dialog on button webcontrol's onclick even
Posted by Tarun Upadhyaya at 5/31/2005 10:09:01 PM
Hi, I am facing strange problem I read Scott mitchell's article about ASP.NET and javascript at http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/clientsidescript.asp where he has talked about creating a base class for displaying alerts and confirms after...more >>


Email reminder from ASP.Net C# website.
Posted by Adhik Kadam at 5/31/2005 9:47:51 PM
Hi, I developed site using ASP.Net, C# and SQL Server and MS Access. Site is kind of existing customer of a service provider. Currently its hosted on server where we have MS Access as backend. Now I have to send reminder to customer present in the database of payment due for today / payme...more >>

regular expression
Posted by JB at 5/31/2005 9:45:30 PM
Please can anybody help me with this. I have a form that reads the numbers of team members. The numbers logic is that it is 1 to 3 digits long. The first and the last digit can not be 0. I don't get a regelar expression to work. Examples 0 does not match 1 matches (as do the digits 1 to...more >>

Conn.Close & Conn.Dispose
Posted by Simon Harris at 5/31/2005 9:44:55 PM
Hi All, Do I need to use both Conn.Close() & Conn.Dispose() when I have finished with an SQL connection? -- I am using the free version of SPAMfighter for private users. It has removed 2425 spam emails to date. Paying users do not have this message in their emails. Try www.SPAMfighter.c...more >>

Advanced Books
Posted by Luis Esteban Valencia at 5/31/2005 9:43:45 PM
Hello. I wish to buy some advanced .net or c# books.. I am interested in design patterns, windows services and more advanced topics. Thanks ...more >>

writing files
Posted by Shaun Wilde at 5/31/2005 8:56:04 PM
What sort of permissions do I need for an ASP.NET application to write a file to a network drive/create folders etc? i.e. via \\mymachine\sharedrive\ or a mapped drive Thankx Shaun ...more >>

asp.net control and javascript
Posted by Aaron at 5/31/2005 7:26:25 PM
how dependent is asp.net controls on javascript? If I understand correctly some of the postback features will not work with js disabled. is asp.net 2.0 any different? Could someone verify this Thanks, Aaron ...more >>

multiple insert in access
Posted by tpafr at 5/31/2005 6:34:32 PM
Hi, I would like to insert multiple rows in an Access DB from a datagrid (or a txt file) It is very slow for large number of insertions(5000 -> >30 seconds !). Is there another way to do this myOleDbConnection.Open(); string sqlst="INSERT INTO TUsers (IDUser,Pwd,...) VALUES (@IDUser, @Pwd,...more >>



Uploading a Photograph
Posted by Simon Harris at 5/31/2005 6:18:50 PM
Hi All, I will shortly need to build an app, which will need the ability to upload a photograph and tie it a record. (User database). This much I can do. As this will be used on a public ticket gate, it needs to work as fast as possible, the steps would be to take the photo, then download ...more >>

DLL (COM) with .Net
Posted by Thanker at 5/31/2005 4:43:09 PM
I need to rebuild a COM Dll, which is consumed by many ASP pages, and desktop applications. By simply calling the CreateObject,... from each application. The requirment is to use the .Net // C# To do a same funtional DLL, While keeping in mind that it should be still accessable from for a...more >>

Page dependent on values is user control
Posted by Net Developer at 5/31/2005 4:17:50 PM
I have a page with some controls on it including a user control. I've got image links that are dependent on values in the user control. How can I make the page controls dependent on the user control when page onload is called before the user control onload?...more >>

div and datagrid
Posted by JIM.H. at 5/31/2005 4:14:02 PM
Hello <div style="BORDER-RIGHT: thin groove; BORDER-TOP: thin groove; Z-INDEX: 212; LEFT: 8px; OVERFLOW: auto; BORDER-LEFT: thin groove; WIDTH: 680px; BORDER-BOTTOM: thin groove; POSITION: absolute; TOP: 544px; HEIGHT: 314px"> I used this Div on top of my datagrid so that datagrid can be s...more >>

ASP.net Question
Posted by mavrick101 at 5/31/2005 4:12:36 PM
Hi, I have an ASP.net page. After submitting the form and saving all the form values I want to give user an option to enter more records ( like reloading the page with empty fields and clear viewstate) Is there a way to clear the Page of the existing values or do I have to do it manuall...more >>

Error tracing on page
Posted by Patrick at 5/31/2005 4:03:59 PM
I understand it is built in behaviour that if an ASP.NET's web.config is set to: <customErrors mode="RemoteOnly" /> then I only get a detailed error message on screen when the ASP.NET application is executed on the IIS server itself. However, I note that with the follo...more >>

Stored procedure error:
Posted by Child at 5/31/2005 4:02:33 PM
Hi, I am getting the error: "Procedure or function spAddActivity has too many arguments specified. " on a stored procedure insert. I compared the number of parameters in the function and the SP and they match. I compared the type of the parameters and they match. I then made sure that every...more >>

DataGrid Button Control
Posted by Niggy at 5/31/2005 4:01:58 PM
I have a button set up with the datagrid Property Builder with a Command Name of "Hey", however the following code does not work: Private Sub DataGrid1_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.ItemCommand I...more >>

DataGrid and links...
Posted by ltt19 at 5/31/2005 3:53:32 PM
Hi. I have a DataGrid control that has one HyperLinkColumn, and this page has a "default.css" loaded, so, the link Style of the DataGrid is the same of the css document... but I want to change it, the link style of the Datagrid must be different from the others.. Even if I set all the format...more >>

calander question about getting the day of the seected date
Posted by Kurt Schroeder at 5/31/2005 3:53:25 PM
Hi, quick question: this, calSelect1.SelectedDate.DayOfWeek, will return the numeric day ofthe week for a given calander called calSelect1. is there a function or method that can give me the text value for day of the week? so that 0 returns sunday, 1 monday, ...? thanks kes...more >>

specific cast is not valid
Posted by Paul at 5/31/2005 3:52:58 PM
Hi I am trying to access a dropdown control in a table and am using the code below but get the error specific cast is not valid. Dim ctrl_dpn1 As DropDownList ctrl_dpn1 = CType(Me.Table1.FindControl("lst_bx_dest"), DropDownList) just wondering if anyone has any ideas, thanks. -- Paul G So...more >>

Causing an event to fire
Posted by Patrick at 5/31/2005 3:52:07 PM
In asp.net, I have a hyperlink, hypTradeDate. This calls a Calendar page that has a calendar control. Anyways, it is using some javascript to set the field, TradeDate.Text. Anyways, my problem is that I have an even hander on TradeDate.TextChanged. This isn't getting fired from the javascr...more >>

ASP.NET Session ?
Posted by Kevin Jackson at 5/31/2005 3:27:37 PM
Does accessing a session variable multiple times during the processing of a page incur a hop each time it is accessed in State Server and SQL Server modes? Or does the roundtrip occur just once and then the variable used from a session cache for the rest of the request? Is the session writ...more >>

WinDbg and XmlText objects
Posted by thejeffross at 5/31/2005 3:21:02 PM
I have a memory problem that keeps causing server resets, so I'm using WinDbg to figure out what the problem is. When I look at the heap, WinDbg tells me that there are over one million XmlText objects, each taking up 20 bytes. If I do a memory view of one of them, I get this: 10017c58 7c...more >>

Access Denied. unable to start debugging on the web server
Posted by Luis Esteban Valencia Muñoz at 5/31/2005 3:14:25 PM
I cant debug on my machie. Machine Estacion15 domain se I am member of vsdebuggers, vs developers and advanced users on machine and domain, aspnet user is also member of those groups Please help Software: vs.net 2002 on a W2000 professional box. with sp4. ...more >>

Can I e-mail an Outlook Calendar Event?
Posted by Paul D. Fox at 5/31/2005 3:00:48 PM
I've seen how you can send e-mail through ASP.NET, but how about sending an Outlook Calendar event after the "Submit" button is pressed? Does anyone have a small sample of this? Paul ...more >>

Using the back button from the internet explorer
Posted by Microsoft at 5/31/2005 2:51:30 PM
Hi, I have written a C# web app and need to simualte the Back button. Like : Response.Redirect; Except: Response.Back; I found that I need to use the History.Back but cannot get it to work Any help would be great! Thanks, Bryan ...more >>

Do you give clients source code?
Posted by VB Programmer at 5/31/2005 2:42:40 PM
Typically, when you are done with a client's website, do you give them all of the source code, if they ask for it? Do you, as the developer, legally own it, or do they, because they paid you to create the ASP.NET website? (I live in Florida) Thanks... ...more >>

How to link an asp:textbox to an asp:imagebutton in a User Control
Posted by Alex D. at 5/31/2005 2:23:39 PM
Does any body knows how to link an asp:textbox to an asp:imagebutton, both inside a User Control in asp.net 2 beta 2? So when a user enter some text in the textbox and press the "Enter" key the corresponding button click event is launched? Tnx. ...more >>

How to send email from Client side?
Posted by dgk at 5/31/2005 2:14:22 PM
I know how to send emails from the server side, but how would I pop up the user's email client and populate the sendto and subject fields?...more >>

Web.Config Block Certain Problem
Posted by xenophon at 5/31/2005 2:08:27 PM
I am trying to permit directory access for one single user only and local Administrators. Right now the current web.config code blocks everyone. User TESTDOM2\testusr1 is a member of TESTDOM2\group1. How can I fix this? <location path="utility"> <system.web> <authorization> ...more >>

Novice question
Posted by Greg Smith at 5/31/2005 1:53:21 PM
Hi I have what I am sure is a really stupid question, but, here goes. I am creating a database application. To allow people to edit records, I run a stored procedure and populate the text boxes on the form. After the data is edited I try to run a stored procedure to update the record. The ...more >>

multiple .vb files into one .dll using vbc.exe
Posted by Matt at 5/31/2005 1:25:44 PM
If I don't have access to Visual Studio .Net, but I need to compile all my ..vb files into one .dll, how would I do this? I know how to do this for one .vb file using vbc.exe, but what about more than one .vb file? Thanks. Matt ...more >>

Thumbnails in good quality
Posted by IkBenHet at 5/31/2005 12:38:53 PM
Hello, I want to make thumbnails from images. I found this code and modified it and it works fine: <%@Import Namespace="System.Drawing.Imaging" %> <script language="VB" runat="server"> Function ThumbnailCallback() as Boolean Return False End Function Sub Page_Load(sender as...more >>

Parser Error
Posted by Vincent Vinet at 5/31/2005 12:09:43 PM
I have built an aspx/vb web application in Visual Studio and it works fine on localhost. Once I moved it to a different server, I have received this error: ---------------------------------------------------------------------------- -------------------- ---------------------------------------...more >>

Return value before reading DataReader
Posted by tshad at 5/31/2005 11:42:37 AM
I am trying to set up a class to handle my database accesses. I can't seem to figure out how to get the return value from my dataReader from these routines (most of which I got elsewhere). They do work pretty well, except for the change I made to get the return value. For example, I have ...more >>

dire need of help
Posted by Fetty at 5/31/2005 11:07:32 AM
I have a dynamically created child grid inside of a grid. Each cell may or may not have a date in it. How do I make that date a hyperlink? Eack column has to have different links? ...more >>

adding parameters
Posted by tshad at 5/31/2005 10:07:05 AM
When I normally set up my Sql statements and parameters, I would normally do: Dim objCmd as New SqlCommand("AddNewResumeCoverTemplate",objConn) objCmd.CommandType = CommandType.StoredProcedure objCmd.parameters.add("@ClientID",SqldbType.VarChar,20).value = session("ClientID") objCm...more >>

Execute Javascript AFTER click event
Posted by Ian Kelly at 5/31/2005 9:45:09 AM
Hi All, I have an .net form that is split into two frames. The left frame has a tree that displays a list of all the customers. The right frame displays the appropriate clients information. When the save button is pressed on the right frame, I want to update the tree in the left frame AFTE...more >>

DataGrid command events
Posted by Nirubama Bakthavatchalam via .NET 247 at 5/31/2005 9:22:52 AM
Hi, can anyone post solution for the above problem? Thank you, Niru. (Type your message here) -------------------------------- From: Nirubama Bakthavatchalam ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>B4DxUvuClkWu2twfImMhvw==</Id>...more >>

Dataset lost in visual studio 2005 after updating a SP...
Posted by Jéjé at 5/31/2005 9:19:33 AM
Hi, My dataset become corrupted after I have a storedprocedure. The error is: Failed to load dataset because of the following error: Cannot convert '' to type 'System.String' (there is no specific line in the XML code identified) I have changed a storedprocedure to add a parameter, then ...more >>

Remoting Problem
Posted by Ron L at 5/31/2005 9:11:15 AM
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying to use remoting for our access to the SQL server, with the remoting being via IIS. Since all of o...more >>

positioning controls
Posted by Paul at 5/31/2005 9:04:19 AM
still trying to figure out how to do this as I have a grid that gets data from a dbase and can change in size. I have controls that I always want to be just below the grid, with no gaps. This is a webform so thinking html may take care of it. When only a few items are returned to the grid I g...more >>

Microsoft Enterprise Library with ASP.NET
Posted by belius at 5/31/2005 8:48:14 AM
Hi all, I am building an ASP.NET internet application and I am considering the opportunity to use the Exception Handling Application Block and the Logging Application Block to handle the exception through the layers (BLL,DAL,WEBUI). My doubt is: Are they the perfect solution for this kin...more >>

page.init vs page.load
Posted by UJ at 5/31/2005 8:47:59 AM
I've got a page with a user control on it. While the page is loading, it needs to check certain conditions of the user object to enable/disable things on the screen. Currently in the page_load of the user control I do things like read from the database on the first load, set some internal va...more >>

ASP.net and Printing Landscape
Posted by Eric at 5/31/2005 8:34:24 AM
We have a customer requirement that the final paperwork from an ASP.net application is formatted and printed Landscape. What is the best way to achieve this? What are my options? Thanks ...more >>

subdomain url rewriting?
Posted by Leon at 5/31/2005 7:39:24 AM
Is it possible to allow my website user's to enter the site using a subdomain name such johndoe.mywebsite.com then a automated script in the Global.asax file within the Application_BeginRequest redirect the user to mywebsite.com/index.aspx?username=johndoe? if so then how? I kind of know...more >>

DataGrid Next Page
Posted by Niggy at 5/31/2005 7:30:08 AM
My datagrid has page numbers as navigation, but they don't work. Do I have to code this (if so - how) or is something wrong with the datagrid? Thanks....more >>

passing variables between pages
Posted by lacombpcs NO[at]SPAM juno.com at 5/31/2005 4:31:06 AM
I have a web app that searches a database and returns a datagrid table. the user inputs the search terms into a textbox. The user selects the info he wants and it sends him to a 2nd page, after another selection it goes to a 3rd page. I have been able to pass the search term in my textbox back a...more >>

ASP.Net 2.0 + HttpHandler + PreCompilation
Posted by Patrick at 5/31/2005 3:50:05 AM
Hi you all, I'm facing a litle problem with a custom httpHandler for ASP.Net. The application will be precompiled for deployment, so I won't have any .aspx files which contain code or anything else. BUT the user can/may create such files (dynamically - filebased CMS), which should be execut...more >>

MSHTML Editor
Posted by I am Sam at 5/31/2005 2:57:01 AM
Is MSHTML Editor supported in ASP.NET? I've been trying to activate MSHTML Editing in the browser using jscript but have been unable to successfully activate it. I've been using a tutorial from msdn so I know the syntax isn't wrong. ...more >>

inserting record through pop window question and then forcing refresh
Posted by Patrick Olurotimi Ige at 5/31/2005 12:52:01 AM
I have a webform with DropDownLists and and i would like to have a link that would open up a window popup for the USER to insert some data into the Database and then on closing the popub window or clicking the save button i would like to force the main page to refresh so that the Data would s...more >>

vs 2005 beta 2 configuration error .. why ?
Posted by Ahmed Adly at 5/31/2005 12:16:01 AM
hi all i got the beta 2 version from microsoft and it's trully good i tried to write a siple upload code using the upload component and it's working good when running from the vs window .. (the grren pay button on top) it's working good but when try to rum the project through my iis it giv...more >>

Help!! Problem instantiating WORD object using C#.NET
Posted by Handy Mulia at 5/31/2005 12:11:02 AM
Hi experts, I am trying to open the content of a WORD file from C#.NET which resides in the REMOTE SERVER, however I get an error: "System.Runtime.InteropServices.COMException: Server execution failed" when declaring new Word.ApplicationClass(). string fileName = this.btnWorkOrder1.Value...more >>

ASP.Net 2.0 using stored procedures
Posted by Hennie at 5/31/2005 12:00:00 AM
Hi Can anybody point me to good articles or sites on using stored proc's in a grid or details view in ASP2.0 Also how can I return the username of the current logged in user as a parameter value in a stored proc? i.e. @UpdatedBy.value = LoginName I am using the wizard in asp.net 2.0 Ma...more >>

Webform in book won't work live, what's up?
Posted by Jozef at 5/31/2005 12:00:00 AM
Hello, I'm doing the lessons out of a Sams ASP.net book and have copied the following verbatim, out of the book (without the beginning and ending quotes); "'<%@ Page Language="vb"%> <%@register TagPrefix="TYASPNET" TagName=LoginForm src=LoginForm.ascx%> <script runat=server> Sub Page_L...more >>

Check for empty sqldatareader
Posted by Sosh123 at 5/31/2005 12:00:00 AM
Hi, Could anybody suggest a way of checking for an empty datareader, without using Read()? Thanks...more >>

help: web administrator tool
Posted by Kha Tran at 5/31/2005 12:00:00 AM
1.I cannot see Profile tab 2.In Provider tab, it has only one provider AspnetSqlProvider (missing = AspnetAccessProvider) 3.In Security tab, I can create roles,rules but cannot create a new user= = (Alert: Please enter a different password). It is the same problem when = = use cla...more >>

Public, Private, Protected? Thanks.
Posted by Shapper at 5/31/2005 12:00:00 AM
Hello, What is the difference of using: Sub function() Public Sub function() Private Sub function() Protected Sub function() I place all my functions in my aspx.vb files but I have some problems when deciding when to use Public, Private, Protected or none. Thank You, Miguel ...more >>

bgcolor of repeater row
Posted by simon at 5/31/2005 12:00:00 AM
when I click the button in datarepeater, I would like to set the bgcolor = of the row to red. I don't know how to get the reference to that row. Something like this? Private Sub rprPlists_ItemCommand(ByVal source As Object, ByVal e As = System.Web.UI.WebControls.RepeaterCommandEventArgs) Hand...more >>

objectdatasource: update parameter is a object?
Posted by Kha Tran at 5/31/2005 12:00:00 AM
When using function update of objectdatasource, I can call a function wi= th = parameters like id, name... (properties of object). Can I pass a paramet= er = as an full object? Ex: update(id, name, ade, sex...): ok update(Class objectname): ??? -- = Using Opera's revolutionary e-ma...more >>

limit system resources for a request
Posted by Michael Per at 5/31/2005 12:00:00 AM
Does anybody know of a best way to limit system resources (CPU/memory) for each particular request? In my application based on user's parameters a request may take considerable amount of time and system resources. This kind of request may take 100% CPU and make all other requests in the queue hal...more >>

not displaying path on address bar
Posted by
at 5/31/2005 12:00:00 AM
Hi Is there a way to inhibit path info of a page be displayed on the address bar, whether user just click on a menu item / redirected by Response.Redirect("") TIA -- ...more >>

Possible to store double variable to Session?
Posted by Joey Liang via DotNetMonster.com at 5/31/2005 12:00:00 AM
Hi all, Is it possible to store double variable to session? If possible can show me code sample on how to convert.Thanx n advance. -- Message posted via http://www.dotnetmonster.com...more >>

One to many in a datagrid cell
Posted by Blasting Cap at 5/31/2005 12:00:00 AM
I have a report that I want to modify. Its a customer listing, and will have name & address info, etc in it. I've been asked to expand it to show a Customer Service Rep's name in the report, as well as channels in which they buy goods. The channels can be a many to one (customer) list. Th...more >>

How to import a class?
Posted by Shapper at 5/31/2005 12:00:00 AM
Hello, In my web site aspx.vb files I have a few functions which are common to all .aspx pages. I want to move all to a common file. I am thinking in placing all common functions in a class (common.vb file): Imports System Namespace global Public Class global Public Sub F...more >>

Failed to debug Asp.Net issue on windows 2003
Posted by Dale at 5/31/2005 12:00:00 AM
Hi, I got an error when I debug a asp.net program on a windows 2003 server. It said, 'Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server. Verify that you are a member of the 'Debugger Users' group on the server. ' ...more >>


DevelopmentNow Blog