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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataGrid and Dataset

Status
Not open for further replies.

sexydog

Programmer
Jul 9, 2002
176
GB
HI

I have a function that requires a dataset as one of its parameters. i have a datagrid which i am populating from a datareader. my problem is that i want to populate a dataset with the contents of the datagrid...can this be done...

Thanks
DJ

The early bird always catches the worm....My advice...be a late worm
 
Hello, try this
Dim xx As DataSet
xx = CType(Me.DataGrid1.DataSource, DataTable).DataSet


i hope this help


Jimmy Le
nhan_tiags@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top