Hi everyone:

The following code creates a data view on a typed dataset.

DataView view = new DataView(_months);
view.RowFilter = "MonthID=MIN(MonthID)";
return (short)view[0]["MonthId"];

Is there anyway I can create a typed DataView?

I would like to be able to use the syntax:

return ((MonthDataSet.MonthDataRow)view[0]).MonthId;

but of course I can't because view[0] gives me a DataRowView object, not a
DataRow object.

thanks, Greg

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to