Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid doesn't work
Message
De
13/06/2001 00:45:17
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Grid doesn't work
Divers
Thread ID:
00518721
Message ID:
00518721
Vues:
42
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform