Tản mạn

Cuộc chiến giữa JAVA và DotNET, bạn chọn bên nào?

Hiện nay trong thế giới phát triển phần mềm, có 2 ngôn ngữ lập trình lớn nhất đó là JAVA và DotNET (VB, C#,…) người phát triển phần mềm cũng chia làm 2 phe khá rõ ràng. Dưới đây là một số so sánh giữa JAVA và .Net. (Những so sánh này không mang tính… Continue reading Cuộc chiến giữa JAVA và DotNET, bạn chọn bên nào?

Book, IT

Professional ASP.NET MVC 4

eBook Details: Paperback: 504 pages Publisher: Wrox; 1st edition (October 2, 2012) Language: English ISBN-10: 111834846X ISBN-13: 978-1118348468 eBook Description: Professional ASP.NET MVC 4 Designed to give experienced .NET and ASP.NET programmers everything needed to work with the newest version of MVC technology Expert author team includes Microsoft ASP.NET MVC insiders as well as leaders of the programming community Covers… Continue reading Professional ASP.NET MVC 4

Chưa phân loại

Adding and accessing custom sections in your C# App.config

So I recently thought I’d try using the app.config file to specify some data for my application (such as URLs) rather than hard-coding it into my app, which would require a recompile and redeploy of my app if one of our URLs changed.  By using the app.config it allows a user to just open up… Continue reading Adding and accessing custom sections in your C# App.config

Chưa phân loại

Difference between Int32.Parse(), Convert.ToInt32() and Int32.TryParse()

Int32.Parse() Int32.Parse (string s) method converts the string representation of a number to its 32-bit signed integer equivalent. When s is a null reference, it will throw ArgumentNullException. If s is other than integer value, it will throw FormatException. When s represents a number less than MinValue or greater than MaxValue, it will throw OverflowException. Int32.TryParse() Int32.TryParse(string s, out int result) method converts the specified string representation of 32-bit signed integer… Continue reading Difference between Int32.Parse(), Convert.ToInt32() and Int32.TryParse()

Chưa phân loại

Restore SQL Server Database Using C#

In previous post SQL Server Database BackUp using C#, I explained how to take backup of SQL Server database using C#. Today I am going to describe how to restore SQL Server database backup programmatically using C# and SQL Server Management Objects (SMO). You can also check more articles related to C#, ASP.Net , SQL Server and… Continue reading Restore SQL Server Database Using C#

Chưa phân loại

SQL Server Database BackUp using C#

There are various ways to take the SQL Server database backup. You can take the database backup using SQL Server backup wizard or using SQL Server BackUp Database statement. Here I am going to describe how to take the SQL Server database backup programatically using C# and SQL Server Management Objects (SMO). In my previous… Continue reading SQL Server Database BackUp using C#