最近项目用到ini文件,读取ini文件,方法如下:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
using System.IO;
using Syst ...……
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI.HtmlControls;
using System.Web.UI;
using System.Text.RegularExpressions;
na……
46.请编程遍历页面上所有TextBox控件并给它赋值为string.Empty?
foreach (Control control in this.Controls)
{
if (control is TextBox)
{
TextBox tb = (TextBox)control ;
tb.Text ...……