FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : MoveColumn(Int32,Int32,Int32) Method |
'Declaration Public Sub MoveColumn( _ ByVal column As Integer, _ ByVal count As Integer, _ ByVal toColumn As Integer _ )
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) return; FpSpread1.Sheets[0].Cells[0, 0].Text = "testing"; } protected void Button1_Click(object sender, EventArgs e) { FpSpread1.Sheets[0].MoveColumn(0, 1, 2); }
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If (IsPostBack) Then Return End If FpSpread1.Sheets(0).Cells(0, 0).Text = "testing" End Sub Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click FpSpread1.Sheets(0).MoveColumn(0, 1, 2) End Sub
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6