- Get link
- X
- Other Apps
Posts
Database Connectivity C Sharp to Access
- Get link
- X
- Other Apps
Step 1: using System.Data.OleDb; Step 2: public partial class Form1 : Form { private OleDbConnection conn; Step 3: InitializeComponent(); conn = new OleDbConnection ( @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\Lecture-notes\c-srp\db1.mdb" ); save button code: OleDbCommand cmd= new OleDbCommand (); cmd.CommandType= CommandType .Text; cmd.CommandText = "insert into table1(name,fname,id,sem)values('" + textBox1.Text + "','" + textBox2.Text + "','" + textBox3.Text + "','" + textBox4.Text + "')" ; cmd.Connection = conn; conn.Open(); ...
Google Project in C Graphics
- Get link
- X
- Other Apps
Program 1 #include <iostream.h> #include <conio.h> #include <graphic.h> #include <math.h> void main () { clrscr (); int g = 0 , d ; initgraph (& g ,& d , "c:\turboc3\bgi" ); setbkcolor ( 15 ); setcolor ( 1 ); settextstyle ( 3 , 0 , 5 ); outtextxy ( 190 , 140 , "G" ); setcolor ( 4 ); settextstyle ( 3 , 0 , 5 ); outtextxy ( 220 , 140 , "O" ); setcolor ( 3 ); settextstyle ( 3 , 0 , 5 ); outtextxy ( 250 , 140 , "O" ); setcolor ( 1 ); settextstyle ( 3 , 0 , 5 ); outtextxy ( 280 , 140 , "G" ); setcolor ( 2 ); settextstyle ( 3 , 0 , 5 ); outtextxy ( 310 , 140 , "L" ); setcolor ( 4 ); settextstyle ( 3 , 0 , 5 ); outtextxy ( 340 , 140 , "E" ); setcolor ( 1 ); settextstyle ( 3 , 0 , 5 ); setcolor ( 4 ); settextstyle ( 1 , 0 , 2 ); outtextxy ( 100 , 350 , "SEARCH" ); settextstyle ( 1 , 0 , 2 ); outtextxy ( 380 , 350 ...