Tag Archives: ASP.NET

ASP.NET is a server-side Web application technology designed for Web development. ASP.Net is the one of the widely used web framework to developed the web applications provided by Microsoft.

Adding Dynamic Meta Tags with Master Pages in ASP.NET using C #

Today each and every website is getting dynamic, every website for example have just on page and is being used to display the contents for various categories, hence the need for the dynamic meta title, meta description and meta keywords arises especially for implementing Search Engine Optimization(SEO) properly on your website having dynamic pages.

In a website what people do is create a Master Page and then this Master Page further contains a number of content or child pages, now what we want to have is having separate meta title, meta description and meta keywords for every child page, but here is the problem as once you run you run your website – preference is given to the meta title, meta description and meta keywords you have given in you Master Page and hence all the child pages will have same meta title, description and keywords.

Basically In ASP.NET you do not have any direct function to re write the title,description and keywords when you are working with Master Pages. To solve this problem I have written some sample code:

Continue reading Adding Dynamic Meta Tags with Master Pages in ASP.NET using C #

ASP:NET Reading XML Data into a DataSet object To GridView in C#

In ASP.NET you have a number of options by which you can easily read an XML Document and display an XML document in DataGrid, GridView, Repeater Control, DropDown List etc or any other control according to your requirements.
Here i will import an xml document using an inbuilt function of dataset and display the data in a GridView Control.

 

Here is the sample XML file named “country.xml” that i am using Continue reading ASP:NET Reading XML Data into a DataSet object To GridView in C#