November 2009 Entries

Simple CRUD on Visual Studio 2010

Hello Guys, I have sample here on how to create a simple Create, Read, Update, and Delete on Database. This sample created on Visual Studio 2010 Beta 2 using C# and Asp.Net. I did'nt include a validation on this sample. I only want to show on how to Select, Insert, Update, Delete on Database. For those who beginners I hope it will help. You can now download my Sample File at this Link...

Creating XML File on Visual Studio 2010

This code snippet will show you on how to create a simple xml file in Visual Studio 10 Beta 2. Step 1: Add a namespace to your code behind System.Xml and System.Text Step 2: In your event/method to create an xml file //Create a path were to save the xml file String path = Server.MapPath(@”FolderName... //Instantiate an XmlWriterSettings var xmlWrite = new XmlWriterSettings(); //And other Declaration xmlWrite.Indent = true; xmlWrite.OmitXmlDeclaration = true; xmlWrite.Encoding = Encoding.ASCII;...