phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


Web Services .NET Grid: Preparing Database

Tag: web services, wsdl, .net, vb.net, database, phpmyadmin   Category: PHP Application
post: 15 Apr 2008 read: 704


Web Services PHP - Grid .NET Step By Step Tutorial - Part 2: For this practice, we use database. From this database, we get data. All of record will be convert to a line with string format. This is its database:

First, create a database named "test". Then, create a table named "books". The query is:


CREATE TABLE `books` (
  `id` int(11) NOT NULL auto_increment,
  `title` varchar(150) NOT NULL,
  `author` varchar(150) NOT NULL
  PRIMARY KEY  (`id`)
);

You can use phpMyAdmin to easy job.

Then, insert sample data such as:


INSERT INTO `books` (`id`, `title`, `author`) VALUES (1, 'PHP AJAX', 'Andreas');
INSERT INTO `books` (`id`, `title`, `author`) VALUES (2, 'PHP Eclipse ', 'George');
INSERT INTO `books` (`id`, `title`, `author`) VALUES (3, 'PHP Prado', 'Junyian');
INSERT INTO `books` (`id`, `title`, `author`) VALUES (4, 'PHP Zend Framework', 'Ozulian');
INSERT INTO `books` (`id`, `title`, `author`) VALUES (5, 'PHP Web Services', 'Bobi');
INSERT INTO `books` (`id`, `title`, `author`) VALUES (6, 'PHP API', 'Hugo');
INSERT INTO `books` (`id`, `title`, `author`) VALUES (7, 'PHP SEO', 'Monteo');


Series this article:
Web Services .NET Grid: Create WSDL Document
Web Services .NET Grid: Preparing Database
Web Services .NET Grid: Create SOAP Server
Web Services .NET Grid: Testing with SOAP client
Web Services .NET Grid: Creating User Interface for VB.NET
Web Services .NET Grid: Retrieve Data and Show to Data Grid

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Joomla: Fast Road to Understand Component Programming
Chart: How to Build Cool Animation Real Time Chart
Email: Send Attachement Mail
SMS : Sending SMS with PHP and ActiveXperts (Part 1)

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


624
posting