anithajones
Newcomer
- Joined
- Dec 6, 2005
- Messages
- 1
I get "Option Strict disallows late binding" error on the lines shown. What am I doing wrong?
Dim dr As DataRow
dr = ddlDC.DataSource.Tables(0).NewRow
dr.Item(0) = "ALL"
dr.Item(1) = "ALL"
ddlDC.DataSource.Tables(0).Rows.InsertAt(dr, 0)
Dim dr As DataRow
dr = ddlDC.DataSource.Tables(0).NewRow
dr.Item(0) = "ALL"
dr.Item(1) = "ALL"
ddlDC.DataSource.Tables(0).Rows.InsertAt(dr, 0)