Programming
Thursday, 27 December 2012
Thursday, 18 October 2012
testing
PHP
"; $Num=10; $num2=20; $num3=$Num+$num2; echo"The result is " .$num3; ?>
"; $Num=10; $num2=20; $num3=$Num+$num2; echo"The result is " .$num3; ?>
THIS IS html CODE >
How to create a data base in c sharp
The best and easy way to make a data base in csharp as follow;
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 This_is_a_Databas
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void table1BindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.table1BindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.dabaseDataSet1);
}
private void Form1_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'dabaseDataSet1.Table1' table. You can move, or remove it, as needed.
this.table1TableAdapter.Fill(this.dabaseDataSet1.Table1);
}
private void button1_Click(object sender, EventArgs e)
{
if (MessageBox.Show("Are Your sure Your Want To Exit", "Exit", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
Application.Exit();
}
else
{
MessageBox.Show("Change Not saved");
}
}
}
}
Subscribe to:
Posts (Atom)
