Wednesday, April 21, 2010
Monday, April 19, 2010
Sunday, April 18, 2010
Thursday, April 15, 2010
Wednesday, April 14, 2010
Tuesday, April 13, 2010
Monday, April 12, 2010
Sunday, April 11, 2010
Saturday, April 10, 2010
Thursday, April 8, 2010
Wednesday, April 7, 2010
Tuesday, April 6, 2010
Sunday, April 4, 2010
Saturday, April 3, 2010
Linq to Json
var q = from b in data.napps2_price_categories
where b.Lang == lang
orderby b.Description
select new { b.Code, b.Description };
return (JsonConvert.SerializeObject(q));
Returns the results as JSON
JSON.NET
Calling the webservice from javasacript via JQuery
$.ajax({
type: "POST",
url: "/WebServics/DoStuff.asmx/Functionname",
data: "{'lang': 'EN'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg) {
AjaxSucceeded(msg);
},
error: AjaxFailed
});
function AjaxSucceeded(result) {
eval('var jsonvar = ' + result.d);
for (var i = 0; i < jsonvar.length; i++)
$('#divCategory').append('');
}
where b.Lang == lang
orderby b.Description
select new { b.Code, b.Description };
return (JsonConvert.SerializeObject(q));
Returns the results as JSON
JSON.NET
Calling the webservice from javasacript via JQuery
$.ajax({
type: "POST",
url: "/WebServics/DoStuff.asmx/Functionname",
data: "{'lang': 'EN'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg) {
AjaxSucceeded(msg);
},
error: AjaxFailed
});
function AjaxSucceeded(result) {
eval('var jsonvar = ' + result.d);
for (var i = 0; i < jsonvar.length; i++)
$('#divCategory').append('');
}
Friday, April 2, 2010
Top 100 April Fool's Day Hoaxes Of All Time
Top 100 April Fool's Day Hoaxes Of All Time: "#10: Planetary Alignment Decreases Gravity
1976: The British astronomer Patrick Moore announced on BBC Radio 2 that at 9:47 AM a once-in-a-lifetime astronomical event was going to occur that listeners could experience in their very own homes. The planet Pluto would pass behind Jupiter, temporarily causing a gravitational alignment that would counteract and lessen the Earth's own gravity. Moore told his listeners that if they jumped in the air at the exact moment that this planetary alignment occurred, they would experience a strange floating sensation. When 9:47 AM arrived, BBC2 began to receive hundreds of phone calls from listeners claiming to have felt the sensation. One woman even reported that she and her eleven friends had risen from their chairs and floated around the room."
1976: The British astronomer Patrick Moore announced on BBC Radio 2 that at 9:47 AM a once-in-a-lifetime astronomical event was going to occur that listeners could experience in their very own homes. The planet Pluto would pass behind Jupiter, temporarily causing a gravitational alignment that would counteract and lessen the Earth's own gravity. Moore told his listeners that if they jumped in the air at the exact moment that this planetary alignment occurred, they would experience a strange floating sensation. When 9:47 AM arrived, BBC2 began to receive hundreds of phone calls from listeners claiming to have felt the sensation. One woman even reported that she and her eleven friends had risen from their chairs and floated around the room."
Thursday, April 1, 2010
Subscribe to:
Posts (Atom)