Problem
It is a typo mistake.
Solution
That is
DataSource
, not
DataSoure
.
In your code
"c" is missing.
So. code will be like...
protected void Gridview1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
GridView1.DataSource = GetSource();
GridView1.DataBind();
}
Also make sure that you have
GetSource()
function.