-
Continue reading →: Membuat dropdownlist pada ASP.Net MVC
Untuk membuat dropdownlist pada ASP.Net MVC, kita dapat mnggunakan Html Helper Dropdown List. Pertama, kita akan mengambil data dari database sebagai pilihan pada dropdownlist yang akan kita buat. Pada controller kita akan melakukan data binding dengan syntax berikut ini :
-
Continue reading →: ASP.Net MVC Data Binding dengan Dapper
Pada controller tambahkan namespace berikut using System.Web.Configuration; using System.Data.SqlClient; using Dapper; using MvcLabs.Models; using System.Data; Pada action di controller tersebut, dimana kita akan menggunakan dapper, tambahkan kode berikut untuk melakukan data binding.
-
Continue reading →: Tutorial Pengenalan ASP.Net MVC Part 1
Pada pengenalan ini, kita akan membuat aplikasi untuk manajemen data memiliki fungsi untuk menampilkan (Read), membuat (Create), mengubah (Update) dan menghapus data (Delete), atau bahasa kerennya adalah operasi CRUD (Create – Read – Update – Delete). Sebagai contoh, aplikasi yang akan kita buat disini adalah aplikasi untuk manajemen data koleksi film. Langkah…
-
Continue reading →: SQL Server Pivot – Simple example
In this post, we will try to understand PIVOT in SQL Server. But, I find a simple example how to use PIVOT in SQL Server. Let’s begin First, let’s create table for our example. And insert some sample data into it
-
Continue reading →: Remove “Forget Password” on moodle login page
Comment or erase following code in file : 1. index_form.html directory : [your moodle folder]\login comment/erase code line : 60 code : <div class=”forgetpass”><a href=”forgot_password.php”><?php print_string(“forgotten”) ?></a></div> 2. block_login.php directory : [your moodle folder]\blocks\login comment/erase code line : 36, 74-76 code : line 36 : $forgot = $wwwroot . ‘/login/forgot_password.php’;…
-
Continue reading →: Create new route in ASP.NET MVC
Now we will talk about making new route in ASP.NET MVC. In the other article we have talked about modify/change the default route in ASP.NET MVC. To create new route, open file RouteConfig.cs in App_Start folder
-
Continue reading →: Install Twitter Bootstrap version 2.3.2 Nuget in Visual Studio 2010
Open Package Manager Console (Tools -> Library Package Manager -> Package Manager Console), type command below Install-Package Twitter.Bootstrap -Version 2.3.2 For more complete infromation about Twitter Bootstrap nuget, you can visit this link
-
Continue reading →: Check PHP version on CentOS with php info file
This is another way to check whether our PHP works well and also check PHP version. We will create PHP info file. 1. Create PHP info file in root html folder
-
Continue reading →: Install PHP on Centos
It is a very basic need for our server, if we want to run PHP based application. To install PHP on our CentOS server, open terminal and type this command
-
Continue reading →: Install MySQL on CentOS VPS
MySQL is the most widely used database engine. Many application use MySQL database. In this post, I will explain how to install MySQL on CentOS VPS. 1. Open terminal, and type command below :






