I created a new Visual Web Part in VS 2010 (using Sharepoint Server 2010), then dropped a GridView on the User Control. However when setting up the DataSource for the GridView, I only get XMLDataSource as an option. There is no option to create a SQLDataSource for instance.
does anyone know how to get over this limitation in Visual Studio 2010?
Thanks