Saturday, 27 August 2011
at 23:37 | 0 comments | JQuery
jQuery.noConflict() → jQuery
This helps to make sure that jQuery doesn't conflict with the $ object of other libraries. By using this function, you will only be able to access jQuery using the 'jQuery' variable. For example, where you used to do $("div p"), you now must do jQuery("div p").Example:Maps the original object that was referenced by $ back to $.jQuery.noConflict();// Do something with jQueryjQuery("div p").hide();// Do something with another library's...
at 23:35 | 0 comments | ASP
How to run .exe file in asp.net?
Steps to Access the .exe files using .net:1). Import the below class in your file:using System.Diagnostics;2). Write this code on button_click event--Process p = new Process();p.StartInfo.FileName="c:\\windows\notepad.exe";p.Start...
at 20:23 | 0 comments | Worpress
How To Install And Configure Wibiya Web Toolbar For WordPres
...
Friday, 26 August 2011
at 22:33 | 0 comments | MySQL
MySQL Alter Table Add Column Command
Alter Table command is used for modifying the structure of the table. Means to add the new column, drop the column etc.ADD COLUMN:Syntax:ALTER TABLE table_name ADD COLUMN column_name column-definition [ FIRST | AFTER col_name ]Note: We can use both ADD COLUMN or ADD for adding the column.Example 1:ALTER TABLE student ADD COLUMN st_phone varchar(12) NOT NULL, st_gender varchar(5) NOT NULL;Example 3:ALTER TABLE student ADD COLUMN...
at 22:29 | 0 comments | MySQL
MySQL Create Table Commands
Create Table command is used for creating tables in mysql.Syntax 1:CREATE TABLE [IF NOT EXISTS] table_name(column_name1 type(size) constraints,column_name2 type(size) constraints,------------------------------------------------------------------------);Constraints of tables: NOT NULL, AUTO_INCREMENT, PRIMARY KEY,UNIQUENote: The sequence of Constraints will be : NOT NULL, AUTO_INCREMENT, PRIMARY KEY,UNIQUEExample:CREATE TABLE student(st_id...
at 05:09 | 0 comments | Java, MySQL
How to connect MySQL with Java?
Steps to Connnect the MySQL with JDBC:------------------------------------------1). Download MySQL database.2). Install it.3). Download the mysql-connector-java-5.1.10, it depends on your JDBC version4). It is a type 4 driver.5). Extract the mysql-connector-java-5.1.10 and copy the "mysql-connector-java-[version]-bin-g.jar" into such location where you can find it easily.6). Now set the "CLASSPATH" for that jar file.7). Copy the...
Subscribe to:
Posts (Atom)