hellow iceman
我將控件定義成如下 ,為什么還會分成10行一頁
前臺
<FarPoint:FpSpread ID="fpsWebRfqDtl" runat="server" BorderColor="Black"
BorderStyle="Solid" BorderWidth="1px" Height="200" Width="400">
<commandbar backcolor="Control" buttonfacecolor="Control"
buttonhighlightcolor="ControlLightLight" buttonshadowcolor="ControlDark">
</commandbar>
<sheets>
<FarPoint:SheetView AllowPage="false" SheetName="Sheet1">
</FarPoint:SheetView>
</sheets>
</FarPoint:FpSpread>
后臺 :
protected void Button1_Click(object sender, EventArgs e)
{
fpsWebRfqDtl.OpenExcel("F:\\NPIWebRFQ\\NPIWebRFQ\\Upload\\2012113014739328.xls", 0, 0, FarPoint.Excel.ExcelOpenFlags.DataOnly | FarPoint.Excel.ExcelOpenFlags.TruncateEmptyRowsAndColumns);
}
在沒有別的代碼 ,還要設置別的屬性嗎 |
|