what is the equivalent of the push javascrip to c#
javascript:
var data = [];
data.push({ text: "" + rs.fields(0) + "", value: "" + rs.fields(1) + "" });
data.push({ text: "" + rs.fields(0) + "", value: "" + rs.fields(1) + "" });
dont know how to implement in c#
please help

Stephen KingPosted Jul 31, 2014, 5:00 AM
Manesh GolekarPosted Jul 31, 2014, 4:58 AM
In C# , you can use Array for implementing same functionility and use Add method of array object to add values to it .
Thanks,
M