Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2005, 03:07 AM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default grid controls

Ok, I have a data environment set up with my tables and such. I can attach any table to a grid and that works fine.

Now I have a DataGrid that I want to attach to a dynamic record set. Meaning my recordset can be any SQL the user types in (assuming it is functioning SQL).

The form has a text box for the user type SQL and a button and a datagrid. When the user clicks the button, I need to make the datagrid show the output created using the specified SQL. Sound simple? It would be if I could figure the flexgrid out!

I want to use the same connection string as being used in the already open data environment. Even the same connection if posible. Help please?

I don't have any data controls on my form.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid view roopeshmkatlive.in ASP.NET 1.0 and 1.1 Professional 1 August 1st, 2008 01:03 PM
Grid priya_anthony Beginning VB 6 1 August 17th, 2007 05:04 PM
User controls' content: Chapter 2 User Controls AGS BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 10 July 26th, 2007 05:36 AM
Data Grid tsimsha Classic ASP Databases 3 October 5th, 2004 07:26 AM
grid michaelw C# 2 September 9th, 2003 02:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.