Using LINQ to SQL Template – Part Two
This post has reference to part one of this Article. Create a new Class with the name “MyLinq”. We are going to use the DataContextFactory Class which we created in Part One. Also assume in…
Mission to unlock the mysteries of the Code verse
This post has reference to part one of this Article. Create a new Class with the name “MyLinq”. We are going to use the DataContextFactory Class which we created in Part One. Also assume in…
LINQ to SQL is a component of the .NET Framework version 3.5. Click to learn more about LINQ to SQL First of all, in your Project or Website, add a new item from the “LINQ to…
Lets assume our requirement is to create a Data Table and convert it to XML format. Use the following block code for your purpose. DataSet myDS = new DataSet(); DataTable dtMyTable = new DataTable(“preview”); DataColumn…
First of all you need to create a New Data Set object from the Add new Item. Inside the Data set you need to create a new Table Adapter which will Fill data to a…