• Archive for May, 2013

    What are the Web Services and how to create a Web Service in ASP.NET?

    by  • May 25, 2013 • Microsoft .NET Web Services, Microsoft ASP.NET • 1 Comment

    What is a Web Service? A Web Service is a software program that uses XML to exchange information with other software via common internet protocols. Web Service is way to interact with other object via internet. It is an application that is designed to interact with other applications. Web services allow servers to expose its...

    Read more →

    How to create Windows Presentation Foundation (WPF) Application Project in Visual Studio 2010

    by  • May 24, 2013 • Microsoft Visual Studio .NET, Windows Presentation Foundation (WPF) • 0 Comments

    Start Visual Studio 2010 Go to File > New > Project In C# or Visual Basic, select WPF Application. You can specify Name and of the application and change its location. You will see on your screen something like as in the following picture Drag and drop a Textbox from Toolbox from left side...

    Read more →

    How to export DataTable to XML in C#

    by  • May 22, 2013 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET • 0 Comments

    Sometimes we need to export our DataSet or DataTable data to XML file. ASP.NET provides a simple WriteXml() method of DataTable or DataSet class. This method simply writes DataTable or DataSet data to the specified file. You can also achieve this by using StreamWriter class object with WriteXml() method of DataTable or DataSet class....

    Read more →

    Auto generate serial number in GridView in ASP.NET

    by  • May 21, 2013 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET • 0 Comments

    Many times we need serial number for our GridView rows. There are different methods to auto generate serial numbers in ASP.NET GridView Control. You can do it programmatically or in TemplateField if GridView control. You can simply do it in TemplateField fo GridView Control as you can see first TemplateField below We will...

    Read more →

    How to read web page contents in ASP.NET

    by  • May 19, 2013 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET • 0 Comments

    Different browsers provide facility to read web page contents but sometimes we need to read web page content in our ASP.NET application. ASP.NET has some built-in classes that we can use to read web page contents. There are also many libraries like HtmlAgilityPack to achieve this but ASP.NET built-in classes provide simple and easy...

    Read more →