所以我試圖顯示我的表單上的活動列表。 Activity類的樣子: class Activity
{
public int ID { get; set; }
public int IncidentID { get; set; }
public string Description { get; set; }
public int TimeSp
刪除空行我嘗試添加動態網格 Private Sub AddToGrid()
If ViewState("table") IsNot Nothing Then
Dim dtable As DataTable = DirectCast(ViewState("table"), DataTable)
Dim drow As DataRow = Nothing