Thursday, 19 June 2014 0 comments

Software Engineering - Third Module

Software Engineering - Third Module

Here is Software Engineering - Third Module (SQL) lecture . Below Attachement contain
- Slides for Software Engineering

Click Here to Download
0 comments

Software Engineering - Second Module

Software Engineering - Second Module

Here is Software Engineering - Second Module (SVVT) lecture . Below Attachement contain
- Slides for Software Engineering

Click Here to Download
Saturday, 14 June 2014 0 comments

Software Engineering - First Module Slides

Software Engineering - First Module

Here is Software Engineering - First Moule lecture . Below Attachement contain
- Slides for Software Engineering

Click Here to Download
Monday, 12 May 2014 0 comments

Linux All Presentation

Linux All Presentation

Here is Linux lecture by sir noman qadir. Below Attachement contain
- Slides for Linux and
- Different Detail of Linux

Click Here to Download
Friday, 4 April 2014 0 comments

PHP Class Lectures

PHP Class Lectures

Here is PHP lecture by sir noman qadir. Below Attachement contain
- Sign and Login in PHP with MySQL Connection,
- Image Upload,
- Session
- and Image Comment like Fb.

Click Here to Download
Thursday, 20 March 2014 0 comments

PHP MYSQL Connection

PHP MYSQL Connection

Before you can get content out of your MySQL database, you must know how to establish a connection to MySQL from inside a PHP script. To perform basic queries from within MySQL is very easy. This article will show you how to get up and running.
Let's get started. The first thing to do is connect to the database.The function to connect to MySQL is called mysql_connect. This function returns a resource which is a pointer to the database connection. It's also called a database handle, and we'll use it in later functions. Don't forget to replace your connection details.
<?php
$username = "your_name";
$password = "your_password";
$hostname = "localhost";

//connection to the database
$dbhandle = mysql_connect($hostname, $username, $password)
  or die("Unable to connect to MySQL");
echo "Connected to MySQL<br>";
?>
All going well, you should see "Connected to MySQL" when you run this script. If you can't connect to the server, make sure your password, username and hostname are correct.
Once you've connected, you're going to want to select a database to work with. Let's assume the database is called 'examples'. To start working in this database, you'll need the mysql_select_db() function:
<?php
//select a database to work with
$selected = mysql_select_db("examples",$dbhandle)
  or die("Could not select examples");
?>
Now that you're connected, let's try and run some queries. The function used to perform queries is named - mysql_query(). The function returns a resource that contains the results of the query, called the result set. To examine the result we're going to use the mysql_fetch_array function, which returns the results row by row. In the case of a query that doesn't return results, the resource that the function returns is simply a value true or false.
CREATE DATABASE `examples`;
USE `examples`;
CREATE TABLE `cars` (
   `id` int UNIQUE NOT NULL,
   `name` varchar(40),
   `year` varchar(50),
   PRIMARY KEY(id)
);
INSERT INTO cars VALUES(1,'Mercedes','2000');
INSERT INTO cars VALUES(2,'BMW','2004');
INSERT INTO cars VALUES(3,'Audi','2001');
Wednesday, 12 March 2014 0 comments

Installation of PHP

Installation of PHP

PHP is a programming language that can do all sorts of things: evaluate form data sent from a browser, build custom web content to serve the browser, talk to a database, and even send and receive cookies..

For Install PHP, You should have 4 softwares: Windows, Apache, MySQL, PHP or 1 software combination of this name WAMP.. 

So wamp link for download is HERE

If you have also VS installed in your PC then you have to change port for WAMP server to run for this follow this LINK

At first run PHP myadmin panel password is blank and username is 'root'
0 comments

Introduction to PHP

Introduction to PHP

PHP is a programming language that can do all sorts of things: evaluate form data sent from a browser, build custom web content to serve the browser, talk to a database, and even send and receive cookies..

Why Learn PHP?
"So what?" You might say. "I can do that with JavaScript." And that's true! But JavaScript's knowledge can be limited.
JavaScript generally runs in the browser, orclient. This means it only really knows what's going on in your browser, plus whatever information it gets from the website(s) you're connecting to.
PHP, on the other hand, runs on the same computer as the website you're visiting, which is known as the server. This means that it has access to all the information and files on that machine, which allows it to construct custom HTML pages to send to your browser, handle cookies, and run tasks or perform calculations with data from that website.
PHP and HTML
PHP code can be written right into your HTML, like this:
<body>
  <p>

    <?php
      echo "I'm learning PHP!";
    ?>

  </p>
</body>
Your PHP code goes inside the <?php and ?> delimiters. Here we use the function echoto output I'm learning PHP!. We also end the line with a semicolon.
PHP Files
You might have noticed that our main file is now index.php instead of index.html. This is important! It tells the PHP interpreter that there's PHP code in the file to evaluate.
Echo
The echo function outputs strings. If you type
<?php
  echo "Hello!";
?>
PHP will output Hello!.
Make sure to end your line of PHP code with a semicolon.
Strings
A string is a word or phrase between quotes, like so: "Hello, world!"
You can type a string all at once, like this:
<?php
  echo "Hello, world!";
?>
Or use the concatenation operator, which glues several strings together:
<?php
   echo "Hello," . " " . "world" . "!";
?>
The concatenation operator is just a dot (.). (If you're coming to PHP from JavaScript, the dot does the same thing for strings that +does in JavaScript.)
Variables
So far we've been outputting strings and doing math.
To do more complex coding, we need a way to "save" these values. We can do this usingvariables. A variable can store a string or a number, and gives it a specific case-senstive name.
Examples:
  • $myName = "Beyonce";
  • $myAge = 32;
All variable names in PHP start with a dollar sign ( $ ).
Semicolons
You've probably noticed that our lines of PHP code end in semicolons (;). PHP requires semicolons at the end of eachstatement, which is the shortest unit of standalone code. (For example, echo"Hello!"; or 2 + 2;)
You can think of a statement is a complete PHP thought. 19 + or echo aren't complete thoughts, so you wouldn't put semicolons at the end of them!
<?php echo "Use your semicolons!"; ?>
Comments
Just like we sometimes put comments in our CSS (using /* this syntax */) or in our HTML (using <!-- this syntax -->), we can also put comments in our PHP code! We do that using two forward slashes (//), like so:
<?php
    echo "I get printed!";
    // I don't! I'm a comment.
?>


Reference : Click Here
Saturday, 21 December 2013 1 comments

Spell Check in C#

Spell Check in C#

Interoperability in C# Spell Checking. This is Word Spell Checker which enable in C# for Spelling Check we use this in Notepad in C#.

Click Here to Download Its Program
0 comments

AutoComplete Suggestion in C#

AutoComplete Suggestion in C#

AutoComplete is the TextBox Feature that Suggest you Data from Database or File and help you to work easily Here is its program. If you have any problem comment on this or email me.. 

Click Here to Download Program
Wednesday, 4 December 2013 0 comments

DML Operations in C#

DML(Insert, Update, Delete and Select) Operations in C#

Insert, Select, Update and Delete statements these are basics of a programming because these are common coding practice which applies in development of application or a website associated with the database. Insert, Select, Update and Delete altogether also known as DML (Data Manipulation Language) statements which helps in managing the data with the database within schema objects.

Click Here to Download Program of DML
 
Note : Kindly Make Database and Change Your connection String according to Your PC. Database Backup file is allocate in the Program.
 
Just Comment or email me if you have any Problem.
Monday, 2 December 2013 0 comments

Reflection in C#

Reflection in C#

Reflection is the process by which a program can read its own metadata. A program is said to reflect on itself, extracting metadata from its assembly and using that metadata either to inform the user or to modify its own behavior.

Click Here to Download Program
0 comments

Attributes in C#

Attributes in C#

Attributes are a mechanism for adding metadata, such as compiler instructions and other data about your data, methods, and classes, to the program itself. Attributes are inserted into the metadata and are visible through ILDasm and other metadata-reading tools.

Click Here to Download Program
Monday, 25 November 2013 0 comments

Cryptography in C#

Cryptography in C#

Here is the C# Cryptography Class. Cryptography is the Process of Hiding Your Information in Specific Format that Another Person Couldn't Understand. 

Two Types of Cryptography:
1. Symmetric (have public key)
2. Asymmetric (have public and private key which knows by Sender and Receiver)

Namespace for Cryptography is System.Security.Cryptography


Click Here to Download Program
Monday, 11 November 2013 0 comments

Regular Expression in C#

Regular Expression in C#

Here is the C# Regular Expression Class. Regular Expression is used for set the Restriction in your Text. If you want that someone can insert only number in TextBox or Alphabets then you have to use Regular Expression for this..

Namspace for Regular Expression is System.Text.RegularExpression
Class is Regex

Regular Expression Short Cut and Cheat Sheat :
http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/


Click Here to Download Program
Monday, 21 October 2013 0 comments

Processes in C#

Processes in C#

Here is the C# Process Class. You can get Running Process info and More.


Click Here to Download Program
0 comments

C# File Info Class

C# File Info and Right Class

Here is the C# File Info Program. You can get File info and Rights through this.


Click Here to Download Program
0 comments

C# XML Serialization

C# XML Serialization

Here is the C# XML Class Program. If you have any query contact me.


Click Here to Downlaod
Thursday, 10 October 2013 0 comments

C# Dictionary Class

C# Dictionary Class

Here is the C# Dictionary Class Definition and Example.

Dictionary Class

The Dictionary class gives us the opportunity to map some values to specific keys; in real life scenarios we need this mechanism to represent some values whenever we call the key associated with them according to an event.


Click Here to Downlaod Program
0 comments

C# Operator Overloading

C# Operator Overloading

Here is the C# Operator Overloading Defination and Example.

Operator Overloading Details


In an object oriented programming language like C#, operator overloading provides a much more natural way of implementing the operations on custom types. Suppose that we have a class created for Complex number and we want to perform all the arithmetic operations on this type. One way to do this is by having functions like Add, Subtract inside the class and have the functionality. Another way is to actually have the overloaded version of operators to act on this type.
Operator overloading provides a much natural abstraction for the types. When we think about possible operation on some data type we can think of binary operators, unary operators, relational operators and perhaps some conversion operations to and from the basic types. In C# achieving all this is possible using operator overloading.

Using the code

Before looking at the implementation details, lets see what are the conventions that need to be followed if we want to overload an operator.
  • The operator function should be a member function of the containing type.
  • The operator function must be static.
  • The operator function must have the keyword operator followed by the operator to be overridden.
  • The arguments of the function are the operands.
  • The return value of the function is the result of the operation.
Click Here to Download Program
 
;