TechyMedia

A .NET Technology blog | .NET,C# Progamming,C# tutorials,WPF WCF|Software Engineer

NAVIGATION - SEARCH

What is Typed Dataset In C#,VB.NET?

Typed Datasets(Strongly Typed Datasets) are specialized Dataset class.Typed datasets are strongly typed and hence gives compile time error when assigned data column with wrong type value.You can create Typed Dataset in 2 different manners.Using Visual Studion typed dataset designer ad using XSD.exe.
Typed Datasets(Strongly Typed Datasets) are specialized Dataset class.Typed datasets are strongly typed and hence gives compile time error when assigned data column with wrong type value.You can create Typed Dataset in 2 different manners.Using Visual Studion typed dataset designer ad using XSD.exe. [More]

XML Serialization and Deserialization using XSD -C#,VB.NET

Convert xml to xsdXml serialization in .NET can be done in various ways.but the easiest one which I believe is using xsd.exe to create the corresponding model dataset class from the xml file.Step by step procedure explained.xml to xsd conversion
Convert xml to xsdXml serialization in .NET can be done in various ways.but the easiest one which I believe is using xsd.exe to create the corresponding model dataset class from the xml file.Step by step procedure explained.xml to xsd conversion [More]

Add XML element without namespace attribute - C#,VB.NET

When you add a new xml element to this xml docment, you will notice a namespace attribute appearing in the added xml element with an empty string value(xmlns = "").This will cause unwanted results while parsing/querying the xml document.How to get rid of this unwanted namespace,xmlns.Read this article..
When you add a new xml element to this xml docment, you will notice a namespace attribute appearing in the added xml element with an empty string value(xmlns = "").This will cause unwanted results while parsing/querying the xml document.How to get rid of this unwanted namespace,xmlns.Read this article.. [More]

Initialize List<string> with strings In C# - Collection Initializer ,List<string> to CSV

C# initialize list - There are multiple ways to Initialize List&lt;string&gt; with strings In C# - Collection Initializer the new way.Also explaining C# How to create comma separated string from a List&lt;string&gt;,c# initialise list,c# initialise list of objects
C# initialize list - There are multiple ways to Initialize List with strings In C# - Collection Initializer the new way.Also explaining C# How to create comma separated string from a List,c# initialise list,c# initialise list of objects [More]

Difference between Custom Controls,User controls and Components in C#.NET

User control and custom control are direct or indirect derivations of Control class.Control in turn is derived from component.Controls are much more rich than components feature wise. Components don't have GUI like user controls or custom controls.Components are more of APIs.Examples of .NET components are Times,File Browser,Data Source etc. A component can't contain controls inside it. [More]

How To Create Custom Control in C# Windows Forms

c# custom button - Custom controls are specialized controls in .NET derived from Control class.This article explains step by step process of creating a custom control in C# Winform application.
c# custom button - Custom controls are specialized controls in .NET derived from Control class.This article explains step by step process of creating a custom control in C# Winform application. [More]

Custom controls in C#.NET

Custom controls are of three types derived custom control,derived custom control and full custom control..In .NET framework,all control(like TextBox,Button,Panel etc.) classes are defined in such a way that user can derive specialized control from them.Custom control must be either derived from the specific control which you need to extend for your specific custom need or from the base control class directly.You can add additional properties,methods,events and also override the existing base class members. [More]

Redirect domain Without www to With www in ASP.NET, BlogEngine.NET

You will get search engine penalties if your site directs to different locations when requested with URL without www or requested with www in ASPNET.This will even cause adsense program rejection also since they find duplicate contents in your site.This article explains how can you get rid of this issue in blogengine.net.
You will get search engine penalties if your site directs to different locations when requested with URL without www or requested with www in ASPNET.This will even cause adsense program rejection also since they find duplicate contents in your site.This article explains how can you get rid of this issue in blogengine.net. [More]

XPATH With Default Namespace In C# - XpathNavigator

This article explains the sample C# code using XPath Navigator to select an XML element from an XML file which is having a default namespace.Normal xpath expression won&#39;t return anything if there is a namespace defined in Xml file.
This article explains the sample C# code using XPath Navigator to select an XML element from an XML file which is having a default namespace.Normal xpath expression won't return anything if there is a namespace defined in Xml file. [More]

How To Select Required Number Of Nodes From Top or Bottom Using XPATH - C#,VB.NET

This post explains how you can access a specified number of required XML elements using the XPATH expression,top n elements ,bottom n elements etc. Same sample is given in both C# and VB.NET.
This post explains how you can access a specified number of required XML elements using the XPATH expression,top n elements ,bottom n elements etc. Same sample is given in both C# and VB.NET. [More]