Hi,
i wrote the coding for Paging for DataGridView Control in Windows C# Application.it shows the following error.
Error:1 The type 'marsweb.imageimpacts.UpdateCustomerInvoice' already contains a definition
public partial class UpdateCustomerInvoice : Form
{
private DataTable dtSource = new DataTable();
static int currentPageIndex = 0;
private int pageSize = 5;
public int pageSize// error comes here
{
set
{
this.pageSize = value;
}
get
{
return this.pageSize;
}
}
The type 'marsweb.imageimpacts.UpdateCustomerInvoice' already contains a definition for 'pageSize'
Best,
Sudheep.