Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old September 21st, 2003, 10:34 AM
wyldKard's Avatar
wyldKard wyldKard is offline
aCc-csU™
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: forgotten realms
Posts: 189 wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 6 h 40 m 3 sec
Reputation Power: 5
Send a message via Yahoo to wyldKard
Question data environment question

i'd like to display data on a data grid. it's data source is a data environment plus it has an sql statement: SELECT VideoInformation.* FROM VideoInformation WHERE (`Movie Code` LIKE '%' + ? + '%')... how can i show the output in a data grid? i'd very much appreciate all the help i can get...
__________________
Children Of The Night, aCc-csU™
[ CPU-WFA ]

Reply With Quote
  #2  
Old September 21st, 2003, 01:27 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,687 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 16 h 39 m 15 sec
Reputation Power: 688
I don't use the Data Environment, but with something like an ADO Data Control all you have to do is set the data source property of the grid to the ADODC.

Reply With Quote
  #3  
Old September 22nd, 2003, 12:45 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via MSN to cleverpig
what is type of the your data environment plus?...

Reply With Quote
  #4  
Old September 22nd, 2003, 11:34 AM
wyldKard's Avatar
wyldKard wyldKard is offline
aCc-csU™
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: forgotten realms
Posts: 189 wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 6 h 40 m 3 sec
Reputation Power: 5
Send a message via Yahoo to wyldKard
to cleverpig:

what do you mean data environment plus?

Reply With Quote
  #5  
Old September 22nd, 2003, 11:38 AM
wyldKard's Avatar
wyldKard wyldKard is offline
aCc-csU™
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: forgotten realms
Posts: 189 wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 6 h 40 m 3 sec
Reputation Power: 5
Send a message via Yahoo to wyldKard
to Doug G:

yup adodc is quite easier compared to data environment, but i'm trying DE on this one so it can show multiple outputs unlike adodc which shows the whole database...

Reply With Quote
  #6  
Old September 23rd, 2003, 10:53 AM
wyldKard's Avatar
wyldKard wyldKard is offline
aCc-csU™
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: forgotten realms
Posts: 189 wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 6 h 40 m 3 sec
Reputation Power: 5
Send a message via Yahoo to wyldKard
Talking datagrid

hrhr i finally got it... you have to define datagrid datasource = data environment and the datagrid.datamember = "sql statement"

Reply With Quote
  #7  
Old September 23rd, 2003, 11:31 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,687 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 16 h 39 m 15 sec
Reputation Power: 688
Thanks for the update!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > data environment question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway