G
Gopalan
Hi
I have got a Datagrid populated with a Dataset.
The first time the datagrid shows the first page data.
When I clicked the Next link to display the next page data it displays the
same data again.
I tested whether the event handling function is being called or not, it
seems it is not called when I click the Next button.
private void dgWebStatistics_PageIndexChanged(object sender,
DataGridPageChangedEventArgs e)
{
try
{
dgWebStatistics.SelectedIndex=-1;
dgWebStatistics.CurrentPageIndex = e.NewPageIndex;
}
catch(Exception Ex)
{
}
finally
{
}
}
Please help me in finding out the error in this.
Thanks
BG
I have got a Datagrid populated with a Dataset.
The first time the datagrid shows the first page data.
When I clicked the Next link to display the next page data it displays the
same data again.
I tested whether the event handling function is being called or not, it
seems it is not called when I click the Next button.
private void dgWebStatistics_PageIndexChanged(object sender,
DataGridPageChangedEventArgs e)
{
try
{
dgWebStatistics.SelectedIndex=-1;
dgWebStatistics.CurrentPageIndex = e.NewPageIndex;
}
catch(Exception Ex)
{
}
finally
{
}
}
Please help me in finding out the error in this.
Thanks
BG