Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

grid, recordset design-time controls

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi,

I´m trying to use grid design-time control... but I´m getting some problems.

First: For be able to use this grid, does I need to have a recordset design time control? Can´t I, at design time, create a recordset and associate it with the grid?

Second: Even if I use the recordset object... Can I define the datasource (or connection string) of it in design time, and not in the propeties propety page? Because using this window I need to associate it with a connection object... which forces me to use a DSN.(it´s the only type of connection we can choose from) So I´m not be able to use OLEDB directly to the data source...

Third: I used the grid pointing to the recordset (that point to a connection object) so I was able to choose the fields I want. However, when tying to run the page (default.asp) where I have the object I get this:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I doesn´t get it, because when I defined the ODBC I get connection successfuly and, on the other hand, I have OLEDB correctly installed...

Any ideias? :)

Thank you!

Sérgio Oliveira


 
In ASP for the first time I am hearing
grid design-time control

What is that and please give me some online demo where it is used/.

Regards Rushi Shroff Rushi@emqube.com
"Life is beautiful."
 
Hi,

I had solved my problem. The problem was that my data environment was inventing a connection string :)

It´s a control that generates an html table... but you can forget it. It´s better for us to make the table by hand... I´m only viewing it´s potencial...

Sérgio Oliveira
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top