摘要:
format(cdate(x),"yyyy-m-d") cdate是转换的函数 function FormatDateTime(const Format: string; DateTime: TDateTime): string; overload; 当然和Format一样还有一种,但这里只介绍常用的第一种 Format参数是一个格式化字符串。DateTime是时间类型。返回值是一种格式化后的 字... 阅读全文
摘要:
c#利用Javascript跳转页面的方法2008-09-11 18:221.在原来的窗体中直接跳转用window.location.href="你所要跳转的页面";2、在新窗体中打开页面用:window.open('你所要跳转的页面');3、一些用法按钮式:<INPUT name="pclog" type="button" value="/GO" onClick="location.hre... 阅读全文