
Search In
Below is the C sharp code to connect with the sql data base in .net
usingSystem.Data.Sql;
usingSystem.Data.SqlClient;
// FUNCTION TO CONNECT TO THE SQL SERVER DATABASE
privatevoidconnectToSQLServer()
{
// SQL CONNECTION REPRESENTS AN
How to import data from CSV to Database
Use the function below to import the data from excel to the database connected
public void importdatafromexcel(string excelfilepath)
{
try
{
DataTable tblReadCSV= new DataTable();
tblReadCS
Offline app capability in HTML5 bought all the power to store data offline .When we talks about offline people ask offline means without internet ? First take the term ONLINE . online and Web are kind of synonyms.
So why the term Offline is getting u
Below are the steps to Import an ORS:
Step 1: Launch the jnlp file.
Step 2: Enter you credential, select the ORS.
Step 3: Under Workbench, select Repository Manager.
Step 4: Connect to Master Database.
Step 5: Under Validate tab, validate the ORS in
FormCollection class in MVC is used to send or retrieve form data from one view to another.
Using this you can access every element of your form means all the controls
Form collection is the collection of all the object that we use in our vi
Hello Readers,
Below is used to update the single field in CakePHP.
In CakePHP, if we can update the one field into the database to do this w have two methods to update the field.
1> First using savefield() method:
Example:
$this->ModelNa
I'm creating an admin class and i need to know how to auto instantiating the class vars
class Admin{
public $admin_id ;
public $admin_name ;
public $admin_email ;
public $admin_type ;
public
I have wrote code for sqlite to select specific columns and display rows ..
id condition lat long
1 Good 0.0 0.0
2 Poor 0.0 0.0
3 Good 0.0 0.0
When I select Good, It should display my lat & long of id 1,
Java with MongoDB:- The MongoDB is the Document type Database. It is set of Collections and documents. it supports the NOSQL and to manage the collections inside the collection there are numbers of documents. The Below code will show you how to conne
In this post, I am gonna give an example to upload Images and store its file path in the database with the help of custom component.
Example:
Add this UploadComponent class in app/controller/component folder.
<?php
class UploadComponent e