G
Guest
Hi,
I have a Dataset named dsCMDetail, there is only one data table in the
dataset, the following code snippet does not compile:
Dim dtCMDetail as datatable
dtCMDetail = dsCMDetail.table(0)
lblCreateDate.Text = dtCMDetail("CreateDate").ToString() 'error on this line
during compilation
Error messge: Class 'System.Data.Datatable' cannot be indexed because it has
no default property
What should I do?
Thanks in Advance
I have a Dataset named dsCMDetail, there is only one data table in the
dataset, the following code snippet does not compile:
Dim dtCMDetail as datatable
dtCMDetail = dsCMDetail.table(0)
lblCreateDate.Text = dtCMDetail("CreateDate").ToString() 'error on this line
during compilation
Error messge: Class 'System.Data.Datatable' cannot be indexed because it has
no default property
What should I do?
Thanks in Advance