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 > february 2007 > threads for sunday february 11

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

validating date of birth
Posted by Eugene Anthony at 2/11/2007 11:01:10 PM
I tried validating my dob using the code bellow however I keep getting the message "Enter a valid dob" despite entering a valid dob. String dob = TextBox6.Text + "/" + TextBox7.Text + "/" + TextBox8.Text; try { DateTime dt = DateTime.Parse(dob); } catch (FormatException) { Lab...more >>


? tag?
Posted by Adrian at 2/11/2007 10:25:04 PM
Does anyone know the Euro tag? Pleas let me know. Adrian. ...more >>

Simple Change Label ForeColor
Posted by Phillip Vong at 2/11/2007 9:46:59 PM
Newbie learning in VB.NET Stupid question. I have Label1.Text = "Hello World" How do I change the Forecolor in code? I know how to set it using VS but I want to change the Forecolor depening on certain scenerios. Thanks! ...more >>

URLs and Paths and stuff
Posted by David at 2/11/2007 9:04:09 PM
Hi all, using ASP.NET 1.1 C# I am using URL ReWriting to rewrite the URL of the incoming page. A problem I had was of pages without .aspx extension not mapping, so no rewriting would work... So, in IIS I set up the 404 to redirect the page to a 404.aspx handler. This then calls my URL R...more >>

Server.MapPath("/") doesnt work
Posted by MichiMichi at 2/11/2007 7:28:29 PM
When using Server.MapPath on IIS 5 on my localhost everything works well. All of the following commands are executed without any error Response.Write(Server.MapPath("/app_test") & "<br>") Response.Write(Server.MapPath("app_test") & "<br>") Response.Write(Server.MapPath("~") & "<br>") Howeve...more >>

Check For Cookies
Posted by rn5a NO[at]SPAM rediffmail.com at 2/11/2007 5:24:19 PM
A ASP.NET page checks for the existence of a cookie in the Page_Load sub: Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) Dim strUserName As String Dim ckUserName As HttpCookie Dim faTicket As FormsAuthenticationTicket If (Request.Cookies("DomainCookie") IsNot Not...more >>

ObjectDataSource->Gridview Clear?
Posted by GaryDean at 2/11/2007 4:52:09 PM
I have an objectdatasource reading a dataset and I have a gridview using that objectdatasource (at design time). It binds fine but I need to clear it. myGridView.DataSource = null: myGridView.DataBind(); does not work! There is no clear method for the ODS. How do I get rid of it? -...more >>

newbie: Problems creating asp.net 2.0 Menu
Posted by Jeff at 2/11/2007 4:24:16 PM
Hey ASP.NET 2.0 On my web page I got 2 menu controls: menu A is a horizontal menu displaying menuitems at the top level. Menu B displays the submenuitems related to what is selected in menu A. Menu A and Menu B are using the same sitemap provider.. This works fine today. But now I wan...more >>



Thanks for everybody
Posted by qfbnteruidf NO[at]SPAM gmail.com at 2/11/2007 3:20:58 PM
Hi I think this is a great newsgroup. I'm posting to thank everybody who has participated in it. All users who have participated have contributed over the last years to make it a true reference about the subject. Mark D., qfbnteruidf@gmail.com ...more >>

XML Menu Control
Posted by vncntj NO[at]SPAM hotmail.com at 2/11/2007 2:22:55 PM
Hello all, I don't know if the Subject really hints at my question, but I'd like to create an XML (sitemap) ile like so. <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" enableLocalization="true" > <siteMapNode title="Menu" url=...more >>

BBCodes for .net?
Posted by Patrick F at 2/11/2007 1:54:00 PM
Hello, I want to allow my users to type in some codes, like the BBCodes. The codes i had in mind were: [bold]Message[/bold] [italic]Message[/italic] [strikethru]Message[/strikethru] Message Message Message [zitat=username]Message[/zitat] <-- here i need the username to be ...more >>

Irritating INSERT INTO Error
Posted by rn5a NO[at]SPAM rediffmail.com at 2/11/2007 1:24:31 PM
During registration, users are supposed to enter the following details: First Name, Last Name, EMail, UserName, Password, Confirm Password, Address, City, State, Country, Zip & Phone Number. I am using MS-Access 2000 database table for this app. Note that the datatype of all the fields mentioned...more >>

Quickest way to get webpage size?
Posted by john_c at 2/11/2007 1:20:54 PM
What is the most efficient way to get the size of an external webpage? Also, will this include images, JS files, etc? ...more >>

Master Pages
Posted by Steve at 2/11/2007 12:02:04 PM
Playing around with Master Pages for the first time and wanted to get thoughts on the best way to use them. Do most developers use a different Master Page for each section and then combine the Pages together on the .aspx pages? Or do they use one primary Master Page that has a table with diff...more >>

Formatting string with end of line
Posted by alfred at 2/11/2007 9:10:16 AM
Hi everyone, I have a problem. I have create a string (its name is book) and i want to insert the books with this text formatting: First book Second book third book ecc.... with the end of line at the end of the string so if i want to write into a file XML this is the style that i want to d...more >>

Work around for missing asp:img title attribute?
Posted by keith at 2/11/2007 8:44:45 AM
In an MSDN article on high quality design principles combined with standards driven code, Microsoft states: that the image title attribute should display when users roll over the image and that Non-visual browsers will read this text to people who are blind. In my attempts to implement this...more >>

using sqldatasource with few queries
Posted by ruthiefy NO[at]SPAM walla.co.il at 2/11/2007 6:54:14 AM
Hi, Is it possible to use the sqldatasource when I need a few Select Commands on the same page? I notice that I can put only one Select Command? What is the recommanded approach in my case? Thanks. Ruthie. ...more >>

"Session state can only be used when enableSessionState is set to true" Error
Posted by Paul at 2/11/2007 5:50:45 AM
Hi All, In my application, I wished to check certain things on each page load, so rather than paste the same code in each pages constructor, I thought it would be more logical to inherit from Page and place the code in there. Then each webpage will inherit from my modified page class. This w...more >>

Global connection variable
Posted by John at 2/11/2007 5:01:54 AM
Hi I would like to open a db connection and then pass the same to all my sql commands across various pages. Is there a way to implement this? Thanks Regards ...more >>

Public functions and variables
Posted by John at 2/11/2007 2:41:39 AM
Hi Is there a way to declare public functions that can be accessed in any aspx page? Can global variables be declared? Thanks Regards ...more >>

Legacy code problem
Posted by John at 2/11/2007 2:36:23 AM
Hi I am stuck with using some legacy code in my app for time constrain reasons so please accept my apologies for this. I am using the below code; rs = New ADODB.Recordset .... ALLDAYend = fmtDateTime(CDate(rs.fields("company_allday_end")), "hh:mm:ss") and I am getting a 'Value of type '...more >>

Client side access
Posted by Jon Slaughter at 2/11/2007 12:43:22 AM
How do I go about accessing some client side control? I'm trying to design a web site in asp.net(well, I want to but I'm seeing that JSP might be better. I don't like java but I do like the fact that JSP is portable and supposedly have better features than ASP). Anyways, My web site needs ...more >>


DevelopmentNow Blog