Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: DBGrid


Message #1 by Mitchell Spruill <MSpruill@M...> on Mon, 18 Dec 2000 14:08:33 -0500
This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C06967.9CF7B000
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit


    Dim ArrayTest(5, 5)
    Dim Row As Long
    Dim Col As Long
    
    
    ' Create Test Array
    For Row = 0 To UBound(ArrayTest, 1) - 1
        For Col = 0 To UBound(ArrayTest, 2) - 1
            ArrayTest(Row, Col) = "Row: " & Row & " Col: " & Col
        Next
    Next
    
    MSHFlexGrid1.Rows = UBound(ArrayTest, 1)
    MSHFlexGrid1.Cols = UBound(ArrayTest, 2)
    
    ' Populate the grid
    For Row = 0 To UBound(ArrayTest, 1) - 1
        For Col = 0 To UBound(ArrayTest, 2) - 1
            MSHFlexGrid1.TextMatrix(Row, Col) = ArrayTest(Row, Col)
            MSHFlexGrid1.ColWidth(Col) = 1500
        Next
    Next






Thank You
Donald C. Burr
dburr@s... <mailto:dburr@s...> 



-----Original Message-----
From: Mitchell Spruill [mailto:MSpruill@M...]
Sent: Monday, December 18, 2000 11:09 AM
To: professional vb
Subject: [pro_vb] DBGrid


Can someone show me how to populate a DBGrid from an Array. I have an
dow(7,24) array that I need to display in a unbound grid.

Thanks in advance...

Mitch Spruill

To unsubscribe send a blank email to leave-pro_vb-$subst('Recip.MemberIDChar')@p2p.wrox.com


------=_NextPart_000_001C_01C06967.9CF7B000
Content-Type: text/x-vcard;
	name="Donald C Burr.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Donald C Burr.vcf"

BEGIN:VCARD
VERSION:2.1
N:Burr;Donald;C
FN:Donald C Burr
ORG:Nationwide Auction Systems
TITLE:CIO
TEL;WORK;VOICE:(626) 968-3110 ex248
TEL;CELL;VOICE:(805) 501-5657
TEL;WORK;FAX:(626) 968-7703
ADR;WORK:;;13005 Temple Ave;City of Industry;CA;91746;United States of 
America
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:13005 Temple Ave=3D0D=3D0ACity of 
Industry, CA 91746=3D0D=3D0AUnited States of Ameri=3D
ca
ADR;HOME:;;USPO Box 809;Simi Valley;CA;93062-0809;United States of 
America
LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:USPO Box 809=3D0D=3D0ASimi 
Valley, CA 93062-0809=3D0D=3D0AUnited States of America
EMAIL;PREF;INTERNET:dburr@s...
REV:20001114T005403Z
END:VCARD



------=_NextPart_000_001C_01C06967.9CF7B000
Content-Type: text/plain; charset="us-ascii"
Content-description: footer

---
You are currently subscribed to pro_vb as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-pro_vb-$subst('Recip.MemberIDChar')@p2p.wrox.com


------=_NextPart_000_001C_01C06967.9CF7B000--

  Return to Index