Tag Archives: ASP.NET

ASP.NET Community Standup

ASP.NET team has started a new initiative. They are organizing weekly community standups live on Google Hangout. Anyone can join to this hangout and ask questions. They have made a website where you can find the date and time (of your time zone) of the next community standup session. You can also watch all the previous episodes on this website. This website is open source on GitHub.

I watched many of the previous episodes before and I like the conversation. The average quality of the questions are good. Today first time I joined a session and asked two questions. The questions are answered very seriously by the ASP.NET team members. If you are working with ASP.NET or want to know about new development of ASP.NET, please join the sessions and ask your questions. Your questions are being answered, it is a nice feeling and it is fun.

— Arnab

Populate drop down list from enum in ASP.NET web form

Drop down list is used to show various items on the user interface to select one from them. It is very useful specially when we have not much space in the user interface. When user click on the list then it drop with all the information, from which one can be selected. It is so common to populate a drop down list from database data. But in other case we need to populate it from other source also, like an enum. So how do we populate a drop down list from an enum?

Continue reading

Download data as .CSV format from ASP.NET web application

CSV file is a comma separated file format. That means all the values in the file is comma separated. This is very simple and useful format to exchange data. You can create and read CSV very easily. It is in human readable as well as you can write your program logic to work with this format very easily. You need to place comma after every value in a line and at the time of reading also keep in mind. Many popular software and service also support CSV format. For example Microsoft Outlook, Gmail etc. Keep in mind that it is not hierarchical data rather it is tabular format which we can express in CSV format.

Continue reading