随笔分类 - .net技术
研究.NET,学习.NET
摘要:代码如下:using System;using System.Reflection;using System.Reflection.Emit ;public class TestReflection {private String file = @"TestReflection.exe";static void Main(String[] args) {TestReflection test =...
阅读全文
摘要:1. 打开新的窗口并传送参数: 传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数: string a = Request.QueryString("id"...
阅读全文
摘要:字符 说明 示例 输出 C 货币 string.Format("{0:C3}", 2) $2.000 D 十进制 string.Format("{0:D3}", 2) 002 E 科学计数法 1.20E+001 1.20E+001 G 常规 string.Format("{0:G}", 2) 2 N 用分号隔开的数字 string.Format("{0:N}", 2...
阅读全文

浙公网安备 33010602011771号