XML show in datagrid
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Examples { public...
ScreenSaver using C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Examples { public partial...
XML Write using C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; namespace Examples { ...
Select SysObjects using C# and show in datagrid
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace Examples { ...
View All Databases in TreeView using C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace Examples { ...
Create text using StreamWriter
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Security.Permissions; using System.Security; using System.IO;...
SQL queries for null values
update PFEP set supcusttype='1' where supcusttype is null select supcusttype from PFEP where supcusttype is null ...
Stored procedures with exception handling in SQL S...
Introducing TRY...CATCH Structured exception handing provides a powerful mechanism for controlling complex programs that have many dynamic runtime characteristics. It is a...
Exception Handling using Global.asax in asp.net
<%@ Application Language="C#" %> <%@ Import Namespace="System.IO" %> <%@ Import Namespace="System.Web" %> <%@ Import Namespace="System.Net.Mail" %> <script runat="server"> void Application_Start(object...
MVC Architecture
The entire ASP.NET MVC architecture is based on Microsoft .NET Framework 3.5 and in addition uses LINQ to SQL Server. What is...
Advantages of using MVC in ASP.NET
There's no duplicated code. The business logic is encapsulated; hence the controller code is transparent and safer. The business logic can be...