|
-
Aug 21st, 2001, 03:16 AM
#1
Thread Starter
Lively Member
databasegrid
Hello folks
Where can I find a database Grid?
Which reference or component do i have to include?
-
Aug 21st, 2001, 03:28 AM
#2
Frenzied Member
In PROJECT/COMPONENTS;
Microsoft DataGrid Control 6.0 (MSDATGRD.OCX)
Microsoft FlexGrid Control 6.0 (MSFLXGRD.OCX)
Or don't use the (rubbish) Microsoft grids and get TrueDBGrid from www.componentone.com
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
-
Aug 21st, 2001, 03:30 AM
#3
Thread Starter
Lively Member
is there no place where i can find grids for free?
-
Aug 21st, 2001, 03:35 AM
#4
Frenzied Member
Well the datagrid and flexgrid shipped with VB are free, but as they say 'you get what you pay for'. Yes, they'll probably do what you want to start off with, but when you get into more complicated programs you'll soon find out how rubbish they are. You can go to www.componentsource.com and search for grid controls there - some may be cheaper than the *FANTASTIC* TrueDBGrid, but you'll be hard pressed to find one with more features than it.
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
-
Aug 21st, 2001, 03:36 AM
#5
Thread Starter
Lively Member
but i don't want a datagrid
is there nothing like a databasegrid
-
Aug 21st, 2001, 03:52 AM
#6
PowerPoster
What are you trying to do???
-
Aug 21st, 2001, 04:00 AM
#7
Thread Starter
Lively Member
I'm trying to put an sql into a grid
but the sql is a combination of 2 tables....
And there must be a method in the grid to update, delete and modify records
-
Aug 21st, 2001, 04:32 AM
#8
PowerPoster
What do you mean an sql??
Do you mean:
1) Display the data in a grid from a sql database. Add and make changes etc.
Or
2) Display the sql database! SHowing the 2 tables and there structure!
If it's number 1 i have told you what you need to do and dbgrid is perfect for this!
It can update, delete and modify records!
-
Aug 21st, 2001, 04:32 AM
#9
PowerPoster
I'm going now. PM me if you need more advice/help!
-
Aug 21st, 2001, 04:36 AM
#10
Thread Starter
Lively Member
displaying data form 2 tables in a grid
-
Aug 21st, 2001, 09:52 PM
#11
PowerPoster
Do you know how to connect to the db in visual basic?
I.e dao and ado?
If not you'll need to read the tutorials to get a grip of it!
DBgrid or flexigrid will do you fine!
You have to connect visual basic project to the db. You cant just set the datasource of the grid to the sql database.
To do this you use ado or dao or the data controls!
Then you'll need to set up some recordsets and use SQL statements to get the data you want!
Set the datasource of the grid to your datacontrol or connection string.
good luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|