This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> | |
<script src="../node_modules/chart.js/dist/Chart.js"></script> | |
<script> | |
$(document).ready(function () { | |
var SERVER_URL = "http://localhost:3000/"; | |
$.get(SERVER_URL, function (record) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'First, Right click On references In your project via solution explorer, | |
'click On Add reference, on the left side, click extension, scroll down till you find MySql.Data, | |
'add it To your project, then continue coding as below. | |
Imports MySql.Data.MySqlClient | |
Module Module1 | |
Dim conn As New MySqlConnection | |
Dim DatabaseName As String = "reservation" | |
Dim server As String = "localhost" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (DropDownList3.SelectedIndex == 1) | |
{ | |
DropDownList4.Items.Add(new ListItem("", "0")); | |
DropDownList4.Items.Add(new ListItem("Alberta", "AB")); | |
DropDownList4.Items.Add(new ListItem("British Columbia", "BC")); | |
DropDownList4.Items.Add(new ListItem("Manitoba", "MB")); | |
DropDownList4.Items.Add(new ListItem("New Brunswick", "NB")); | |
DropDownList4.Items.Add(new ListItem("Newfoundland and Labrador", "NL")); | |
DropDownList4.Items.Add(new ListItem("Northwest Territories", "NT")); | |
DropDownList4.Items.Add(new ListItem("Nova Scotia", "NS")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
//Array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Student{ | |
public Dictionary<string, object> CustomProperties = | |
new Dictionary<string, object>(); | |
} | |
public class Program | |
{ | |
public void FindName(List<Student> student, string name) | |
{ | |
List<Student> names = student; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//You can only call functions with the same declared type without instantiating an object of the class. | |
public void Test1(){ | |
Console.WriteLine("Ist Function and Other Function "+Test()); | |
} | |
public int Test(){ | |
return 2; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
class Shape | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string[] name = new string[] { "Tom", "Sreejata", "Kashif" }; | |
int[] java = new int[] { 70, 88, 30 }; | |
int[] statistics = new int[] { 76, 40, 90 }; | |
int[] age = new int[] { 20, 22, 25 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ClassTutorial1 | |
{ | |
class Program |
NewerOlder