FineUI/FineUI.Examples/grid/grid_centercolumn.aspx.cs
2013-11-01 14:13:51 +08:00

42 lines
706 B
C#

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
using System.IO;
namespace FineUI.Examples.data
{
public partial class grid_centercolumn : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindGrid();
}
}
#region BindGrid
private void BindGrid()
{
DataTable table = GetDataTable();
Grid1.DataSource = table;
Grid1.DataBind();
}
#endregion
#region Event
#endregion
}
}