vendredi 14 novembre 2014

How to bind asp data table into string array in asp.net c#?


Vote count:

0




I have a java script, i want to bind data table in variable available ?



<script>
$(function () {
*var available* = [

];
$("#tags").autocomplete({
source: availableTags
});
});
</script>



I have a data table which is as follows:-



ds = du.returnDataSet("proc", "SHOW_REFINE_SEARCH", Parameters, DbTypes, ParameterTypes, values, Lengths);



DataTable dt = new DataTable();
dt = ds.Tables[0];



the data table value comes in the form which are as follows:-




Zone_ID Zone_Name Company_ID
1 Rajasthan 1
2 Madhya Pradesh 1
3 Maharashtra 1
4 Uttar Pradesh 1
5 Jammu and Kashmir 1
6 Gujarat 1



I want to bind zone_name in javascript string variable...




asked 1 min ago







How to bind asp data table into string array in asp.net c#?

Aucun commentaire:

Enregistrer un commentaire