ASP.NET Split String Examples
Split example To start, here we see how you can split a VB.NET String based on a space character, ” “c. We allocate a New Char() array as well as a String() array to store the words in. Finally, we...
View ArticleHow to Backup and Restore MYSQL and MSSQL Database
This article will give you a step by step guide on how to backup and restore a database from your WebSitePanel. Sign into your WebSitePanel and follow these steps: 1) Go to Databases and either select...
View ArticleDifferences Between WCF and ASP.NET Web Services
Here are the 10 important differences between WCF Services and ASP.NET Web Services: Differences Between WCF and ASP.NET Web Services
View ArticleAnalyzing and Understanding the basics of WCF Service
The aim of this article is to explain the basics of WCF in a manner as simple as possible.It is assumed that the reader doesn’t know anything about WCF or .NET 3.0, however he/she is expected to know...
View ArticleWorking with more than one Web.config file
I would like to share what I have understood about working with more than one Web.config file from my latest ASP.NET application. We planned to have different Web.config files for sub-folders in the...
View ArticleWorking with the ASP.NET Global.asax file
The Global.asax file, sometimes called theASP.NET application file, provides a way to respond to applicationor module level events in one central location. You can use thisfile to implement application...
View ArticleManual Connection with database using C#.net asp.net
public void FillGridview() { DataSet ds = new DataSet(); SqlConnection Con; SqlDataAdapter sqlad; Con = new SqlConnection(“Data source=….;initial catalog=…;User ID=..;Password=…”); sqlad = new...
View ArticleDatabase connection with executescalar using C#.net asp.net
===================================== returning Name ==================================== public void GetNameByID(Int32 ID) { SqlConnection conn; SqlCommand sqlCmd; conn = new SqlConnection(“Data...
View ArticleGeneral HR questions for Interview process
General HR questions 1. Tell about yourself and job 2. Tell about current project 3. What are sequence diagrams, collaboration diagrams and difference between them 4. What is your role in the current...
View ArticlePrime number sample program using vb.net.
Public Sub PrintPrimeNumber() Dim Num As Long Dim NN As Long Dim IsPrime As Boolean For Num = 2 To 100 IsPrime = True For NN = 2 To Int(Num / 2) If Num Mod NN = 0 Then IsPrime = False Exit For End If...
View Article