How to read text file in c#: In c sharp it is very easy to read a complete text file
We mostly face a content path problem if we maintain your inner pages, master pages and may be images in different directores (folders). Due to this problem we are unable to see images on web browser.
For better performance we can use multithreading in our programm. We use thread for heavy processes like load data from database or during use of Internet, otherwise you will feel hanged your User Interface.
This example will describe how to check Internet connection in asp.net using c sharp language. During code we mostly check if user is connected with remote server or not.
How to programmatically set selected value of Dropdownlist aspx during loading of data: We can select programmatically a value on dropdownlist by it’s index. If we need to select by text then we need FindByText method as described in following line.