Connecting Tech Pros Worldwide Forums | Help | Site Map

reading DataSet in javascript

Newbie
 
Join Date: Jun 2009
Posts: 31
#1: Jul 2 '09
I want to read the DataSet which having mulitple DataTables from javascript so that i can use Ajax. Thanks in advance

kunal pawar's Avatar
Needs Regular Fix
 
Join Date: Oct 2007
Location: Pune, India
Posts: 297
#2: Jul 2 '09

re: reading DataSet in javascript


Can you explain why you want operate Dataset using javascript ?
Do you want ot display Dataset Information in tabular format ?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,137
#3: Jul 2 '09

re: reading DataSet in javascript


Quote:

Originally Posted by kirankumarn View Post

I want to read the DataSet which having mulitple DataTables from javascript so that i can use Ajax. Thanks in advance

JavaScript runs in the browser. DataSet's are .NET objects that run on the server. Therefore, you cannot access a DataSet in JavaScript.

You can post back to the server to query the DataSet for information using AJAX. Ajax stands for: Asynchronous JavaScript and XML. It lets you make asynchronous calls to the server to retrieve information. This means that your JavaScript can make a call to the server asking it for information from the DataSet without causing a full page post back.

-Frinny
Newbie
 
Join Date: Jun 2009
Posts: 31
#4: Jul 3 '09

re: reading DataSet in javascript


Can you pls help me out of using Dataset with Ajax(some examples related to dataset usage with Ajax)
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,137
#5: Jul 3 '09

re: reading DataSet in javascript


You need to provide us with more information about what you're trying to do so that we can help you.

A DataSet is a control that contains a bunch of DataTables. DataTables contain a bunch of fields.

What are you trying to do with the DataSet?
How are you planning on displaying this information?
What do you think JavaScript/Ajax is going to do in your soultion?

-Frinny
Reply