How to export csv file from asp.net website

Here is an example for simple code localized in button click on menegment function protected void Button1_Click(object sender, EventArgs e) { Response.Clear(); Response.ContentType = “text/csv”; Response.AddHeader(“content-disposition”, “attachment; filename = test.csv”); for (int i = 0; i < 50; i++) { Response.Write("Value1, Value2, Value3\r\n"); } Response.End(); }

Video-catching sunglasses from Snapchat

The vanishing message service announced that it’s going to launch a video-catching glasses which can replace the Glass eyewear from Google. The Spectacles may be ‘available soon’ and their price will be $130 a pair. They will have one of the smallest wireless camera that will be able to make …

Twitter allows longer tweets

Twitter announced a change in its policy and eased the 140-characters limit on tweets. Media such as pictures and videos are now excluded from the tweet length as well as tweets which are retweeted. The new policy eased but not eliminated the 140-characters limit. This move seems to come as an …

Hardware core-to-core communication

Everyone who buys a new PC  almost always asks about number of cores in a processor. This parameter play important role in processor speed estimation. To be true a core is a small processor which can make calculations independently. Modern computers really can do different tasks at the same time. Cores in …

Edge – a terrible experience

This is not first time when Microsoft shot themselves in the foot releasing wrong designed and unfinished product. I really would like to write something positive about their flagship browser Edge. I try to use it all day and come to conclusion that Edge is totally useless. It is not …