Connecting Tech Pros Worldwide Help | Site Map

reading DataSet in javascript

  #1  
Old July 2nd, 2009, 06:01 AM
Newbie
 
Join Date: Jun 2009
Posts: 29
I want to read the DataSet which having mulitple DataTables from javascript so that i can use Ajax. Thanks in advance
  #2  
Old July 2nd, 2009, 08:52 AM
kunal pawar's Avatar
Needs Regular Fix
 
Join Date: Oct 2007
Location: Pune, India
Posts: 297

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 ?
  #3  
Old July 2nd, 2009, 02:30 PM
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North :)
Posts: 4,940
Provided Answers: 8

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
  #4  
Old July 3rd, 2009, 03:39 PM
Newbie
 
Join Date: Jun 2009
Posts: 29

re: reading DataSet in javascript


Can you pls help me out of using Dataset with Ajax(some examples related to dataset usage with Ajax)
  #5  
Old July 3rd, 2009, 03:46 PM
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North :)
Posts: 4,940
Provided Answers: 8

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading a data file in JavaScript HardySpicer answers 10 January 7th, 2008 01:15 PM
dataset to RTF format in browser and then javascript print Richard answers 3 November 18th, 2005 04:07 PM
Problem maintaining dataset in session variable John Holmes answers 2 November 18th, 2005 02:17 AM
Reading Xml in DataSet binvij answers 2 November 12th, 2005 04:32 AM