Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Retrieving Data

Author  Topic 

decapolo
Starting Member

15 Posts

Posted - 2006-03-02 : 02:35:09
Hi ...

I m new to application development ... have been trying to retrieve data from the SQL Server ... i have established the OleDbConnection ... and am trying to execute a query to retrieve info from a table containing 3 field ... an integer id, a varchar name and a varchar address. I need to print all the records using a table at my front-end. i m storing the result set in an OleDbDataReader Object [Vb.Net].

Now how can i print it on screen ... i have been trying to use DataGrid for this purpose:
DataGridObject.DataSource() = OleDbDataReaderObject

Nothing is printed on the screen. Please explain.

regardz,
sAm

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-03-02 : 05:34:26
you need to also call databind() of the datagrid.

Go with the flow & have fun! Else fight the flow
Go to Top of Page
   

- Advertisement -