Skip to main content
added 7 characters in body
Source Link
Manish Mishra
  • 12.4k
  • 5
  • 40
  • 65

I have a DataTable in PageLoad, I need to pass to it to a JQuery file to generate the BingMap contents

 protected override void OnLoad(EventArgs e)
 {
    DataTable dt = dtLocations;
 }

{ DataTable dt = dtLocations; }`

my JQuery file is Included in ASCX.ascx page

<script type="text/javascript" src="/script/BingMap/BingMapJS.js" ></script>

Need to send this "dt" to JQuery file

I have a DataTable in PageLoad, I need to pass to it to a JQuery file to generate the BingMap contents

 protected override void OnLoad(EventArgs e)

{ DataTable dt = dtLocations; }`

my JQuery file is Included in ASCX page

<script type="text/javascript" src="/script/BingMap/BingMapJS.js" ></script>

Need to send this "dt" to JQuery file

I have a DataTable in PageLoad, I need to pass to it to a JQuery file to generate the BingMap contents

 protected override void OnLoad(EventArgs e)
 {
    DataTable dt = dtLocations;
 }

my JQuery file is Included in .ascx page

<script type="text/javascript" src="/script/BingMap/BingMapJS.js" ></script>

Need to send this "dt" to JQuery file

Source Link

How to Pass System.Data.DataTable to JQuery file

I have a DataTable in PageLoad, I need to pass to it to a JQuery file to generate the BingMap contents

 protected override void OnLoad(EventArgs e)

{ DataTable dt = dtLocations; }`

my JQuery file is Included in ASCX page

<script type="text/javascript" src="/script/BingMap/BingMapJS.js" ></script>

Need to send this "dt" to JQuery file