3
Answers

WPF Concept

Kiran Kumar Talikoti

Kiran Kumar Talikoti

11y
1.1k
1
Hi,

I have class called Item which has Id ,Name property and Creating Item table in DB.

after adding some data i will retrieve data in data grid
Suppose  a table looks like this in DataGrid .


Id  Name
1 pen
2 pencil
3 eraser
4 book
5 sharpener


If i delete Id having 3.Then after deleting Id should be in ascending Order.Like this and it should reflect in Datagrid after Deleting


Id Name
1 pen
2 pencil
3 book
4 sharpener



Kindly help!!

Answers (3)