Blogspot - ajaypatelfromsanthal.blogspot.in - Ajay Patel's

Latest News:

Signature control using Canvas 22 Aug 2013 | 05:48 pm

Normal 0 false false false EN-US X-NONE X-NONE <script type="text/javascript"> var ctx, cnvs; $(document).ready(function () { cnvs = document.getElementById("cnv...

CRUD in WebSQL 19 Aug 2013 | 01:47 pm

Normal 0 false false false EN-US X-NONE X-NONE Here is example of WebSQL, for Offline database at client side. The database will stored at client’s browser and only Google Chrome and Safari ar...

Accordian with Jquery 19 Aug 2013 | 10:07 am

  <script src="Scripts/jquery.js"></script> <style> .Test { width: 300px; height: 30px; background-color: #808080; cursor: po...

Convert Dataset to List Using Linq 23 Jul 2013 | 09:38 am

Normal 0 false false false EN-US X-NONE X-NONE public void test() { DataSet ds = new DataSet(); ds.Tables[0].Rows.Cast<System.Data.DataRow>().Select(p => new TestList() { Na...

Get Previous page Viewstate from this Page 23 Jul 2013 | 09:36 am

Normal 0 false false false EN-US X-NONE X-NONE Normal 0 false false false EN-US X-NONE X-NONE Page1.aspx : void btn_Click(object sender, EventArgs e) { ViewState["Test"] = "Ajay";.....

Get Number from string 21 Jun 2013 | 07:27 pm

Normal 0 false false false EN-US X-NONE X-NONE Get Number included in string with alphnumerical characters and special characters for ex.     AH23K4!%7     will returns as  2347 Her...

Download document using C# 23 May 2013 | 08:54 am

Normal 0 false false false EN-US X-NONE X-NONE private void download(string filepath) { string filename = Path.GetFileName(filepath); System.IO.Stream stream = null; try { // Open the fi...

Extension Method in C# 10 May 2013 | 09:28 am

Normal 0 false false false EN-US X-NONE X-NONE protected voidButton1_Click(object sender, EventArgs e) { string a ="AP"; a.DoChange("A", "P"); Normal 0 false false false EN-US X-NONE...

Return anonymous type from function 10 May 2013 | 09:23 am

Normal 0 false false false EN-US X-NONE X-NONE private object AB() { return new { A = 10, B = "ac" }; } private dynamic AB1() { return new { A = 10, B = "ac" }; } public static T Cast ...

Get List of computers connected in LAN 10 May 2013 | 09:06 am

Normal 0 false false false EN-US X-NONE X-NONE using System.Net.NetworkInformation; List IP = new List (); private voidbutton1_Click(object sender, EventArgs e) { Ping obj = new Ping(); f...

Recently parsed news:

Recent searches: