using vb.net/asp.net 2008
question: i found this c# code snippet and wondering how do you do this in vb.net?
DataTable dataTable = gridview.DataSource as DataTable;
thanks
MC
Dim dataTable As DataTable = TryCast(gridview.DataSource, DataTable)
http://www.developerfusion.com/tools/convert/csharp-to-vb/