更新时间:2023-02-14 19:53:50
使用此代码是在页面加载.....
为什么系统日期应该在点击时显示,它会直接在页面加载中显示你....
如果你想点击并选择更好的使用AJAX工具包....
Use this code is in page load.....
why system date should display when click, it will show u directly in page load....
Or if u want to click and select better use AJAX tool kit....
tboxDate.Text = DateTime.Now.ToString("MM/dd/yyyy");
我希望你能得到答案.....
I hope u will get your answer.....
你可以试试这个..
You can try this..
Date : <asp:textbox id="txtDate" runat="server" clientidmode="Static" xmlns:asp="#unknown"></asp:textbox>
<script type="text/javascript">
( document )。ready( function ()
{
(document).ready(function () {