protected void Button1_Click(object sender, EventArgs e)
{
foreach (var control in form1.Controls)
{
if (control is FarPoint.Web.Spread.FpSpread)
{
var spread = control as FarPoint.Web.Spread.FpSpread;
var data = spread.ActiveSheetView.Cells[0, 0].Value;
}
}
}
此处判断control的控件是spread的时候在asp.net 中 该如何写? |