T
typingcat
It was very easy to display the data of an 'AccessDataSource' using
GridView. But is it possible to display it with Label? I found that
there's no DataSourceID attribute for Label, so I think it might be
like,
label.Text=accessDataSource.Select(...);
Am I right? But I don't know how to use this Select(). I looked up MSDN
library but there was no example. The sql query string I set for the
accessDataSource should return a scalar value, but Select() returns
IEnumerable. How can I get the interger value from the IEnumerable?
Please show me simple example for this job. Thanks.
GridView. But is it possible to display it with Label? I found that
there's no DataSourceID attribute for Label, so I think it might be
like,
label.Text=accessDataSource.Select(...);
Am I right? But I don't know how to use this Select(). I looked up MSDN
library but there was no example. The sql query string I set for the
accessDataSource should return a scalar value, but Select() returns
IEnumerable. How can I get the interger value from the IEnumerable?
Please show me simple example for this job. Thanks.