usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Web.UI.HtmlControls;usingSystem.Text.RegularExpressions;
Regexreg=newRegex("[0-9]{14}",RegexOptions.IgnoreCase);MatchCollectioncollection=reg.Matches(TextBox1.Text);for(inti=0;i
if(RadioButtonList1.SelectedValue=="red")strWhere="z0="+a+"orz1="+a+"orz2="+a+"orz3="+a+"orz4="+a+"orz5="+a;elsestrWhere="z6="+a;
DataTabledst=(DataTable)ViewState["dt"];
GridView1.DataSource=newDataView(dst,strWhere,"",DataViewRowState.CurrentRows);GridView1.DataBind();
stringnumber=newDataView(dst,strWhere,"",DataViewRowState.CurrentRows).ToTable().Rows.Count.ToString();
Response.Write("");
}else{Response.Write("");}}}