protected System.Web.UI.WebControls.DataGrid DataGrid1;
private string[] testStr = new string[3]; private void Page_Load(object sender, System.EventArgs e)
{
this.testStr[0]="test1";
this.testStr[1]="test2";
this.testStr[2]="test3";
this.DataGrid1.DataSource = this.testStr;
this.DataGrid1.DataBind();
}
private string[] testStr = new string[3]; private void Page_Load(object sender, System.EventArgs e)
{
this.testStr[0]="test1";
this.testStr[1]="test2";
this.testStr[2]="test3";
this.DataGrid1.DataSource = this.testStr;
this.DataGrid1.DataBind();
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货