Monday, February 14, 2011

Create filter in datatable

Dim dttemp As New DataTable
                            dttemp = dydt1.Copy
                            dttemp.DefaultView.RowFilter = "Student = '" & dydt1.Rows(i - 1)("Student").ToString & "'"
                            dttemp = dttemp.DefaultView.ToTable()

No comments :

Post a Comment