Sunday, 21 October 2012
updating a table's data in JAVA
import java.sql.*;
import java.util.*;
class update
{
public static void main(String[] argv)
{
try
{
Scanner sc=new Scanner(System.in);
int a, result, tot,phno;
String dob, roll;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
insertion program of data in JAVA
class insert
{
public static void main(String[] argv)
{
try
{
Scanner sc=new Scanner(System.in);
String name,roll,dob;
int tot;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
creating of a table in JAVA
import java.sql.*;
import java.util.*;
class Student
{
public static void main(String[] argv)
{
try
{
Scanner sc=new Scanner(System.in);
String roll,name,dob;
int tot,phno;
Queue Reader Program
/* * queue_reader.c - a program that reads messages with a given identifier * off of a message queue. */
#include <stdio.h> /* standard I/O functions. */
#include <stdlib.h> /* malloc(), free() etc. */
#include <unistd.h> /* sleep(), etc. */
#include <sys/types.h> /* various type definitions. */
#include <sys/ipc.h> /* general SysV IPC structures */
#include <sys/msg.h> /* message queue functions and structs.*/
Queue Sender Program
/* * queue_sender.c - a program that reads messages with one of 3 identifiers * to a message queue. */
#include <stdio.h> /* standard I/O functions. */
#include <stdlib.h> /* malloc(), free() etc. */
#include <sys/types.h> /* various type definitions. */
#include <sys/ipc.h> /* general SysV IPC structures */
#include <sys/msg.h> /* message queue functions and structs. */
Tuesday, 25 September 2012
how to make facebook like box
STEP 1 : Go to http://developers.facebook.com/docs/reference/plugins/like-box/
STEP 2 : Then modify Facebook page URL as per your page username.
Subscribe to:
Posts (Atom)

