How to connect to a vb.net dataset?

Hey Guys & Gals,

How could i connect the scheduler to a dataset. I’ve been trying for hours to connect the dhtmlScheduler to my dataset (its data is loaded from SQLServer2008), but no luck so far. I just want the scheduler to view events saved in this dataset.
I’m using VB.NET.

Thanks for your time and help.

Check
support.dhtmlx.com/x-files/sampl … _0.3.9.zip

Beware that version of js files included in package can be updated ( but existing asp code will work with latest scheduler in the same manner )

Thanks for the reply, but no dataset examples are included in the package!
I just want to know how could i load the data (events) from my dataset (.xsd) to the scheduler’s month view. I even want it a ready-only view meaning that no other functions than querying needed.
I managed to make it read-only, I don’t know what js code to write in the .aspx page and what vb.net code to write in the behind-code page?!?!

PLEASE HELP !!!

How to use the dhtmlxSchedulerConnector to query data from the dataset, or simply from the MSSQL.

PLEASE I need some codes … i’m totally confused :question:

I really appreciate and thank you for the package but it seems to be ASP coded, and I need ASP.NET codes (VB.NET)

Sorry, I have missed .Net part

There is another one

dhtmlx.com/docs/download/dhtmlxConnector_net.zip

Sorry to bother you … but i’ve already downloaded the package and didn’t find what i wanted, besides it’s also C#.Net coded.
So … i’m trying a different approach, and i want to use XML. But, yet, another problem :frowning: , the samples are PHP coded and there are no XML samples in ASP.NET package.
Please i would appreciate a little more help on this.

the following is php:

<?php file_put_contents("./data.xml",$_POST["data"]); header("Location:./php/dummy.html"); ?>

how to write it in .net?
i made some searching and i think that the function streamwriter is used … but what should i use instead $_POST[“data”] ???

Thanks again for your time and help. Total gratitude.

Unfortunately that is all what we have :frowning:
Not pretty sure but I think that C#.Net classes can be used from ASP.Net as well - just different syntax, but all the same functionality.

Hey,

I know it’s been a while since the last person asked this, but I’d like to know if it’s possible to bind the Scheduler to a .Net dataset or datatable. The documentation only shows how to bind to xml or directly to a db. Also, if it’s possible to bind to a datatable or dataset, is there any built-in method to update the dataset or datatable?

Thanks.

Also, for some reason the .chm help files do not display any content for me so I apologize if there are any detailed examples in there.

As for .Net - you can’t bid directly to dataset, but can use server side script to output dataset as xml or json

dhtmlx.com/blog/?p=639

As for CHM file - check properties of CHM files, latest Window blocks chm file which are downloaded from internet, and requires manual enabling them ( can be done through file’s properties panel )