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

Top 5 Contributors of the Month

Home >> Forum >> WPF >> Post New QuestionBookmark and Share Subscribe to Forum

how to delete Extra row in wpf datagridview...

Posted By: Jayakumar     Posted Date: April 05, 2010    Points:2   Category :WPF

i using wpf datagrid with win app,c#

using list i m binding by datagrid..but getting extra one row.. how to overcome it..

suggest me ..

dgrid.items.clear() is not working...


Author: Pankaj Mishra             
Posted Date: April 05, 2010     Points: 5   


You can remove from the list itself. But that's not the good way. check how many rows are there in the list. Are you getting there only?

Author: Asim Sajjad             
Posted Date: September 11, 2010     Points: 5   

Set the IsReadOnly property to true so and it will remove the extra row, by setting the IsReadOnly true this mean data in the data grid will be displayed for read only and that will remove the extra row

Asim Sajjad

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