本文整理汇总了C#中DataGridPageChangedEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# DataGridPageChangedEventArgs类的具体用法?C# DataGridPageChangedEventArgs怎么用?C# DataGridPageChangedEventArgs使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DataGridPageChangedEventArgs类属于命名空间,在下文中一共展示了DataGridPageChangedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: dgProducts_PageChange
public void dgProducts_PageChange(Object sender, DataGridPageChangedEventArgs e)
{
// Set CurrentPageIndex to the page the user clicked.
dgProducts.CurrentPageIndex = e.NewPageIndex;
FillProductGrid();
}
示例2: dgv_total_PageIndexChanged
protected void dgv_total_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
DataTable dt = (DataTable)ViewState["dt_Data"];
dgv_total.CurrentPageIndex = e.NewPageIndex;
dgv_total.DataSource = dt;
dgv_total.DataBind();
}
示例3: dgCategories_PageChange
public void dgCategories_PageChange(Object sender, DataGridPageChangedEventArgs e)
{
// Set CurrentPageIndex to the page the user clicked.
dgCategories.CurrentPageIndex = e.NewPageIndex;
FillCategoryGrid();
}
示例4: PageResultGrid
public void PageResultGrid(object sender, DataGridPageChangedEventArgs e)
{
DataSet dsGridResults;
grdRpResults.CurrentPageIndex = e.NewPageIndex;
dsGridResults = dsGridResults = this.Summary_Queue();
PopulateDataGrid(dsGridResults);
}
示例5: PageResultGrid1
public void PageResultGrid1(object sender, DataGridPageChangedEventArgs e)
{
DataSet dsGridResults;
grdsubmitted.CurrentPageIndex = e.NewPageIndex;
dsGridResults = dsGridResults = this.Summary_Queue("3");
PopulateDataGrid(dsGridResults,grdsubmitted);
}
示例6: DataGrid1_PageIndexChanged
protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
string sql;
sql = "select * from zuoyeshangjiao where shangjiaoren ='" + Session["username"].ToString().Trim() + "' order by id desc";
getdata(sql);
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
}
示例7: PageResultGrid1
public void PageResultGrid1(object sender, DataGridPageChangedEventArgs e)
{
DataSet dsGridResults;
grdRpResults.CurrentPageIndex = e.NewPageIndex;
Whitfieldcore wUser = new Whitfieldcore();
dsGridResults = wUser.GetAllSubMaterials(ddlMatType.SelectedItem.Value, "Grid");
this.PopulateDataGrid(dsGridResults);
}
示例8: PageResultGridNotes
public void PageResultGridNotes(object sender, DataGridPageChangedEventArgs e)
{
Whitfieldcore wc = new Whitfieldcore();
DataSet dsGridResults;
grdSchedule.CurrentPageIndex = e.NewPageIndex;
dsGridResults = wc.GetCummululativeProjectSchedule();
this.PopulateDataGrid(dsGridResults, grdSchedule);
}
示例9: gv1_PageIndexChanged
protected void gv1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
SetData();
gv1.DataSource = finalCollection;
gv1.CurrentPageIndex = e.NewPageIndex;
gv1.DataBind();
SetIndexingLabel(true, e.NewPageIndex);
}
示例10: DataGrid1_PageIndexChanged
protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
string sql;
sql = "select * from jiaoshikaike order by id desc";
getdata(sql);
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
}
示例11: DataGrid1_PageIndexChanged
protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
string sql;
sql = "select * from allgonggao where leibie='" + lbtxt + "' order by id desc";
getdata(sql);
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
}
示例12: PageResultGridNotes
public void PageResultGridNotes(object sender, DataGridPageChangedEventArgs e)
{
Whitfieldcore wc = new Whitfieldcore();
DataSet dsGridResults;
grdSchedule.CurrentPageIndex = e.NewPageIndex;
dsGridResults = wc.GetCummululativeProjectSchedule();
this.PopulateDataGrid(dsGridResults, grdSchedule,ddlYear.SelectedItem.Value, ddlMonth.SelectedItem.Value + "(" + ddlYear.SelectedItem.Value + ")");
}
示例13: DataGrid1_PageIndexChanged
protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
string sql;
sql = "select * from zuoyefabu where faburen in (select kaikejiaoshi from xuankejilu where xuankeren='" + Session["username"].ToString().Trim() + "') order by id desc";
getdata(sql);
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
}
示例14: dgCustomers_PageChange
public void dgCustomers_PageChange(Object sender, DataGridPageChangedEventArgs e)
{
// Set CurrentPageIndex to the page the user clicked.
dgCustomers.CurrentPageIndex = e.NewPageIndex;
// Rebind the data.
FillCustomerGrid();
//dgCustomers.DataBind();
}
示例15: AddedCategories_PageIndexChanged
protected void AddedCategories_PageIndexChanged(object sender, DataGridPageChangedEventArgs e)
{
if (sender != null)
{
AddedCategoriesTable.CurrentPageIndex = e.NewPageIndex;
AddedCategoriesTable.DataSource = Session["categories"];
AddedCategoriesTable.DataBind();
}
}