Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid doesn't work
Message
From
13/06/2001 00:45:17
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Grid doesn't work
Miscellaneous
Thread ID:
00518721
Message ID:
00518721
Views:
41
Hi
I am trying to create a Grid for displaying the recorset but I am getting an error.(Runtime exception)at Grid.Rows
I am sending the code please tell where I have gone wrong


set con=s e r v e r.CreateObject("ADODB.Connection")
set rs=s e r v e r.CreateObject("ADODB.Recordset")
con.Open cnstr
msql="Select * from Customer_Mst"
rs.Open msql,con
SET Grid=S E R V E R.CreateObject("MSHierarchicalFlexGridLib.MSHFlexGrid.6")
Grid.Rows=5
Grid.Cols=5
while not rs.EOF
Grid.TextMatrix(0,0)=rs.Fields("Cust_Code")
rs.MoveNext
wend
Next
Reply
Map
View

Click here to load this message in the networking platform