barski Posted September 1, 2003 Posted September 1, 2003 How do you get the datagrid datasource? I have a datagrid that is set to paging 20 rows at a time but I also want to allow the users to download the entire dataset. Everytime I try and get the grd.datasource it returns nothing. Dim expds as dataset = grd.datasource It works great if I try it within the same routine the sets the datasource but any other time no dice. Quote
Moderators Robby Posted September 1, 2003 Moderators Posted September 1, 2003 You can store the dataset in a Session or try this... 'not sure if this will work though. Dim expds as dataset = ctype( grd.datasource,dataset) Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.