
Search In
To use a background worker class in C#
1- Create an Instance of Background Class
BackgroundWorker bgw=new BackgroundWorker();
2- Create an event handler for the background worker's DoWork event
private void backgroundWorker_DoWork(object s
Error Logging and Management Handling in .NET is a technique by which errors are logged into database.
For doing this first you need to download DLL called Elmah.dll
Then write this code in your Web.Config file.
<?xml version="1.0"?>
&
In cakephp, whenever you want to create an application, You have to create following three files :
Model.
Controller.
View files.
For all these files, there are some naming convention standard you must follow.
MODEL NAMING
Prepared Statement is the feature which allows us to write a set of sql statement in which some fields values are unspecified. The unspecified field are labeled with the question mark as "?".
for example :
INSERT INTO TABLENAM
Validation
There must be something twirling inside your mind after seeing validations in ruby, validation
are basically used to check whether you are sending right parameters or not. i will explain you
by brief code
class School < ActiveRecor
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use getLastInsertId() in CakePHP in 2.4.1 version?
In CakePHP there are two methods for getting the last inserted id
1-Model::getLastInsertID()
2-Model::getInsertID()
Openerp contain different types of fields and these Fields are divided into three different categories, they are simple fields, relation fields and functional fields.
So lets discuss this one by one-
1. Simple Fields- The simple types are integers, f
While working in ADO.NET ActiveX Data Object we can perform manipulation with the text data and the database tables.
But we can also manipulate the data from XML files.
We have DataSet class which is also m
Hello Guys,
If you are looking set database configuration in Codelgniter. Please follow the below step for the same::
1) Open the file application/config/database.php and complete the below information:
$db['default']['hostname'] = 'localhost';
$db


Lets suppose , we need an application which able to upload a file(i.e. pdf, doc, htm, html, docx) and user can delete it form the list in rails. So here we will use 'carrierwave' to upload file and for styling the pages use 'bootstrap-sas
