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

Top 5 Contributors of the Month

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

what is the difference between selectedIndex and editindex?

Posted By: Ramesh     Posted Date: May 01, 2010    Points:2   Category :ASP.Net

I would like to know what is the difference between SelectedIndex and EditIndex in asp.net?

Author: Syed Shakeer Hussain             
Posted Date: May 02, 2010     Points: 5   

EditIndex property is used in gridview control.SelectedIndex property is used with Dropdown list,listBox control.

Author: Lalij Mer             
Posted Date: May 03, 2010     Points: 5   

Selected index
will comes in picture when you select any record in the gridview using select link/select command and it cause selectedindexchanged event.

will comes in when you edit any record using gridview edit link/command. it's cause rowcommand/rowupdating event.

Please Check my answer if you help....
Thank You...


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

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