infolink

Wednesday, 28 May 2014

Write data in text file C++ Filling



To read and write data into file is called filling. Here you learn how to write data in text file.
First include fstream library.

#include <fstream>

#include <fstream>
 Then in the main function make an object of ofstream and pass the text file name with extention as a parameter to object like this:

ofstream myfile("items_file.txt");

After that open this file and write data in the file.


Example:

Monday, 26 May 2014

An error has occurred during Report Processing



Error:


An error has occurred during report processing. Exception has been thrown by the target of an invocation. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

An error has occurred during report processing. Exception has been thrown by the target of an invocation. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

An error has occurred during Report Processing
This tutorial is about how to solve the above mention error. This error is occurred when the unique, foreign-key field is existing in Table Adapter of DataSet. And this Table Adapter is used in the report Data Source. 

DataSet Table Adapter
Table Adapter

Solution:

Tuesday, 13 May 2014

C++ Library Management System Project (LMS)

C++ Library Management System Project

C++ Library Management System Project (LMS)


Library system Features/Methods:

  1. Add Book
  2. Add Teachers
  3. Add Students
  4. Issue book to teachers
  5. Issue book to student
  6. Return book from teachers
  7. Return book from students
  8. Display all books
  9. Display all teachers
  10. Display all students
  11. Check book is issued or not?
  12. Check all issued books

Friday, 14 March 2014

C++ Banking System Project



Here is a small Bank system using C++. It is not a professional Bank process system. Basically this tutorial is about learning C++. It is a Small C++ course project and C++ basic syntax and structure cover on it.

C++ Banking system features/Methods:

  • Login Authentication - 4 logins with user name & password
  • Account Open
  • Deposit amount
  • Withdraw amount
  • Display all accounts
  • Search account by CNIC No

Saturday, 8 March 2014

Calculator Tutorial in JavaScript


This tutorial is about a web base simple calculator which is created in HTML and JavaScript language. JavaScript is very simple and intelligent language. It is a scripting language based on client-side scripting. You can use this script in anywhere on HTML page.
This tutorial is covering all the simple calculator functionality, like Addition, Subtraction, division,
multiplication. Its functionality is similar to Windows calculator.

Calculator Tutorial in JavaScript:

 

Saturday, 11 January 2014

Display data from database depending on selected drop down value

Hi friends this tutorial is about how to display data from database depending on selected drop down value in PHP. Normally have different ways for this work. Here i am using very simple way.
Through java script it is very simple to display data from database depending on selected drop down value. 
In this tutorial i use a very simple example like when you select a class from drop down list then all the students of that particular class will display.

Now let's start the tutorial:

First of all we create three .PHP files.
  1. connection.php   // make connection to database
  2. index.php           // for view class and students.
  3. get_student.php  // get data from database and display on index.php file

Tuesday, 7 January 2014

Populate Select List PHP Mysql

This tutorial is about to "Populate Select List" in PHP using MySQL. Get values which you want to populate into DropDownList, Combobox or Select List from MySQL through query, and then these values add into Select List using PHP code.
Too many ways to populate or bind the Select List, DropDownList, Combobox.

Steps to Populate Select List:

Monday, 27 May 2013

Export data to Excel in ASP.NET


Today we learn how export the data from the database into Microsoft excel sheet.  So many techniques or ways to export the data into Microsoft excel sheet, but here I have tried to use the easiest way for this purpose or task. No extra namespace, class our assemblies are not required for it. Just follow few steps and get the data on the excel sheet.

We will work step by step

  • First step is to create the database and insert the values in it.
  • Now add the Dataset into the project. And create a query in it that gets the data from the database table.
  • Now go to the .CS page and write the code for it.
Bellow is step by step Example for this task.

Wednesday, 22 May 2013

Shoes Template

  • Shoes Template Free Download

Download this classic template from this link.
Shoes Template >>