Saturday, February 06, 2010

ValueLabs NET Technical Paper

Value Labs .NET Technical Paper (60MINUTES)

1. WRITE A PROGRAM THAT ASKS A USER A FOR 5 NUMBERS AND PRINTS THE AVERAGE OF THESE NUMBERS.

2. WRITE A PROGRAM THAT PROCESSES THE FOLLOWING STRING :

STRING SENTENCE =”LEARNING”C# IS EXTREMELY EASY &FUN,ESPECIALLY AT
PROGRAMMERS HEAVEN ! C#HAS A DATA TYPE BYTE WHICH OCCUPIES 8 BITS AND
CAN STORE INTEGERS FROM -128 TO 127 .”;

Iterate through the string and find the number of letters , digits and
punctuation characters in it and print these to the console.

3.Can we override the properties and apply polymorphism on these?

4.When I compile and run the following program what’s the output?

using System;
namespace CSharp
{
Class Test
{
static void Main()
{
Parent theparent=new Child();
Console.Writeline (“i={0}”, theParent.i);
theParent.MyMethod( );
}
}

class Parent
{
public int i = 5;
public virtual void MyMethod( )
{
Console.Writeline(“I am parent’s mymethod( )”);
}
}
}

class Child : Parent
{
public int i =7;
public override void MyMethod( )
{
Console.Writeline(“I am Child’s mymethod( )”;
}
}
}

5. what is the difference between the destructor and the Finalize( ) method?
When does the Finalize( ) method get called?
6. Abstract classes may contain constructors. When we can’t instantiate the
Abstract classes, what is the use of these constructors?

7.
We all know that sub-classes can call the methods defined in the base-class .
Write a program where a base-class calls the method defined in the subclass ?

8.
What is the basic difference between the String and the StringBuilder class ?
What is the difference between the Intern() and Copy() methods of the string class ?

9. what are delegates ? what are the steps involved in creating an event ? Please explain this by writing a code .

10.
How can we know a state of a thread ?

11. what is .NET Remoting ? which class does the remote object has to inherit ?

12. How can we call methods in remoting asynchronously ? What is Asynchronous One-Way Calls ?

13. What is marshalling and what are different kinds of marshalling ?

14. what are custom controls ? Write a code which defines how to create and use a custom control in ASP.NET ?

15. What are different ways by which a control can be binded with client side scripts in ASP.Net ?

16. Write a code to load and use a dll dynamically in ASP.NET .

17. Write a validation expression for a textbox whose valid format should be in form of hh:mm ( where “hh” signifies as hour between 0-23 and “mm” signifies minutes between 0-59).

18. Write a code to build a datagrid in ASP.NET which displays EmployeeId , name and hiredate. Write the query also to get the same.

19. Related to question 18 above write a code to display the employee Address details in a poop up window which will be displayed on clicking on Employee details in a popup window which will be displayed on clicking on Employee ID. Make sure that there is no DB hit for the second time.

20.
What are the disadvantages of viewstate in ASP.NET.



Tuesday, August 11, 2009

Microsoft Robocopy GUI Free Download and Robocopy Command Lines

Microsoft Robocopy GUI Free Download

Robocopy is an advanced copy utility with has the feature to automatically resume file transfer on error or network disruption, or recover from terminated file copying, plus selective copying based on new or updated criteria. Beside, Robocopy also can preserve all of the file properties and information, including date and time stamps, security access control lists (ACLs) and more while replicating the file. Robocopy is definitely a more useful utility, especially for advanced users. However, Robocopy came built-in in Windows Vista with command line interface only. To ease the task of using Robocopy, a GUI (graphical user interface) has been made available by Microsoft.
Robocopy GUI lets you specify your source and target paths, as well as any custom options or filters you’d like to apply, whether or not you’d like to create a drive mapping, where you’d like to store the resulting logs, and so on. These are all features you can certainly execute with traditional Robocopy command line functionality, but for many, having the options consolidated in a graphical interface may really simplify the process.

Robocopy GUI also extends the functionality of the existing Robocopy tool in some very interesting ways. For example, this tool is multithreaded, allowing you to create a Robocopy script, execute it, and begin creating another one while your first script is still running. It also allows you to save your scripts (even if you don’t actually execute them) so that you can create a library of common scripts or share them with your colleagues. And most importantly, Robocopy GUI allows you to save your default settings so you don’t have to start from scratch every time.

Free Download :
http://download.microsoft.com/download/f/d/0/fd05def7-68a1-4f71-8546-25c359cc0842/UtilitySpotlight2006_11.exe

Robocopy Syntax, Command Line Switches and Examples

Robocopy (Robust File Copy) is a command-line file copying tool in Windows Vista. Although Robocopy is available for free with the download Windows
Resource Kit since Windows NT 4.0, it has never been an official feature of the operating system until the arrival of Vista. Unlike other built-in file copying commands such as Copy and XCopy, Robocopy is designed for reliable copy or mirroring of entire folders of any size, and in the copying process, ensure that all NTFS ACLS, attributes, owner information, alternate data streams, auditing information, timestamps and properties are copied except security information unless explicitly requested with /COPYALL switch. And best of all, Robocopy works over network connections that are subject to disruption or outages with resume copying feature, and has progress indicator on the command line that is useful when copying large files.

Robocopy Syntax

ROBOCOPY source destination [file [file]…] [options]

where source is Source Directory (drive:\path or \\server\share\path), destination is Destination Directory (drive:\path or \\server\share\path) and file is File(s) to copy where names or wildcards can be specified and default is “*.*” (all files).

Robocopy Options and Switches

Copy options :

/S :: copy Subdirectories, but not empty ones.
/E :: copy subdirectories, including Empty ones.
/LEV:n :: only copy the top n LEVels of the source directory tree.

/Z :: copy files in restartable mode.
/B :: copy files in Backup mode.
/ZB :: use restartable mode; if access denied use Backup mode.
/EFSRAW :: copy all encrypted files in EFS RAW mode.

/COPY:copyflag[s] :: what to COPY for files (default is /COPY:DAT).
(copyflags : D=Data, A=Attributes, T=Timestamps).
(S=Security=NTFS ACLs, O=Owner info, U=aUditing info).

/DCOPY:T :: COPY Directory Timestamps.

/SEC :: copy files with SECurity (equivalent to /COPY:DATS).
/COPYALL :: COPY ALL file info (equivalent to /COPY:DATSOU).
/NOCOPY :: COPY NO file info (useful with /PURGE).

/SECFIX :: FIX file SECurity on all files, even skipped files.
/TIMFIX :: FIX file TIMes on all files, even skipped files.

/PURGE :: delete dest files/dirs that no longer exist in source.
/MIR :: MIRror a directory tree (equivalent to /E plus /PURGE).

/MOV :: MOVe files (delete from source after copying).
/MOVE :: MOVE files AND dirs (delete from source after copying).

/A+:[RASHCNET] :: add the given Attributes to copied files.
/A-:[RASHCNET] :: remove the given Attributes from copied files.

/CREATE :: CREATE directory tree and zero-length files only.
/FAT :: create destination files using 8.3 FAT file names only.
/256 :: turn off very long path (> 256 characters) support.

/MON:n :: MONitor source; run again when more than n changes seen.
/MOT:m :: MOnitor source; run again in m minutes Time, if changed.

/RH:hhmm-hhmm :: Run Hours – times when new copies may be started.
/PF :: check run hours on a Per File (not per pass) basis.

/IPG:n :: Inter-Packet Gap (ms), to free bandwidth on slow lines.

File Selection Options :

/A :: copy only files with the Archive attribute set.
/M :: copy only files with the Archive attribute and reset it.
/IA:[RASHCNETO] :: Include only files with any of the given Attributes set.
/XA:[RASHCNETO] :: eXclude files with any of the given Attributes set.

/XF file [file]… :: eXclude Files matching given names/paths/wildcards.
/XD dirs [dirs]… :: eXclude Directories matching given names/paths.

/XC :: eXclude Changed files.
/XN :: eXclude Newer files.
/XO :: eXclude Older files.
/XX :: eXclude eXtra files and directories.
/XL :: eXclude Lonely files and directories.
/IS :: Include Same files.
/IT :: Include Tweaked files.

/MAX:n :: MAXimum file size – exclude files bigger than n bytes.
/MIN:n :: MINimum file size – exclude files smaller than n bytes.

/MAXAGE:n :: MAXimum file AGE – exclude files older than n days/date.
/MINAGE:n :: MINimum file AGE – exclude files newer than n days/date.
/MAXLAD:n :: MAXimum Last Access Date – exclude files unused since n.
/MINLAD:n :: MINimum Last Access Date – exclude files used since n.
(If n < n =" n" n =" YYYYMMDD">

/XJ :: eXclude Junction points. (normally included by default).

/FFT :: assume FAT File Times (2-second granularity).
/DST :: compensate for one-hour DST time differences.

/XJD :: eXclude Junction points for Directories.
/XJF :: eXclude Junction points for Files.

Retry Options :

/R:n :: number of Retries on failed copies: default 1 million.
/W:n :: Wait time between retries: default is 30 seconds.

/REG :: Save /R:n and /W:n in the Registry as default settings.

/TBD :: wait for sharenames To Be Defined (retry error 67).

Logging Options :

/L :: List only – don’t copy, timestamp or delete any files.
/X :: report all eXtra files, not just those selected.
/V :: produce Verbose output, showing skipped files.
/TS :: include source file Time Stamps in the output.
/FP :: include Full Pathname of files in the output.
/BYTES :: Print sizes as bytes.

/NS :: No Size – don’t log file sizes.
/NC :: No Class – don’t log file classes.
/NFL :: No File List – don’t log file names.
/NDL :: No Directory List – don’t log directory names.

/NP :: No Progress – don’t display % copied.
/ETA :: show Estimated Time of Arrival of copied files.

/LOG:file :: output status to LOG file (overwrite existing log).
/LOG+:file :: output status to LOG file (append to existing log).

/UNILOG:file :: output status to LOG file as UNICODE (overwrite existing log).
/UNILOG+:file :: output status to LOG file as UNICODE (append to existing log).

/TEE :: output to console window, as well as the log file.

/NJH :: No Job Header.
/NJS :: No Job Summary.

/UNICODE :: output status as UNICODE.

Job Options :

/JOB:jobname :: take parameters from the named JOB file.
/SAVE:jobname :: SAVE parameters to the named job file
/QUIT :: QUIT after processing command line (to view parameters).

/NOSD :: NO Source Directory is specified.
/NODD :: NO Destination Directory is specified.
/IF :: Include the following Files.

Robocopy Example:

To use Robocopy is simple, just like how you would use Copy and Xcopy commands.
For example, to copy entire folder of C:\Data to C:\DataBackup, simply type:

Robocopy C:\Data C:\DataBackup

Monday, July 20, 2009

Tips To Increase Immediate Traffic To Your Site

1.Get traffic from uploading videos in the internet ,This is the one of the best ways to get traffic.There is a website
called tubemogul where you can upload videos to all video websites.By the way just uploading is only to get traffic ,you should describe why your site is for ,what information is given in your site. then the visitors drive to you immediately .This is the good way to drive traffic.

2.Get traffic from article writing.How would i get traffic from article writing? articlewriting make your blog at the top by search engine optimisation,How?Why?

In your article your blog is named thats why the google see all pages of article sites .Why Google see all page of article sites? Article websites are having good page rank thats why Google watches the article websites.Like That you will get traffic

3.Getting traffic from Some cool Websites Like Blogcatalog,Bumpzee,My Bloglog. These websites are useful for blog website you can make friends with bloggers and exchange information as they are having good page rank.This will help Bloggers
to connect and share with them.

4.Getting traffic from the website called orkut,face book ,these websites
are friendly websites this will help bloggers to get traffic .The friends of you will see your blog is.Get traffic from these websites

5.Search Engine Optimisation will help you to get traffic to the site.Getting traffic from search engines is good idea.

How to get my site in search engines?

the search engines sees the header tag afterwards it see the title tag and search engine also see how many back links there to your site like this search engines see your website and also search engines checks how many ip adresses are having back link with you .Like this google checks the site

6.Get Traffic from banner exchanges .How would i exchange banners?.See that means getting back links indirectly .This will help you to improve traffic these are the real methods to get traffic.

#1 - Search Engine Listings

Obviously, if you are not listed with the major search engines, people who go to search engines to search for different products and information will not stumble upon your website. Start with the larger more popular search engines and get your URL listed. This does not take a lot of time to get started and is something you should do immediately.

#2 - Search Engine Optimization

Getting listed with the search engines is important, but optimizing your site so that it ranks well is equally important. Find out what keywords people are searching for regarding your content and then include them on your website to get more traffic.

#3 - Quality Content

Quality content is important if you want large search engines to list you, and it is also a great way to include the many keywords you will need to drive up your ranking in the search engines and to get more people to visit your site. Also, if you have quality content once the visitors are at your site, they will be more likely to stay.

#4 - Trade Links

Trading links with other websites can be done as quickly as propositioning another site through an email. The more links you have to your website, the more traffic you will receive. Plus, lots of links help you climb to the top of the search engines as well, which is very important for driving visitors to your website.

#4: Submit your articles

Any articles that you write should be submitted to as many sites that accept articles as possible. This is important because sites that accept and include your articles in their article banks establish links for you and you are not obligated to reciprocate.

#5: create and upload videos increases traffic

Many people dont create a videos of their products and the information that the blog or website provides in the internet,uploading videos in the popular websites like youtube,msn,yahoo,myspace will increases not only traffic it also increases page rankings of the Blog or website.

#6: social bookmarking sites
The sites like digg.com , delicious.com are the bookmarking sites that helps the blogs to get traffic, it also gives backlink to your blogs which helps in increasing page ranking.

Thursday, July 16, 2009

Jokes, Cartoon , Humour , Funny Jokes …sites and links

This summary is not available. Please click here to view the post.

JobSites in INDIA

JobSites in INDIA

Hyderabad Emergency Services

Hyderabad Emergency Services

* 24-hr Pharmacies * Ambulance * Blood Banks
* Eye Banks * Fire * Fuse Call
* Govt Hospitals * Medical Services * Oxygen
* Police

24-hr
Pharmacies
Name Phone No
Apollo Pharmacy 23601380
Health Pharmacy 23310618
Kamineni Pharmacy 24022272 to 76
Medwin Pharmacy 23202902/4621

TOP ….more info www.jaganinfo.com


Ambulance
Name Phone No
Free service 102
CDR Ambulance 23456789
Apollo 23548888
AP Centre for Emerg. Medicare (Apathbandu) 24603566

TOP


Blood Banks
Name Phone No
Gandhi Hospital 27702222
Govt. Chest Hospital 23814421/22
Govt. ENT Hospital 24740245/24742329
Heritage Medical Centre 23730202/23736650
Bhanji Kheraj Blood Bank 24745243
CDR Blood Bank 23221221 Ext. 4558
Kamineni Blood Bank 24022272 to 76
Institute of Transfusion Medicine and Research 23319491
Matadin Goel Blood Bank 23226624
Medwin Blood Bank 23202902/4616
Modern Blood Bank 24731976/24606106

TOP….more info www.jaganinfo.com


Eye Banks
Name Phone No
Ramayamma International 23548266
Sarojini Devi Eye Bank 23317274
Kapadia Eye Bank 23317274
Chiranjeevi Eye Bank 23359066
L V Prasad Eye Bank 23548267

TOP….more info www.jaganinfo.com


Fire
Name Phone No
Fire 101
Divisonal Fire Office 26500102/3/ 23260091

TOP


Fuse Call
Name Phone No
General Complaints 1912
Electricity Control Room 23232051
Abids 24734941
AC Guards 23310691
Ashoknagar 27616140
Indira Park 27611424
Amberpet 27037540
Asmanghad, Saleemnagar 24069306
Azamabad 27664283
Balanagar 23771258
Banjara Hills 23356862
Begumpet 23313987
Bolaram 27862116
Bowenpally 27750912
Bolaram 27862116
Bowenpally 27750912
Chaderghat 24528351
Champapet 24068340
Chanchalguda 24527024
Chandulal Baradari 24520286
Charminar 24521106
Clock Tower 27704637
Falaknuma 24440411
Feelkhana 24614591
Gachi Bowli 23010362
Gandhi nagar 27611424
Gunfoundry 23235305
Gymkhana, Sec’bad 27840342
Himayatnagar 27638577
Indira Park 27616140
James Street 27844336
Lalbazar 27744406
Malkajgiri 27053266
Mehdipatnam 23514020
Moghulpura 24523149
Musheerabad 27664283
Moula Ali 27120765
Narayanaguda 23223389
Padmarao nagar 27615109
Sanjeeva Reddi Nagar 23730213
Santoshnagar 24530479
Sanatnagar 23704249
Saroornagar 24045522
Sitaphalmandi 27616372
Sitarampet 24732553
Sultanbazar 24656509
Somajiguda 23235300
Tarnaka 27821633
Yellareddiguda 23742589

TOP….more info www.jaganinfo.com


Govt Hospitals
Name Phone No
Dental Hospital 24601930
ESI, Erragadda 23700531
Cancer Hospital 23318422
ENT, Koti 24740245
Fever Hospital, Nallakunta 27667844
Gandhi Hospital, Secunderabad 27702222
Golconda Hospital 23513776
Govt. Maternity Hospital, Koti 24653647
Homeopathy Hospital 24046817
King Koti Hospital 24756085
Koti Maternity Hospital 24653647
Mental Hospital, Erragadda 23814441
Military Hospital, Secunderabad 27792580
MNJ Cancer Hospital, Red Hills 23318422
Niloufer Hospital (for children), Red Hills 23391652
NIMS, Panjagutta 23320332/23314887
Nizamia Gen. Hospital 2524422/2524424
Osmania General Hospital, Afzalganj 24600121/24
Railway Hospital, Secunderabad 27001134
SD Eye Hospital, Mehdipatnam 23317274
State TB Centre, Erragadda 23811797

TOP


Medical Services
Name Phone No
LV Prasad Eye Institute 23608262
Andhra Mahila Sabha 27617801
Apollo Hospital 23608856
Apollo Heart Institute 23548888
Care Hospital (Hyderabad) 24735465-70
Care Hospital (Secunderabad) 27706252/27717452
Care Hospital (Yellareddyguda) 23742589
Mahavir Hospital 23393134
Mediciti 23237644
Kamineni Hospital 24022272-76
Medinova 23311122/23311133
Medwin Hospital 23202902/4000
CDR Hospital (Hyderguda) 23221221
Niloufer Hospital 23391652
Osmania General Hospital 24600122
St. Theresa’s Hospital 23701013
The Nizam’s Institute of Medical Sciences 23320332/23318120
Vijay Marie Hospital 23315055
Yashoda Superspeciality Hospital (Somajiguda) 23312642/9999/1022
Yashoda Superspeciality Hospital (Malakpet) 24555555 /24547070
Oxygen Cylinder/Bed Service 24740108
Cancer Hospital 23318422

TOP


Oxygen
Name Phone No
Asiatic Indl. Gases 23095911
IOL, Sanathnagar 23811756
OXEE Co 23701710

TOP


Police
Name Phone No
Police 100
Crime Stopper 1090
Police Exchange 23230191
Police Control Room (City) 23232222
Police Control Room (RR dt) 23235398
Traffic Police 23234065
Cooking Gas Emergency Cell 27801123

GENERAL KNOWLEDGE

GENERAL KNOWLEDGE

GKindia
www.gkindia.com

Globalknowledge
www.globalknowledge.com

CURRENT AFFAIRS

Indiacurrentaffairs
www.indiacurrentaffairs.com

IQtest
www.iqtest.com

Exploratorium
http://www.exploratorium.edu/memory

Dictionary
www.dictionary.com

Encylopedia
www.encylopedia.com


Voycabulary
www.voycabulary.com

PUZZLES PRIZES Etc.,

Contests2win
www.contests2win.com


Puzzles
www.puzzles.com


Thinks
www.thinks.com


Puzz
www.puzz.com


Cluemaster
www.cluemaster.com


Mathpuzzle
www.mathpuzzle.com


Crossword-puzzles
www.crossword-puzzles.co.uk


Bestcrosswords
www.bestcrosswords.com


Cricinfo
www.cricinfo.com

CONTESTS

contest2win
www.contest2win.com


Glamsham
www.glamsham.com

CONTESTS FOR YOUTH

Zatang
www.zatang.com


MTVindia
www.mtvindia.com

QUEST

Lovingyou
www.lovingyou.com


Dqindia
www.dqindia.com


Indiaquest
indiaquest.net


keen
www.keen.com


Useekufind
www.useekufind.com


NEWS PAPERS in INDIA

NEWS PAPERS in INDIA

Times of India
www.timesofindia.com
Economic Times
www.economictimes.com
India Today
www.india-today.com
Outlook India
www.outlookindia.com
The Hindu
www.hinduonline.com
Deccan Chronicle
www.deccan.com
Samachar
www.samachar.com
Time Magazine
www.pathfinder.com
Andhra Prabha
www.andhraprabha.com
Vaartha
www.vaartha.com
Andhra Bhoomi
www.andhrabhoomi.com
World Wide News
www.worldwidenews.com
Hindustan Times
www.hindustantimes.com
Business World
www.buinessworld.com
Femina India
www.feminaindia.com
Asian News
www.newasia.com
Film Fare
www.filmfare.

Baby Names in India

Hindu Baby Names
Christian Baby Names
Muslim Baby Names