C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

dynamically filling textbox


Posted Date: 15 Oct 2008      Posted By: MANOJ MATHE      Member Level: Gold     Points: 1   Responses: 2



I want to fill a text box dynamically with date can anyone help m over this


<asp:TextBox ID="Rec_Date" runat="server" Text='<%# datetime.now.toshort() %>'></asp:TextBox>


Thanks,

Manoj

Regards

Manoj Mathe

"The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. Dr. APJ. Abdul Kalam"
Blogs





Responses

Author: gomathinayagam    15 Oct 2008Member Level: GoldRating: 1 out of 5     Points: 1

on page load()
{
Rec_Date.Text = datetime.now.tostring()
}

i cant understand ur query?

Gomathi Nayagam

Please Rate my answer if it has helpful to you



Author: Miss Meetu Choudhary    15 Oct 2008Member Level: DiamondRating: 1 out of 5     Points: 1

Please state your query Clearly as far as i can understand if you want to change the dater every second or so you have to use timer control for it or use settime in javascript

or

if you want to get data from the database then make it clear..

==
Thanks and Regards
Meetu Choudhary

Thanks and Regards
Miss Meetu Choudhary (Site Coordinator)
Go Green Save Green
My Profile on Google



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : hi All How To Send Mail Through ASP. Any Free SMTP Server
Previous : Regarding Textarea
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use