.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Gridview with Formview

Posted By: priya     Posted Date: August 05, 2010    Points:2   Category :ASP.Net
I have connected my Gridview with Formview, but I dont understand why it is not working when I am going in next page in gridview. It is working fine while I am on first page. I have used:
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
FormView1.PageIndex = this.GridView1.SelectedIndex;
}

So Please help... whatelse I can do in this?

Thanks
Priya

Responses
Author: Raji sivadas             
Posted Date: August 13, 2010     Points: 5   

hi
try this .
you can write the gridview bind function once again in this GridView1_SelectedIndexChanged event after giving this new page Index.



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend