"If at first you don't succeed; call it version 1.0" :-Unknown

Pages

Friday, December 24, 2010

passing array from one page to another using session

passing array from one page to another using session.


string[] array = new string[] { "ds", "dsd", "dsf" };  
// putting array into the session   
Session["MyArray"] = array;  
// getting array from session  
array = Session["MyArray"] as string[]; 


Have a nice day... 'N happy Coding :)

Monday, December 20, 2010

programically detect current aspx page name

Hi frienz,
last day my friend ask me abt this. i give him a solution but that's a long code, taking url from browser and help of split function catching the page name. Later he give me an another on just simple 2 line. I love Snipers.


String FileName = this.AppRelativeVirtualPath;
FileName = Path.GetFileName(FileName); 

Have a nice day... 'N happy Coding :)

Thursday, December 9, 2010

Download myshedular 0.0.1.1 Beta

Hi Friendz,
As i promise before, abt fixing bugs and adding new features to myshedular.I done some up-gradation to this project


newly improved in 0.0.1.1 Beta

  1. icon and background colour added,
  2. showing the application name,
  3. can add time dynamically,
  4. after stoping app giving options [ Do nothing, Lock, Sleep, Hibernate ]




and u can download code,application file, exe from here . Still it has bugs and drawback in coming day's i will try to wipe those. Pls sent me abt ur option to changing the code and features, and we can make it possible.

Have a nice day... 'N happy Coding :)