Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2007, 09:54 PM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jason_lai
Default how to define the default value with text control?

how to define the default value of now time with control?

the code is here and it is wrong and i don't know how to do,please help me,thanks!

<asp:TextBox ID="user_date" runat="server" Text ='<%# Eval(now()) %>' ReadOnly="true" ></asp:TextBox>






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to select text by default in a text box? clickajin Java GUI 0 August 3rd, 2006 03:10 AM
How to custom-define the default background colour ms_priya Java GUI 1 January 10th, 2006 05:28 PM
how to set default value to datetimepicker control xshelp General .NET 1 December 8th, 2005 10:09 PM
Set Default text in a textbox to whats in the prev marcin2k Access VBA 1 September 19th, 2005 08:55 AM
How to insert default value if text box is empty akc Javascript How-To 2 November 7th, 2003 11:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.