Posts

Showing posts from February, 2013

How to use IndexOf function c#.net

Substring : "The IndexOf method in string Class in C# returns the index of the first occurrence of the specified substring.." How to Use :  int number = string.IndexOf(string str) Input Parameter :          str = (string) Output Parameter :        int number Example  ::  / ////////////////////////  CODE   ///////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace IndexOf {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void button1_Click(object sender, EventArgs e)         {             string str = null;             str = "driver driveing a car";             MessageBox.Show(str.IndexOf("driveing").ToString());         }     } } //////////////////////////////  OUTPU

How to use Substring function c#.net

Substring : "Substring in C# string Class returns a new string that is a substring of this string. The substring begins at the specified given index and extended up to the given length.." How to Use :   string  string.Substring(strat index,length) Input Parameter :          start index = (Int)          length = (Int) Output Parameter :        string Example  ::  / ////////////////////////  CODE   ///////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Substring {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void button1_Click(object sender, EventArgs e)         {             string str = null;             string retString = null;             str = "This is Nirav M. patel";

How to use Copy function c#.net

Copy : "This function copy the one string to second string ." How to Use :   string  string.Copy(string str) Input Parameter :          str1 = (string)          str2 = (string) Output Parameter :        string Example  ::  / ////////////////////////  CODE   ///////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Copy {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void button1_Click(object sender, EventArgs e)         {             string str1 = null;             string str2 = null;             str1 = "Nira daraniya";             str2 = string.Copy(str1);             MessageBox.Show(str2);         }     } } //////////////////////////////  OUTPUT   ///////////////////////// Nira daraniya //////

Fwd: How to use Compare functionin c#.net

Compare : "This function compare  both the given string ,The comparison is based on the Unicode value of each character in the string." How to Use :   int no = string.Compare(string str1,string str2) This will return value is give below : Input Parameter :          str1 = (string)          str2 = (string) Output Parameter :          no = (Int) Integer : returns  > 0  ,  0  ,  < 0 < 0 : str1 is less than  str2 (0) zero : str1 is equal to str2 > 0 : str1 is greater than str2 Example  ::  / ////////////////////////  CODE   ///////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Compare {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void button1_Click(object sender, EventArgs e)         {             s

How to use Contains method in c#.net

Contains : "This methode will return true if your specified string is mathes in given string or return false " How to Use :         bool strmain.Contains(" string strsub")       Input Parameter :          strsub = (string)   Output Parameter :          strmain = (string) Example  ::  / ////////////////////////  CODE   ///////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Contains {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void button1_Click(object sender, EventArgs e)         {             string str = null;             str = "Nirav daraniya is app developer";             if (str.Contains("app") == true)             {                 MessageBox.Sho

How to use Concat methode in c#.net

Concat : "This methode will add or sum or join two string and give single string as an output " How to Use :         String str = string.Concat( String str1,String str2) Input Parameter :          str1 = (string)          str2 = (string) Output Parameter :          str = (string) Example  ::  / ////////////////////////  CODE   ///////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace StringConcat {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void button1_Click(object sender, EventArgs e)         {             string str1 = "Nirav";             string str2 = "Daraniya";             string str = "";             str = string.Concat(str1, str2);             MessageBox.Show(str)

How to publish txtweb appliccation.

Publish txtweb application with PHP code Publishing txtweb application with asp.net code -- /\/ir@\/  <(.'.)>

How to make txtweb application in asp.net platform

hi guys welcome to my blog............... txtweb is a one sms based plat form.if you want to make any application in txtweb in php language the follow following steps. 1)  Make txtweb account. 2)  log in to your account. 3) decide your application name and check this name is available or not. for this go to create new services. 4) decide your keyword and check it available. 5) if yes then make it "save and next". 6) it will display congratulation message with service key. - Now for example we want to make one app which print "Jay hanuman Jy madi"  than write code something like . ------------------------------------------------------------------------------------------------- nirav.aspx ------------------------------------------------------------------------------------------------ <%@ Page Language="C#" AutoEventWireup="true" CodeFile="nirav.aspx.cs" Inherits="niravasp" %> <!DOCTYPE html PUBLIC "

How to make txtweb application in PHP.

hi guys welcome to my blog............... txtweb is a one sms based plat form.if you want to make any application in txtweb in php language the follow following steps. 1)  Make txtweb account. 2) log in to your account. 3) decide your application name and check this name is available or not. for this go to create new services. 4) decide your keyword and check it available. 5) if yes then make it "save and next". 6)it will display congratulation message with service key. - Now for example we want to make one app which gives what you type  number than write phpcode something like . ------------------------------------------------------------------------------------------------- addition.php ------------------------------------------------------------------------------------------------ <html>     <head>         <meta name="txtweb-appkey" content="xxxxxxxxx - xxxxxxxxx - xxxxxxxxx - xxxxxxxxx" />         <title>Jay Hanuman - Ja

Ho to get information about any student of GTU, Getting information about any GTU student

Image
-- /\/ir@\/  <(.'.)>

Download folder background changer,how to change the back ground of folder in wind 7

Image
This will help you to change the background of folder. Click here to download Click here to download -- /\/ir@\/  <(.'.)>