For smart Primates & ROBOTS (oh and ALIENS ).

Saturday, July 19, 2014

Post Xml data without form in JSP and receive

How to post xml data in JSP page without form field and get it's data in the next JSP page. The first file post-data.jsp is just taking xml data form xml file and sending xml data as a post to the get-post.jsp page. first file is: post-data.jsp -------------- < %@ page import="java.net.*" % > < %@ page import="java.io.*" % > < %@...
Share:

Friday, July 11, 2014

Add html tag dynamically in html

Add html tag dynamically in html <script src="jquery-2.1.1.js" language="javascript" type="application/javascript"></script> <script type="text/javascript">     $(document).ready(function () {         var ID = 1;         function addRow() {            ...
Share:

Display content with delay in jquery

Display content with delay in jquery Some time you want to show some data with delay, then use the listed below code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;...
Share:

Fieldset in html

Fieldset example in html ---------------------------- Fieldset is very useful to combine the more than one information which you want to show or feed data entry. actually it will block the more than one columns (all colums will be shown in one box with header heading). <fieldset style="text-align:right; width:300px;" accesskey="c"> <legend><b>Address...
Share:

Tuesday, July 08, 2014

Sum datagridview cell by button click c#

If you have enter many records in datagridview in c# winform and want to show the sum of any cell values for example: "mark" cell, then you needed to retrieve each datagridview row and add it's value in other variable.... but we want to do this not using iteration.. thwn what we will do? Use listed below code to achieve target: --------------------------------------------------------------------------------------------------- string...
Share:

Sort Datagridview column by button click c#

Sort Datagridview column by button click c# If you have added the random records in your Datagridview C# winform and want to show records by any column on button click then use this: ------------------------------------------------------------------------------------- dataGridView1.Sort(dataGridView1.Columns[1], ListSortDirection.Ascending); ------------------------------------------------------------------------------------- OR ------------------------------------------------------------------------------------- dataGridView1.Sort(dataGridView1.Columns["mark"],...
Share:

Saturday, July 05, 2014

Image rotate in jQuery

Image rotate in jQuery <!DOCTYPE html> <html> <head> <script type="text/javascript" src="jquery.js"></script> </head> <body> <img style="transform: rotate(285.4deg);" id="myimg"  src="WOW.jpg"> <script type="text/javascript">     jQuery(function($) {        ...
Share:

Send Files to IP address in C#

If there are you situation you want to send file to IP address, then use listed below code: string sourceDir = @"C:\\tt"; string destIP = @"\\10.10.10.10\shared-folder-amit"; string[] sourceFiles = Directory.GetFiles(sourceDir, "*", SearchOption.AllDirectories); foreach (string files in sourceFiles) {   string localFile = files.Replace(sourceDir,...
Share:

CodeIgniter Undefined property CI_Loader $session codeigniter error

Problem: If you works in CodeIgniter and play with session then you can get this error message : Undefined property: CI_Loader::$session CodeIgniter Undefined property CI_Loader $session codeigniter error A PHP Error was encountered CodeIgniter CodeIgniter error  Severity: Notice Message: Undefined property: CI_Loader::$session Solution: It...
Share:

selected check box record from DataGridView c# winform

Suppose you have a DataGridView with the check box. Data are showing and you want to store only those data that's check boxes is selected, so what you will do? In simple you will use the loop which will retrieve all data from DataGridView from first row to last row and in that loop check the condition is which rows’s check box is selected. It is...
Share:

Ads Inside Post

Powered by Blogger.

Archive