p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: How to use the MSHflexgrid control


Message #1 by "John King" <johnking@o...> on Sun, 4 Aug 2002 02:04:27
Hi:

I'm experimenting with the MSHFlexGrid control but not getting too far 
with it.

I've created an ADO recordset object and have opened it. I can list the 
contents of the recordset just fine using Response.Write.

So, my question is, how do I assign the recordset object to the 
MSHFlexGrid Recordset Property? I can't figure out how to do that.

My recordset object is called objRS. The ID of the MSHFlexGrid object is 
MSHFlexGrid1. 

So, I try to assign

Set MSHFlexGrid1.Recordset = objRS

But the complaint arises that 

Variable is undefined: 'MSHFlexGrid1'

How do I set a reference to the object so that I can access the properties 
and methods?

this seems like such a basic question to ask, but I just can't figure it 
out.

Thanks for your time.

JK

  Return to Index