Skip to main content

Posts

Date time to string and back to date time

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; using System.Globalization;           // this is the file which needed to be used// namespace WindowsFormsApplication9 {     public partial class Form1 : Form     {         string s;         public Form1()         {             InitializeComponent();         }         private void dateTimePicker1_ValueChanged(object sender, EventArgs e)         {             s = dateTimePicker1.Value.ToString("o");                   }         private void button1_Click(object sender, EventArgs e)     ...

Pinocchio - I've got no strings attached

Pinocchio - I've got no strings attached

Pinocchio - I've got no strings attached

Gabriel Iglesias I'm Not Fat I'm Fluffy Full Show

To develop simple window Application with database "School.mdb" and "student" table in the school.mdb database,student table with Roll no, Name and Address Field

// We will change name to s_name  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; using System.Data.OleDb; namespace _2012 {     public partial class Form1 : Form     {      //   OleDbCommand cmd;         OleDbConnection con;       //  OleDbDataReader dr;         OleDbDataAdapter da;         OleDbCommandBuilder builder;         DataSet ds;         string query = "";         int max = 0,min=0;         public Form1()         {             InitializeComponent();             con = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Sourc...

to develop simple window application with database "customer.mdb" and "cust" table with customer name,address,town,country,postal code.

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; using System.Data.OleDb; namespace _2013 {     public partial class Form1 : Form     {         OleDbCommand cmd;         OleDbConnection con;               string query = "";         int f = 1;         public Form1()         {             InitializeComponent();         }         private void Form1_Load(object sender, EventArgs e)         {             con = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\anuj vb 10\2013\Customer.mdb");             label1.T...