Dinesh Santhalingam

Dinesh Santhalingam

  • NA
  • 737
  • 368.4k

Show Auto generated Serial No in Data Grid Column in WPF

Aug 31 2017 1:35 AM
I have my data grid view in WPF.I bound  all the data from my datatable to my datagrid view.But now i want the Serial No column to my data grid view .
  1. "S.No" IsReadOnly="True" Width="40" />    
By this code i insert the column in my datagrid view.I need to auto generate the serial No. please help me to solve this problem.Any help will be appreciated. 

Answers (2)