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 > june 2004 > threads for friday june 4

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

Please help me with this simple line of code.
Posted by Miguel Dias Moura at 6/4/2004 11:02:33 PM
Hello, i am creating an ASP.net / VB web site with Dreamweaver MX 2004. I have a form and a "Insert Record Behavior" to insert the form values in the database. Dreamweaver puts this code in the end of the form: ... <input type="hidden" name="MM_insert" value="myForm"> (1) </f...more >>


Dataset not persisted on PostBack
Posted by VB Programmer at 6/4/2004 10:53:36 PM
I have a dataset which I fill in the Page_Load (only 'If Not Page.IsPostBack'). When I debug the load: dsmyds1.Tables(0).Rows.Count = 207 When I click on a button and it posts back the dataset and I debug: dsmyds1.Tables(0).Rows.Count = 0 Any ideas why? The dataset is on the des...more >>

Weird error when visiting ASP.NET websites
Posted by VB Programmer at 6/4/2004 10:36:16 PM
I went to a few ASP.NET websites today. For some aspx pages I get this error (too consistently, which is why I think it's my PC): Server Error in '/CuteEditorTest' Application. ---------------------------------------------------------------------------- ---- Culture name rs1_4d1e6891cd6 ...more >>

Simple question about insert a record.
Posted by Miguel Dias Moura at 6/4/2004 10:33:06 PM
Hello, i am working in an ASP.net / VB web site. I have a form. Does anyone knows a script to insert the form values in an Access Database? I was looking and looking and i couldn't find anything. Thank You, Miguel ...more >>

PostBack with Front Controller
Posted by Alok Jain at 6/4/2004 7:06:22 PM
Hi, We are using Front Controller implementation in our DotNet application. I am trying to hide URL in my application. This is based on Front Controller model. I am able to achieve if I do not use postback in ASP.Net control. If I post back from a ASP.Net control it takes me to the correc...more >>

Accessing trace timings from code
Posted by Jens Ratsey-Woodroffe at 6/4/2004 6:17:35 PM
I have a requirement to log how long pages take to render. Is it possible to access the same figures that are generated from the trace figures? J. ...more >>

application.lock
Posted by myahact NO[at]SPAM yahoo.ca at 6/4/2004 6:15:02 PM
Hello there, To lock or not to lock, that is my question... I have an arrayList in my application object. The arrayList contains objects of a class that I defined. I have my own mechanisms that ensure that only one user at a time can modify a given object's properties, but another user co...more >>

Comparing dates entered from a form
Posted by hansiman at 6/4/2004 6:12:17 PM
In a form a user enteres two dates (from and to) in format dd-mm-yyyy. How do I check if to >= from. All the different attempts end up in "String was not recognized as a valid DateTime" when I try to convert "24-12-2002" Dim dateFrom As DateTime = Convert.ToDateTime(txtFrom.Text) Dim date...more >>



web.config question
Posted by bill at 6/4/2004 6:08:52 PM
Is there some way I can add additional authorization in my web.config for a specific folder that checks IP address? I know I can place an additional web.config file in this specific folder, but what exact syntax can I place in the config file that would allow access only from specific IP...more >>

New to ASP!
Posted by Sox04 at 6/4/2004 5:42:08 PM
Hi- I am trying to get an ASP app to run on our Windows 2000 Server. IT is running OK for the most part. Inside the application it has the ability to send email and to set it up I need to identify the "email component" that is installed on my web server host and make the change inside the global...more >>

Storing Variable for use in different page
Posted by - Steve - at 6/4/2004 5:40:27 PM
I have a website that uses forms based authentication. In the logon.aspx page a user enters a username and password. It is then authenticated against Active Directory. After that point on any page in the directory I can access the username using HttpContext.Current.User.Identity.Name, but I ...more >>

How to do globilisation?
Posted by Jensen bredal at 6/4/2004 4:57:29 PM
i was wondering how i can add multiple language support to my asp.net application. I'm not trying to redirect reqst based on user culture. i want my app to detect the user language and load the appropriate ressource. Can anyone describe the steps to accomplish this? Thanks in advance...more >>

Interbase, ASP.net, C#, and a serious headache
Posted by Jay Douglas at 6/4/2004 4:19:03 PM
Greetings all. I'm in need of some serious guidance. I'm working on connecting a c# asp.net app to an InterBase v6 database that sits on a remote machine. I can't get any ODBC / Open Source .net data providers to connect successfully and run queries. I've tried the following things so far...more >>

Memory leak on ASP.NET web site
Posted by Jon Davis at 6/4/2004 3:54:29 PM
OK I have a web app that I built that makes MANY calls to the DB in each request. The app wasn't tuned for scalability so this wasn't a problem, but time is too short to redesign how the database is accessed because the data that's being stored is time relevant and the web app will be thrown out ...more >>

dataset and dataadapter persistance between page loads
Posted by Amadelle at 6/4/2004 3:30:36 PM
Hi all and thanks in advance, I was wondering how to cache/persist a dataset between page loads (after button clicks, sorts, filters, etc.)? so that i don't have to requery the database everytime and create a new dataset and a new dataadapter everytime. I know that I can use the Session obj...more >>

Automatic compile of class file in asp.net
Posted by s.hong at 6/4/2004 3:17:24 PM
I thought that if the class files compliled automatically when they changed, and distributed to '/bin' folder. then, I can easily manage my class file. (I know some JSP engine have the same function 'auto-compile' ) I can write batch command 'vbc ...' to compile my vb files to dll. but, When I...more >>

Sending an email from ASP.Net using VB
Posted by Rob Meade at 6/4/2004 3:17:07 PM
Hi all, I'm using the following code: ...more >>

Problem with Could not open in Design view.
Posted by Maziar Aflatoun at 6/4/2004 3:02:27 PM
Hi everyone, I'm using Visual Studio .NET to create a shopping cart. As soon as I add the following line in my code <td width="25%" align="center" bgcolor="#ffffff"> <input type="button" id="Add" name="Add" Class="button1" value="Add to Cart" onclick="JavaScript:location.replace('Sho...more >>

textbox value not returned in a datagrid
Posted by Amadelle at 6/4/2004 2:41:11 PM
Hi all and thanks in advance for your help, I have a problem with capturing the changed value of a text box in a datagrid. The datagrid is populated based on a dataset and I am using template columns to show some of the columns. Few of the columns have textboxes to make them available for ed...more >>

OK. Again...How to handle single quotes in SQL Strings?? ASP.NET/ADO.NET
Posted by SStory at 6/4/2004 2:19:41 PM
How can I handle the user entering single quotes like in Bob's mini mart? If I use command objects will this no longer be an issue? I guess that would mean no simple adhoc SQL statements right? like SELECT name from WHATEVER would need a command object with "SELECT @NAME, etc. and...more >>

SMTP Authentication Problem
Posted by rivanov NO[at]SPAM yahoo.com at 6/4/2004 2:12:15 PM
Hello, I am trying to send an e-mail message via code using the following two lines: ************************************************************************ SmtpMail.SmtpServer = "smtp.mail.yahoo.com"; SmtpMail.Send("Radi@localhost.com", job.EmailAddress.Trim(), "Job Results #" + job.JobI...more >>

questions about Image stored in DB
Posted by Edward at 6/4/2004 1:36:19 PM
Hi, I've one employee table, with one column as Image type. So I want to display all the information in one form, where I choose an ImageButton to display the column . I found nearly all the suggestion is using ImageButton.ImageUrl = "imagereader.aspx?id=n" , that means I should create ...more >>

Data binding with a repeater
Posted by Paul K at 6/4/2004 1:11:02 PM
I'm having a problem getting the data binding to work with the repeater control. Here's the code for the code-behind class private void Page_Load(object sender, System.EventArgs e if (!this.IsPostBack DataView dv = new DataView(AlbumMgr.Instance.GetAlbumsList()) rptalbum...more >>

Binding textboxes
Posted by Big E at 6/4/2004 1:09:16 PM
I create a Connection, SQL DataAdapter, DataTable, DataSet and Fill the Table. Now I want to bind the data in the Table to textboxes on the ASP.Net page. I thought I could do something as simple as Textbox1.Text = dtReg.Columns.Row(dataintable). I would rather do it in the .vb file than in the a...more >>

Setting Roles with Forms Authentication and Access 2003
Posted by Ed at 6/4/2004 1:01:06 PM
Hi I currently have an asp.NET project. I'm using Access 2003 and forms authentication to authenticate users. Can anyone tell me how to set the roles in asp.NET so that it recognizes them? The logging in portion of my code works...What I need to know is how to allow access to certain pages to u...more >>

Popup window to raise event in parent window...can it be done???
Posted by Earl Teigrob at 6/4/2004 12:59:48 PM
I am thinking about using a popup window to edit settings that will affect parent asp.net page. The data that is changed in the popup window will be saved to the datastore that is loaded and displayed by the parent page. In order to refresh the parent page, I would like to raise an event in the ...more >>

Child Thread Can't Write To Session In Multithreaded ASP.NET
Posted by Chris at 6/4/2004 12:31:02 PM
Hello all, I have a webpage processing a long-running report that can take up to a minute or two to complete. So I spawn a child process and have it do the work while the browser checks back periodically. When the work is finished, a flag is set in session, which the requesting web client picks up...more >>

Changing value of ASP .NET Cache from outside aspnet process
Posted by Hayato Iriumi at 6/4/2004 12:14:11 PM
I'm wondering and doing some research on how I could change a value in ASP ..NET Cache outside aspnet worker process. Sounds problematic and I should other routes, but I'm curious as to how a process could talk to aspnet worker process. If you have any idea, please let me know. Thanks! ...more >>

The nature of string and char[] in .NET
Posted by Lau Lei Cheong at 6/4/2004 12:12:48 PM
Hello, I'm trying to write a converter for converting between Big5 and UTF-8, but I want to make sure a few facts before writing. 1) I know that by default .NET store string in unicode. Would there be any problem if I store Big5 characters in the string? Or could I set the codepage...more >>

Page Source Code In Memory??
Posted by Chad A. Beckner at 6/4/2004 11:23:28 AM
Ok, here's the situation: I want to read the currently executing .aspx page "source code" from memory as it is executing so I can grab certain values from within the page (for example, say the page title). Any ideas? Chad ...more >>

client side script
Posted by Ricardo Silveira at 6/4/2004 11:09:32 AM
I have a asp.net button in my webform. I want to run a custom client side script (javascript) before submit the page and go to behindcode. It doesn't have to pass by existing validator controls , i e, CausesValidation="False"; Any help how to do that? Thanks Ricardo ...more >>

Look for Tutorials on Microsoft Excel 9.0 Object Library
Posted by Edward at 6/4/2004 10:45:15 AM
hi, there are some requirements about Excel auto-generation. I read some tips in the Microsoft newsgroups, but something is different in my project. For example, I have one form, with images, datagrids, bar graph report, we want to see only one result excel file including all these elements. I...more >>

Calendar Control to show more then one month
Posted by Grant at 6/4/2004 10:34:03 AM
Is it possible ot have the Calendar Control to show more then one month? Thanks ...more >>

databind expression for url with 2 params?
Posted by Martin at 6/4/2004 9:42:37 AM
Hi, I have a datagrid, that needs a HyperLink Column. The url for this link has 2 parameters in it, eg www.mydomain.com/index.aspx?param1=b&param2=a The values for param1 and 2 are in my datasource. What databinding expression should I use? I don't want to have my datasource contain t...more >>

middle tiers for .net
Posted by ken at 6/4/2004 9:36:06 AM
Dear all does any recommend books for develop middle tiers for .ne recently, i develop asp.net only aspx/dll, database , two tier and vb.net only frm/dll, database, two tiers...more >>

Persisting child controls
Posted by Alexandre Soares at 6/4/2004 9:29:53 AM
Hi, I've made a collapsible panel custom control. It's pretty simple so far, it extends the Panel class and renders a bar above itself (panel) to show/hide the <div> of the panel on the client-side using DHTML. So far it works fine. I want to be able to make it work server-side as well: only...more >>

Client/Server v.s. Distributed application
Posted by tsui at 6/4/2004 9:21:02 AM
Dear all Someone say that past is Client/Server application, and now is distributed application, but i don't understand these terms Is it Client/Server application is mean two tiers, and only one server can not be web farm or cluster, and asp and vb can be a client/server app and is it distribu...more >>

Getting a DNS error, can someone help - please?
Posted by tina.pardi NO[at]SPAM nav-international.com at 6/4/2004 9:20:11 AM
Below is my code for dropdownlist that is populated from a SQL table. After a selection from the ddl, a datagrid is suppose to come up pertaining to the information selected, but I keep getting a DNS error. I developed this "simple" page but so far it is not simple! argh! <%@ Page Languag...more >>

Forms Authentication and Active Directory
Posted by - Steve - at 6/4/2004 9:06:50 AM
I have forms based authentication working, using my Active Directory for authentication. I have a web page that creates a user in active directory. When I was using IIS authentication it worked fine, now it doesn't. I'm assuming it's running in the context of the IIS anonymous user. How can...more >>

what questions to ask my isp ?
Posted by Martin Dew at 6/4/2004 8:55:06 AM
I am building an asp.net web site. It access an Microsoft SQL Server 2000 database. I need to upload it all, but want to know what questions I need to ask my isp who host my site to make sure it will all work ? Can anyone offer any advice. ? T.I.A Martin ...more >>

Images Not Showing
Posted by Mythran at 6/4/2004 8:28:19 AM
On all test machines, some images load, others don't (all in IE 5.5 and above). So, how can I force all images on an html/aspnet page to load? What I mean by they do not load, I have to right-click on the image location and select "Show Image" from the context menu. Mozilla/Opera load the imag...more >>

Can anyone direct me to an example....
Posted by tina.pardi NO[at]SPAM nav-international.com at 6/4/2004 8:19:03 AM
New to .net framework and in a bit of a crunch, I have found myself trying to figure out things from online examples. I have a datagrid which displays records from a SQL table, I also have two textboxes on the same page. What I would like to do is populate the textboxes from the datagrid, when...more >>

Building on-line help ??
Posted by poppy at 6/4/2004 7:15:14 AM
I have just completed a web application in asp.net and have been informed that I must offer some kind of online help. Whats the best way to do this ?...more >>

Assembly question
Posted by Hans De Schrijver at 6/4/2004 7:02:55 AM
First off, I'm pretty new to web development with C# and ASP.NET. With that said, I've been scratching my head for the past 2 hours, trying to figure out the following problem: I created a first project (CLSLibrary) with one class (user.cs), defined as "public class User". This class contains ...more >>

Display PDF (or other file) in new browser window
Posted by chazmanian at 6/4/2004 6:41:05 AM
We have a situation where we display PDF files through IE via a method in our code-behind as follows protected void displayPDF(string exePath, string filePath { // exePath is the Request.CurrentExecutionPath and we trim off the actual ASPX page designation an // replace that...more >>

Netscape validation problem
Posted by TIBM at 6/4/2004 6:16:03 AM
Hi. I've posted this question on another newsgroup, but I haven't received any answers.. I have a login page where users input userID and password and click a Login button. Before calling the login functions, I have to check the user ID and the password for invalid data. It works well in IExplore...more >>

can't connect to sql server with domain users? Help....
Posted by Reza at 6/4/2004 5:41:05 AM
Hello The project was working, where I had a domain user registered in the database as a user, and I used that user to connect the datebase. Everything was fine and it was working, then when I moved the project to the production servers - database server and web server. Following that all the user...more >>

Basic question...
Posted by Paul K at 6/4/2004 4:06:03 AM
I have a regular anchor in one frame targeting another frame. Since this approach always worked for me in static html and classic asp, I thought it would work in asp.net. However, it's not working (at least, not as expected -- the linked page is just popped up in a new window). I'm using v1.1 of ...more >>

Writing javascript code in every page of my site using aspx
Posted by postmaster NO[at]SPAM etantonio.it at 6/4/2004 3:28:18 AM
Good Morning, I would want to use aspx to write this javascript code for me in every page of my site www.etantonio.it how can I do this ??? <script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXX"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_a...more >>

CS0234 when using a VB assembly in my C# web app
Posted by George W. at 6/4/2004 3:13:49 AM
I'm trying to use a DLL in my web app and get CS0234 (Namespace error). Is there no way to use a DLL that was written in VB in a C# web app?? -George W....more >>

asp.net Dynamic display Validator bug!!
Posted by coollzh at 6/4/2004 12:19:18 AM
i have a asp.net Form with serval input textbox and serval validators to validate the user input dynamic when user input wrongly in the textbox, the validator will worn the user for wrong inputing afer the textbox is not on focus. but afer i have input the first textbox with wrong inputing, then...more >>


DevelopmentNow Blog