Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27355

VS 2010 How to delete a row in a DataTable where Column "Date_ID" = 29

$
0
0
Good afternoon,

I am having an issue and i'm sure someone here will be kind enough to help.

I have a DataTable called dtHolidays that has the following table:

HOLIDAY_ID, HOLIDAY_DATE, HOLIDAY_NAME

24 25/12/2013 Christmas
65 01/01/2013 New Years


Let's say I want to delete the ROW where Holiday_ID = 65...

How can I do this ?

I have no problem deleting a row using the row index.. but in this case how can I delete the row based on the Holiday_ID ?

Thanks so much!!

Viewing all articles
Browse latest Browse all 27355

Trending Articles