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 > march 2004 > threads for tuesday march 2

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 with redirecting
Posted by ankur_jain03 NO[at]SPAM infosys.com at 3/2/2004 11:18:07 PM
Hi, I am facing a very weird problem while redirecting to another page. The problem is as follows: I have a website. I build the solution and run the application. The first page is the login page. I enter a valid login and password and click the "login" button. The click event call the database...more >>

session object II
Posted by Berkdan at 3/2/2004 10:40:00 PM
hi all, i want to learn this about session object in asp, when i connect to the site can session object write my ip adress to the text file and when i cut the connection then can it write offline to the same text file? it must write when my dial up connection was cutted. can i use session o...more >>

sesion object
Posted by Berkdan at 3/2/2004 10:28:31 PM
hi all, i want to learn this about session object in asp, when i connect to the site can session object write my ip adress to the text file and when i cut the connection then can it write offline to the same text file? it must write when my dial up connection was cutted. thank you very much...more >>

EAServer & ASP.NET
Posted by Bill at 3/2/2004 10:09:18 PM
Im trying to call a EAServer (Sybase-Jaguar) component through a ASP.NET application but i'm getting the following error: Message: "QueryInterface for interface JaguarTypeLibrary.DIORB failed." Source: "mscorlib" if i use the <%@ASPCOMPAT="true" %> directive everthing works fine! but i'dont...more >>

Windows 2003 and client script in ASP.NET
Posted by Sara T. at 3/2/2004 9:54:35 PM
All, In Windows 2003, some client script generated from .NET i.e. RequireField Validator doen not work (Cannot popup dialog). Do we need something to config ? ...more >>

Best book on developing server controls?
Posted by vpoflunch NO[at]SPAM hotmail.com at 3/2/2004 9:24:17 PM
Hello, I'm looking for a book with in-depth coverage of developing server controls, particularly custom controls. Ideally, the book would have a good amount of how-to's and best practices, but also serve as a fairly complete reference. It doesn't need a whole lot in the way of introductory mate...more >>

Postback caused by pressing the "enter" key
Posted by hkdragonfly NO[at]SPAM hotmail.com at 3/2/2004 8:21:47 PM
Hi all you smarties out there, I'm having a little conundrum with my asp.net page Scenario: I have a form (asp.net) with no code behind (as yet). I have placed a javascript function on a server side textbox control to do something - eg change the words on label - when the key pressed is th...more >>

Getting Unique ID from new record
Posted by Glyn Williams at 3/2/2004 8:06:20 PM
Hi, I'm trying to get the ID of a newly created record into a variable, so I can display it in a Label or something after being created. I know you can use @@identity in the sql statement, but I just can't seem to get it to go. Any help appreciated, Glyn Williams Here is my code:- Public ...more >>



Required Field Validator
Posted by theintrepidfox NO[at]SPAM hotmail.com at 3/2/2004 7:50:28 PM
Dear Group It says in MSDN that a field can be associated with more than one validators but can one validator be associated with more than one field? Or do I need a validator for each field? How does it work? Using Handlers? Thanks for your efforts! Martin...more >>

uploading and saving BLOB to database?
Posted by Lauchlan M at 3/2/2004 7:34:09 PM
Hi I want to upload a general BLOB (jpg, doc, pdf etc) to the database. My code for this is at the moment something like << if ( (fileDischargeFile.PostedFile != null) // there is an uplaoded file & (fileDischargeFile.PostedFile.ContentLength !=0 ) ) // of non-zero lengt...more >>

customErrors issues
Posted by Pete Davis at 3/2/2004 7:25:45 PM
I posted a question about this earlier, but I thought I'd take a different tack. Has anyone compiled a list of all the things that can cause setting the customErrors mode to "Off" in the web.config file to fail to work? I know that there's a bug that will cause it to happen if the application ...more >>

filenames / extensions with file uploads
Posted by Lauchlan M at 3/2/2004 7:22:08 PM
Hi I'm doing a file upload and I get //get the filename string FullFileNameAndPath = fileDischargeFile.PostedFile.FileName; This returns the full filepath, eg c:\folder\filename.ext What I want to do is get the filename (as 'filename.ext') and the extension (as '.ext') from t...more >>

Intellectual Property / Copyright Registration
Posted by theintrepidfox NO[at]SPAM hotmail.com at 3/2/2004 6:42:09 PM
Dear Group Sory for posting this here. Hope it's not too off-topic but thought that someone minght know about. Can you give tips about intellectual property / copyright registration for software? I've written an app and would like to protect it. I'm not a paperwork person nor legal minded...more >>

Windows 2003 and client script
Posted by Sara T. at 3/2/2004 6:38:45 PM
All, In Windows 2003, some client script generated from .NET i.e. RequireField Validator doen not work. Do we need something to config ? ...more >>

dynamic context path
Posted by Blue Man at 3/2/2004 6:35:32 PM
is that possible to use dynamic paths in web.config for httphandler like this? <httpHandlers> <add verb="*" path="archive/\d{4}/\d{2}/\d{2}/\d+\.aspx" type="myclass,assembly" /> </httpHandlers> Then i can grab it with MyClass which is a defined httphandler and redirect it to appropriate...more >>

Simple Question re: ASP.NET is not authorized to access the requested resource
Posted by Mike McCann at 3/2/2004 5:59:38 PM
With the following code : Line 72: 'Get a StreamReader class that can be used to read the file Line 73: Dim objStreamWriter As StreamWriter Line 74: objStreamWriter = File.AppendText(FILENAME) I get : Access to the path "c:\inetpub\wwwroot\CMM\Reports\Output....more >>

SMTP Problem
Posted by Jeremy at 3/2/2004 5:32:42 PM
I posted a message recently about an SmtpMail issue I was having (SmtpMail causes the server to have a 502 response: Unknown Command 'SATA'). Since then, I have tried 3 different SMTP components, and even written my own. When sending mail from an EXE, everything works fine, but from ASP.NET, ...more >>

To remove parameter from URL
Posted by Sara T. at 3/2/2004 5:32:12 PM
Friend, Does ASP.NET (VB.NET) have some functions to remove some parameter from UTL ? Such as http://www.abc.com?param1=123&param2=234&param3=345 I need to remove param1 and param2 from this URL, so that should be: http://www.abc.com?param3=345 Thanks for advance. ...more >>

WebControl.BackColor
Posted by francois at 3/2/2004 5:31:16 PM
Hi all, The WebControl.BackColor expect a Drawing.Color object which i find extremly inconvenient to use as mainly in the web world we use things like "#CC1235" to define a color, the hexadecimal code. Then my question is: How can I give a value to WebControl.BackColor if all I got is a str...more >>

crystal reports and duplicate pages
Posted by cb2000 at 3/2/2004 5:06:08 PM
not sure if this is the right area, but let me know if it isn't I have a simple crystal report that has a subreport in it. the problem is, when I go to print it every page comes out in duplicate. I am exporting the report to PDF. when I take the subreport out, the report prints fine. the subre...more >>

Unable to start debugging on the web server...
Posted by Bill at 3/2/2004 5:01:06 PM
I was trying to debug as simple web application, this message appeared "Error while trying to run the project: Unable to start debugging on the web server. Could not start ASP.NEt or ATL server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server." Im using VS.NET ...more >>

.Net Studio 2002 can't work with Framework 1.1?
Posted by Denon at 3/2/2004 4:56:11 PM
Hi Recently, I have installed the .Net framework 1.1 However, when I open an existing web project. At [help]->[About]I found the information displayed in there is Microsoft .NET framework 1.0 Version 1.0.3705 And [Project]->[Add Reference] I found those .NET reference such as System...more >>

Variable Problems with C#
Posted by - Steve - at 3/2/2004 4:52:22 PM
I have a cs file I use in an ASP.NET form. The class has several member variables. If I assign a value to those variables in a method, when I get to another method the variable no longer equals what it was assigned. For example: namespace test { public class testClass : Page { ...more >>

Postback and Back Button
Posted by Andre at 3/2/2004 4:16:54 PM
Hi, I have a page with 3 options, when a user select one, he's redirected to a page with several option (checkbox) each of them with autopostback set to true. My problem is : If the user click on the back button to go back to the page with the 3 main option, the browser o...more >>

Upload Control Limitations
Posted by Jerry Camel at 3/2/2004 4:15:41 PM
Does the upload control try to cache the uploaded file in memory on the server side (or client side, for that matter) before it's saved? I've got my MaxRequestLength set to 1GB, but I get an out of memory error when I try to upload a file larger than, say, 450MB. Thoughts? Thanks, Jerry...more >>

Request.QueryString ignoring characters
Posted by Andy Beetz at 3/2/2004 4:11:33 PM
Hi all, can anyone tell me why when I send this to my aspx page, I get the spaces but not the GBP sign? http://localhost/test/default.aspx?Body=it%20is%20%A310 my web.config has request and response encoding set to utf-8 if it makes any difference. Thanks in advance ...more >>

Global resource file
Posted by martin at 3/2/2004 4:03:38 PM
Hi, I have noticed that every aspx page that I created (and ascx file) has an assosiated resource file aspx.resx. However what I would like to do is have a single global resource file for the site. The resources in this global resource file will possibly change quite often, there I guess ...more >>

passing a value to an event handler from dropdownlist
Posted by DC Gringo at 3/2/2004 3:52:07 PM
I've got a command button to submit a value from a dropdown list that should then filter a SELECT query. I'm simply appending a WHERE colx = <variableSelectedFromDropdownList>. How do I pass this value into the event handler? -- MY EVENT HANDLER Sub RunReport_OnClick(sender As Object, e ...more >>

missing text in a label
Posted by NTuser_Man NO[at]SPAM msn.com at 3/2/2004 3:51:38 PM
Howdy, I'm having trouble getting a message to appear in a label. I have the following code snippet: lbErrorMssg.Text = "" foreach (DataRow Rrow in ds.Tables["ImportCSV"].Rows) { string sString = Rrow["EmployeeNumber"].ToString(); if (!ImportCSV.IsNumeric(sString)) { lbErrorMssg....more >>

Can't get errors to show
Posted by Pete Davis at 3/2/2004 3:43:47 PM
I created an ASP.NET app and now that I've put it on the hosts' server, I can't get the errors to show up. I get the old error about setting customError's mode attribute to "Off" to be able to see the errors. I have of course, changed the customError's mode attribute to "Off" (case as shown he...more >>

Big problems running on Remote server with virtual domains
Posted by moondaddy at 3/2/2004 3:42:11 PM
I'm setup with a new ISP where we were given an account which we could setup multiple domains. To do this we were given a root directory where we setup a folder for each domain. then we mapped the folders to virtual domains. Then I copied a VS 2003 project (an old front page website that was tu...more >>

table server control -- make column invisible
Posted by Susan Geller at 3/2/2004 3:35:57 PM
I have a table server control (System.Web.UI.WebControls.Table) on my form that has three columns. Sometimes I need the second column to be invisible, sometimes the third. How can I set a column to be invisible in code? There appears to not be a programmatic way to work with columns in the way...more >>

variables
Posted by mark at 3/2/2004 3:21:30 PM
how do you keep a variable "live" throo the page ? im using aspx and vb codebehind - the variables keep losing their values (eg search button gets data and i set a public variable to the searchid - so that when an update is performed accidental data cannot be entered because of the wrong searc...more >>

force reload of application from asp.net
Posted by matt at 3/2/2004 2:58:13 PM
Hi, We have an ASP.net application that sporadically fails with a strange problem regarding the Max number of pooled connections being reached for the database. I am currently in the process of tracking down the root cause of this problem, although this is proving very difficult, I am as sure...more >>

Easiest way to get page name from error routine?
Posted by Bill Borg at 3/2/2004 2:56:14 PM
Hello all When I jump to a generic error page, is there an easy way to know which page generated the error I've got a catch-all error handler in Application_Error in global.asax. From there, I want to format a query string, then pass that to ErrorPage.aspx to display the formatted error. I can...more >>

How many bytes to download / estimated time left
Posted by Michal Januszczyk at 3/2/2004 2:56:07 PM
I build some web aplication that needs to return some binary data using Response.BinaryWrite(byte[] data) All is fine, but one thing: the browser does not display "estimated time left" and the size of the binary to be returned. All is right, but the user does not know how big the file will be, nor ...more >>

IsFormDirty
Posted by Stanley at 3/2/2004 2:42:22 PM
Hello all, I have a need to make sure that no users leave a form without being warned that they have un-saved data. I have the script below that I found on egghead.com but there is an issue with it that if I have a dropdown that posts back so that I can show another field if the user chooses oth...more >>

Request.QueryString in class file
Posted by Brian K. Williams at 3/2/2004 2:40:35 PM
How can I pass the System.Web.HttpRequest to a class? I want todo something like this... public int getDivisionID(System.Web.HttpRequest oRequest) { int nDivisionID; nDivisionID = Request.QueryString.Get("divid") == null ? 0 : Convert.ToInt32(Request.QueryString.Get("divid")); retur...more >>

Need help with Gacutil.exe and regasm.exe
Posted by Id L at 3/2/2004 2:28:57 PM
hi, i want to use gacutil.exe and regasm.exe but i don't want to install "all" .net framework SDK do you know if i can install only these 2 methods? or maybe i can use them without installing SDK? * need help also if you know how to silently install SDK? thnx for your ...more >>

System.Web.UI.Page derivative...
Posted by Terry Mulvany at 3/2/2004 2:27:55 PM
I have a 'BasePage' (BasePage.cs) derived from System.Web.UI.Page that all my pages inherit from. I need to set some properties (either in the OnInit or constructor) based on a potential Request.Cookie or a name/value pair in Request.QueryString. But I am getting a 'System.NullReferenceExcepti...more >>

Nested PlaceHolders
Posted by DotNetGruven at 3/2/2004 2:07:43 PM
Hi, Is there a trick to using nested PlaceHolders? I have a WebForm that has 3 PlaceHolders on it: headerPlaceHolder contentPlaceHolder footerPlaceHolder Everything works well until I add a UserControl to the contentPlaceHolder which has 3 placeHold...more >>

WebControls.calendar and java script
Posted by supa_scoopa NO[at]SPAM hotmail.com at 3/2/2004 1:59:59 PM
I have a calendar object that is connected to a database. When the user clicks on a date that has no entry in the database I issue a java script popup message that asks the user if he wants to add an entry. I need to get the true or false from the message box back to the server but I dont know h...more >>

Transaction problems
Posted by Ed at 3/2/2004 1:50:01 PM
hi, I have an application on my intranet using asp.net/vb.net Sometimes users open more than one window of the browser, loading the same application and execute the same process on both windows. I would like to avoid this behavior, but I don´t know the best way to doing that. ...more >>

Server Application Unavailable after updates
Posted by Rob G at 3/2/2004 1:13:06 PM
Hello, I've seen bits and pieces of this problem, on the newsgroups, but I haven't been able to get it exactly how it happened to me... I've been using Visual Studio and learning ASP.NET with no problems. IIS is working and everything was just fine. Then my company did some Microsoft upda...more >>

Accessing controls from a user control. Please help...
Posted by Jim Mace at 3/2/2004 1:01:12 PM
I have an ASP.net user control (userName) that is being dynamically loaded into a panel (pnlSearch) in another user control (userSearch). My question is, how do I access the form elements in userName from userSearch. I am able to manipulate the Visible property along with the ID using the followi...more >>

Session object and coockies in asp.net
Posted by RA at 3/2/2004 12:55:03 PM
Hi Please review and let me know if I am correct: 1) My understanding from reading http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/ diforwc-ch05.asp is that asp.net uses cookies to store the user session id, but if cookies are not enabled then it will send the se...more >>

Onmouseover
Posted by Frances Valdes at 3/2/2004 12:49:38 PM
I'm a newbie. I'm trying to use asp and javascript to put text into a text box when I put a mouse over a button and a web form. On page load I have used "Button1.Attributes.Add("onmouseover", "javascript:form1.TextBox1.text='this works')" Nothing happens when I put the mouse over. I can use...more >>

Word printing
Posted by Nash at 3/2/2004 12:46:05 PM
Can anyone tell me how to print existing Word document? A client should start this print job on the server, it should be simple.. Any help or code samples or tutorial? ...more >>

Newbie Alert: Please help with repeater control and list box
Posted by info NO[at]SPAM emap.co.za at 3/2/2004 12:26:59 PM
Hi Guru's, I am new to asp.net! I can create a repeater control but would like to add a select list to it as follows: <%@ Page Language="vb" debug=true %> <%@ import Namespace="System.Data" %> <%@ import Namespace="System.Data.SqlClient" %> <script runat="server"> Sub Page_Load(s...more >>

asp.net can't debug from VS.Net: not a member of Debuger Group
Posted by feng at 3/2/2004 12:04:22 PM
Hi, I am trying to debug my asp.net project in VS.Net. What I am getting is a error message that says "Error when trying to run project: Unable to start debugger on the web server. you do not have the permissions to debug on the web server. Verify that you are a member of 'Debugger Gro...more >>

adding data
Posted by Selen at 3/2/2004 12:00:00 PM
Hello, I add my data from sqlserver to dropdownlist on formload.I wanted it doesnt load data every time on form load.I made if session is null then load if session isnt null dont load.I add to sqlserver a new data ans I make session is null.But in dropdownlist I coudnt see my new data.I use bel...more >>

Deploy web application to multiple websites on same server.
Posted by Mark_Starkman NO[at]SPAM Harte-Hanks.com at 3/2/2004 11:51:58 AM
We are in the process of developing an application that will be reused for different clients. Each client will have their own web site within IIS. The web application deployment project does not allow you to determine which website that the code will be installed to, just the virtual directory...more >>

asp:placeholder - insert html after
Posted by Brett Robichaud at 3/2/2004 11:51:43 AM
I'm trying to create a Page class that I derive all others from. This page class will look for an asp:placeholder and insert some html at that point. I can see how I can create new HTML controls in code and then add them to the placeholders Controls container. But is there any way I can use ...more >>

dropdown list box
Posted by Mike at 3/2/2004 11:42:32 AM
I have a list box that is bound to a table and displays names. I would like to have it also display and item that is not in the DB I want it to display an option for ALL, and still display the names? How can i do this in C#/ASP.NET ...more >>

DateTime multiple language validation support (C#)
Posted by bredal Jensen at 3/2/2004 11:25:07 AM
I need to validate a DateTime field regardless of the language my application is runnining in. I have a textbox field where users can enter the date like this: 02-03-2004 10:58:40 ----> meaning (March the 3rd 2004 10:58:40 AM). Any help will be great. Thanks Jensen ...more >>

HttpWorkerRequest + Tracing = timeout
Posted by Bjorn at 3/2/2004 11:17:20 AM
I've encoutered problems when using the HttpWorkerRequest to get all data sent through a file upload in asp.net. The problem was that you can use the GetPreloadedEntityBody() method to get the buffered part of the request but you can't read from the request stream after that. When you try to cal...more >>

Request.ServerVariables ("HTTP_REFERER") using https
Posted by ppatel at 3/2/2004 11:16:08 AM
I'm using Request.ServerVariables ("HTTP_REFERER") When i move from normal server eg. http:// to secure server eg https:// in VB Script then I've a problem in getting value of Request.ServerVariables ("HTTP_REFERER") variables.....more >>

javascript yes no button
Posted by mark at 3/2/2004 11:07:29 AM
i have a public boolean variable called exit - it should run like this if variable = true then (javascript msgbox with you havent saved would you like to yes/no) if no then Response.Redirect("index.aspx") cheers mark ...more >>

Session problem
Posted by Filiz at 3/2/2004 10:48:01 AM
On the NT workstation, I am setting value to session("xx"). When I set at first, it is getting my value, but then I am setting another value to session("xx") it's not getting new value and showing first value. I have tried on another client which Win XP installed on. There is not a problem on th...more >>

ASP.net
Posted by Sarmad Aljazrawi at 3/2/2004 10:33:52 AM
Is there a simple way to build asp.net application without having to use vbc.exe and add all the references and files to compile? I have a big application and there is no way to do it manually. /regards -- Sarmad Aljazrawi B.Sc. Computer Science, MSDBA, MCP www.aljazrawi.net ...more >>

File compatability between VS.NET and Web Marix
Posted by Dinesh at 3/2/2004 10:16:10 AM
Hi ***************************************************** Running a web page in webmatrix, which is developed in Visual Studio.NE ***************************************************** I have a web page, which is developed in Visual Studio.NET, It has a .aspx, .aspx.resx and .aspx.vb I want t...more >>

innerhtml manipulation
Posted by m miller at 3/2/2004 10:15:56 AM
Hi, I'm creating calendars dynamically using VB.net to write tables on-the-fly. In the calendar I, of course, display the day names in the header and the calendar dates in the ensuing cells. However, I need to also add the 'working day number' which is Mondays-Fridays, excluding holdiays. ...more >>

New process started under ASP .NET - Different behavior in IIS 6
Posted by Sorin Dolha [MCSD .NET] at 3/2/2004 10:13:22 AM
Hello, I have an ASP .NET web site (code written in C#), and in one web page's = class I wrote code to call the platform function CreateProcessWithLogonW = (by interoperating with Windows API) to start an external process and to = run it as another user. The code works great when the site i...more >>

Fire VB sub on Server from Area Click
Posted by Michael SL at 3/2/2004 10:06:08 AM
I have an area setup <map name="linkmap"><area shape=RECT coords="0,0,135,15" href='<%=LinkDestination1 %>' ><area shape=RECT coords=150,0,285,15 href="<%=LinkDestination2 %>" ><area shape=RECT coords=303,0,394,15 ??? ></map><img src='<%=FullHead %>' border=0 usemap="#linkmap" Where in VB ...more >>

sending data from one form to another automatically
Posted by mark at 3/2/2004 9:58:31 AM
i have a form with a button and textboxes - pressing the button opens a popup box via javascript i have a calendar control in the popup box i want the value of the calendar to be passed to the form behind and populate a text box in that form i currently have the popup box working fine - just no...more >>

Calling Code-Behind from within <script>?
Posted by Brett Robichaud at 3/2/2004 9:04:15 AM
I understand how code-behind can handle events for a page, but can I call a code-behind method from within a <script> tag in my ASP.Net page, or can I only call methods defined in other <script> sections? I can't seem to figure out the syntax for for calling code-behind directly. The method is ...more >>

Keep data in servercontrol between navigation
Posted by muffinmaniak NO[at]SPAM hotmail.com at 3/2/2004 9:03:05 AM
Hello, Please sorry my poor English. I have 3 aspx webforms. Each page has 2 hyperlinks objets to go on the other pages. In all the webforms, there are textbox, ddlists, button and a datagrid. I want the data in each webpage to be saved and not losed while i'm surfing between thos...more >>

Making DataGrid Items not wrap text
Posted by Dan at 3/2/2004 8:44:18 AM
What's the secret DataGrid property I need to set in order to prevent items from wrapping text? ...more >>

CustomControlValidation client side: jscript or vbscript?
Posted by eric_mamet_test NO[at]SPAM yahoo.co.uk at 3/2/2004 8:14:53 AM
I would rather use all jscript on the client side but I am trying to modify a Page which uses vbscript routines for some of the custom validation on the client side. I am not experienced in mixing both languages on the client and I have difficulty to get the Custom Control validation to fire t...more >>

Bound DataGrid.Columns.Count = 0
Posted by Dan at 3/2/2004 7:59:03 AM
I have successfully bound a DataGrid on Web Form (i.e. it shows the data properly in the browser). It looks like there are 4 columns of data, but when I retrieve DataGrid.Columns.Count in the Page_Load event (after binding), it returns 0. Why? ...more >>

Populating Drop Down Lists Based on Another DDL
Posted by Ben Arthur at 3/2/2004 7:29:05 AM
Hi All, I have 3 dropdown lists which function as filters for the data being passed into a datagrid...On Page load, the first drop downlist populates with relevant data(using sql query), n now, depending on the selection of the first drop down list, corresponding values get populated into th...more >>

Dynamically Populating Drop Down Lists
Posted by skchbs NO[at]SPAM yahoo.com at 3/2/2004 7:23:42 AM
Hi All, I have 3 dropdown lists which function as filters for the data being passed into a datagrid...On Page load, the first drop downlist populates with relevant data(using sql query), n now, depending on the selection of the first drop down list, corresponding values get populated into the s...more >>

inserting to multiple tables in one form
Posted by Tyro at 3/2/2004 6:27:51 AM
I have a form that needs to add a customer and customer history in one form. customer (custid) --->custdetail (custid) Is there anything easy in asp.net using DataAdapter, Dataset or DataTable to do this? What's the best practice for doing this kind of stuff? ...more >>

Datagrid datetime: empty datatime column shows "1/1/0001", how to avoid this?
Posted by Reza at 3/2/2004 6:21:05 AM
Hello I tried this issue a few days ago and no luck, so I am trying again. Basically I have a column in my datagrid that can be empty, null, at times. It works fine when it has actual date but if not shows 1/1/0001 instead of a nothing The only solution so far was to change the type to string, b...more >>

changing Request.InputStream
Posted by karahan celikel at 3/2/2004 5:21:43 AM
Is there a way to modify the request stream? I tried to do it using Request.Filter, but no success so far. Thanks. Karahan Celikel ...more >>

Popup with a drop down list (asp.net and vb.net)
Posted by enden_er_her NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/2/2004 5:21:14 AM
Hi, I have a datalist that I would like to populate with user chosen data from a dataset. I would like the user to press a "new" button witch would open a small dialog box with a dropDownList containing all entries from the dataset. The user would then choose one item from the dropDownList an...more >>

IDE hangs while debugging
Posted by m.outline NO[at]SPAM gmx.de at 3/2/2004 4:42:40 AM
When I debug my ASP.Net-Pages(code behind), it takes up to 1 minute to step from one step to the next, even if it is a simple statement like i++;. This was not from the very beginning like that. The mess began some days ago, but I didn't istall anything and I also didn't make any serious configu...more >>

Problem with ASPNET after uninstalling domain controler
Posted by orleif NO[at]SPAM hotmail.com at 3/2/2004 4:05:07 AM
Hi I set up my lab server (Win 2003 standard ed.) as a domain controler and installed Active Directory on it. I then realized that the ASPNET account does not run properly on a domain controler why I removed the domain controler role and uninstalled the AD. That was a misstake since all loca...more >>

Problem while reading excel file with mix datatypes
Posted by Pauravi at 3/2/2004 3:56:08 AM
Hii I am reading one excel file that has one column with numbers and text in it I am reading excel file using oledb with connection string a Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & fileName & "; Extended Properties=Excel ...more >>

datarepeater solution needed
Posted by Joe at 3/2/2004 1:34:28 AM
Hi, I'd like to build a blog system and I'm using the asp:repeater object to show my posts. I have a simple table with: id | title | body | datetime | author | category and I like to retreive data grouped by datetime (a group of messages for every day). How can I have an asp:repeater object...more >>

Ole provider connection String
Posted by neogeo at 3/2/2004 1:23:56 AM
I am trying to read a DBF from ASP.NET page, this is the code that I a using..... Dim myConn As Ne OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Dat Source=C:\capitaltest\data;Expanded Properties=dBase IV") myConn.Open() Dim myCommand As New OleDbCommand("Select * from stock", myCon...more >>

embedding a webpage
Posted by Joe Bonavita at 3/2/2004 12:50:07 AM
I need to change images with the click of a button but I don't want the entire page to refresh so I thought I should just use an embedded page. I'm trying to use the <object> tag for this but can't figure out how to change the page in the code behind. I tried a javascript like this: System.Te...more >>

Outlook Activex controls in ASP.NET
Posted by Sarma at 3/2/2004 12:16:08 AM
hi can anyone give examples/code/URLs on how to use Outlook activex controls in ASP.NET Thanks in advance Sarma...more >>


DevelopmentNow Blog