Posts

Showing posts from October, 2008

Reset Text Boxes in ASP.Net

Well a small tip on ASP.NET. Sometimes when creating some user input page we need to clear all the text boxes. One example of this can be a reset or cancel button. Here is a way to do this, iterating through the ASP.Net TextBox controls in a form. Just create a Reset type subroutine - in that routine, use the following code: in C# - it would be: Control myForm = Page.FindControl("Form1"); foreach (Control ctl in myForm.Controls) if(ctl.GetType().ToString().Equals("System.Web.UI.WebControls.TextBox")) ((TextBox)ctl).Text = ""; This will clear EVERYTHING from the textboxes - even if you had them pre-populated with data. Very neat!! Enjoy Programing.. Related Article: Reset Text Boxes in ASP.Net Part 2

Nokia 5800

Image
Touch Touch,, Every thing starts with touch Yes. I love the Technology and this time I am digging Nokia 5800. In the past few months, the Nokia has often been criticised for having missed the `touchscreen' bus. Well by this nokida has also joined the race with iPhone, HTC, BlackBerry Storm etc. Nokia has also entered into the Touch Screen War. Nokia aims to regain market share with Nokia 5800. Nokia’s initial touchscreen device which is the best competition for Apple’s Iphone.Resembling Apple’s iPhone, the upcoming Nokia 5800 Tube will be equipped with 3.2 inch touchscreen display having 16 million colors, 3.2 MP camera with auto-focus and GPS. Click here to know more....

BlackBerry® Storm™

Well new season new mobile.. Apple, Nokia, Sony, HTC and now guys its the turn of the old lion of the market. BlackBerry yes u guessed it right.. so all you BlackBerry lovers and all you corporates..... wait for this one, this will take you by storm as its name is BlackBerry® Storm™. And not to forget this beauty is launched by Vodafone. Hmmm as always some gyan on features: 1. BlackBerry Storm smartphone has huge 3.25" high-resolution screen (480 X 360 pixels). 2. When it comes to messaging, everyone's different. So you can choose from one of three styles of keyboard. Size & weight Length: 112.5mm Depth: 13.95mm Width: 62.2mm and and its also lightweight (no no I am not talking about ue pockets ha ha). Its only 155g (battery included). It has Expandable memory upto 16GB. Very desirable Built-in GPS and BlackBerry Maps. and Mobile internet ofcourse. and not to forget the heart of a blackberry. Yes I am talking about emails. As you'd expect from BlackBerry®, email is a

I love Delhi - A brief

Well as promised and demanded here is the first post on Delhi. Delhi sometimes referred to as Dilli (pyaar se) is the second largest metropolis of India, with a population of 17 million, and a federally-administered union territory officially known as the National Capital Territory of Delhi (NCT). Located on the banks of river Yamuna in northern India, archaeological evidence suggest that Delhi has been continuously inhabited since at least 6th century BC. History : O yes yes many of you (me also) do not like this subject,, but without history... no present, no future... so belive me,, it is intersting Delhi has been built and re-built more than 5 times at different sites in and around Delhi but the correct reference is found in the Mahabharatha as the city of Pandavas, also called Indraprastha some 3000 years ago. Until the influx of outsiders, Delhi was home to the Hindu rulers somewhere during the 12th century. Muslim rule in India was established in 12th century after Mohammed Gaur

Delhi My Delhi

Delhi My Delhi: Writing about delhi is almost writing about myslef. This city Delhi is my city. I am one with delhi. Yes guys I am starting a new segment in my blog I Love Delhi . Will try to touch many aspects about delhi, its life, and much much more.... Hope U all will like it.. Continuing Delhi: Well opened my eyes first in delhi only. I am a hardcore delhite. I have grown with this city. In fact we both have been testimony of each others growth. "Haan maine dekha hai Dilli ko badte aur badulte". Delhi is said to be "City of Bade Dilwale". People say people in delhi have big hearts. Yes we have... (will continue in next article)

India on Moon

Image
India on Moon: Moon, moon and moon,, we all have always been fantasized by this heavenly body. We have always admired its beauty so much so that it has become a part of our life, rituals, poems and even literature. But all this was from a distance of 384403 km. But now its our turn to take on this beauty. we have taken steps to come out of our fantasies and take a closer look to this most cherished heavenly body. Yes its our India turn to be on Moon. India's first mission to the moon, will lift off from the Satish Dhawan Space Centre at Sriharikota in Andhra Pradesh Oct 22, if there whether permits. The Chandrayaan-1 mission involves placing a 525-kg spacecraft in lunar orbit to help expand scientific knowledge about the moon besides upgrading India's technological competence and providing challenging opportunities for planetary research to the younger generation. The spacecraft, named andrayaan-1, will orbit the Moon, surveying its surface with high-resolution equipment. Hey

Navigational system

Image
Navigational system This one is really for me.. man and in fact for all you out there for whom navigating the ways.. roads, lights,, signals,, landmarks seems like a big Zig Zaw puzzle or a Egyptian mystry... here comes the rescue ranger... The all new R710 portable navigation device (PND) from ASUS. The Asus R710 PND is said to be the world’s first navigational system to incorporate PathFinder HUD (Heads-Up Display) technology. This technology ensures the ability to project various navigational instructions such as directions and speed on the windshield in front of the driver hmmm my time on road . This eliminates the need to shift the users’ vision from driving to the screen of the device. Besides, the sleek GPS navigator features a large 5-inch touchscreen TFT display with a resolution of 480 x 720 pixel , a support for Bluetooth handsfree 2.0 functions with echo-cancellation chip, an integrated light sensor and a 2 GB flash memory. Well so all you go put on the shoes.. hit your car

HTC Mobiles... hit it

Image
Hi All, Once again I am back with mobiles, as this is one gadget that always fantasize me. Moreover these days my inclination towards the mobiles specially touch screen have grown many folds.. Apple ya,.. well I was not very impressed with the latest launch of Apple in India. Though AT&T brings iPhone 3G to Puerto Rico and the U.S. Virgin Islands. Still I have started with HTC this time: For You all tech and net savvy creatures as The Internet and messaging experience becomes so much richer with the large LCD display with all new mobiles, this baby with Windows Mobile 5.0 with Direct Push keeps you always up-to-date with your e-mails, calendar appointments, and contacts, Internet Explorer? Mobile promises the smooth surfing of web pages. With Office Mobile you can manage your office documents, such as Word, Excel, PowerPoint, Acrobat files, and be more productive wherever you are. Well well super cool is the styling quotient of this new baby. Check out the first pic..... and

Visual Studio 2005 IDE Short Cuts

Hi Readers, I believe that as a programmer we all are from the lazy lots . We always try n find the possible shortcuts for every thing we do. Well I seem no harm in this!! we just wanna make life simpler and faster. I have been working on the Visual Studio 2003 and Visual Studio 2005 for the development of my projects. So I thought of bringing shortcuts of this beautiful and powerful IDE to you. Huh!!! ya ya I know there are plenty you will find on net guys so what new...Most people don't know this, but there are actually over 450 keyboard shortcuts in Visual Studio by default. But there is no easy way to find out all the keyboard shortcuts inside Visual Studio. Dear all this time I will bring a small code snippet with which you can actually produce a HTML file that will contain all the short cuts.. So here it is for all power users: Macro to generate Keyboard Shortcuts in HTML 1. Open the Visual Studio 2005 IDE 2. Go to Tools 3. select Macros, and then choose Macros IDE (or you ca

Windows 7 In 2010-explained

Image
Windows 7, (formerly codenamed Blackcomb and later Vienna) is the working name for the next major version of Microsoft Windows as the successor to Windows Vista. Microsoft has announced that it is "scoping Windows 7 development to a three-year timeframe". It is generally believed that the OS would ship in the 2010 timeframe. Windows 7 will be coming in both client and server versions. The client versions available in both 32-bit and 64-bit editions. The server version of Windows 7, Windows Server 2008 R2, is 64-bit only. Features: According to reports sent to TG Daily , the Milestone 1 build of Windows 7 adds support for systems using multiple heterogeneous graphics cards and a new version of Windows Media Center. New features in Milestone 1 also reportedly include Gadgets being integrated into Windows Explorer, a Gadget for Windows Media Center, the ability to visually pin and unpin items from the Start Menu and Recycle Bin, improved media features, the XPS Essentials Pack

Windows 7 - In 2010

So readers, probably we all agree to the fact that window vista was a mixed OS. People liked(fewer system crashes than Windows XP) and disliked (security no new application,no search on the desktop,there are too many editions of Windows Vista)......was not a big hit in the market. Well then what as always Microsoft is ready with a new one Window 7. These guys have a never say die attitude and they learn from failures.. But now the Window 7 is about to release. Some Gyan about window 7: Windows 7, (formerly codenamed Blackcomb and later Vienna) is the working name for the next major version of Microsoft Windows as the successor to Windows Vista. Microsoft has announced that it is scoping Windows 7 development to a three-year timeframe", and that "the specific release date will ultimately be determined by meeting the quality bar. Read More...

Windows 7 - In 2010

So readers, probably we all agree to the fact that window vista was a mixed OS. People liked(fewer system crashes than Windows XP) and disliked (security no new application,no search on the desktop,there are too many editions of Windows Vista)......was not a big hit in the market. Well then what as always Microsoft is ready with a new one Window 7. These guys have a never say die attitude and they learn from failures.. But now the Window 7 is about to release. Some Gyan about window 7: Windows 7, (formerly codenamed Blackcomb and later Vienna) is the working name for the next major version of Microsoft Windows as the successor to Windows Vista. Microsoft has announced that it is scoping Windows 7 development to a three-year timeframe", and that "the specific release date will ultimately be determined by meeting the quality bar. Read More...

Microsoft Home Server-explained

* Centralized Backup - Allows backup up to 10 PCs, using Single Instance Store technology to avoid multiple copies of the same file, even if that file exists on multiple PCs. * Health Monitoring - Can centrally track the health of all PCs on the network, including antivirus and firewall status. * File Sharing - Offers network shares for computers to store the files remotely, acting as a network-attached storage device. Separate categories are provided for common file types like Documents, Music, Pictures and Videos. The files are indexed for fast searching. * Shadow Copy - Takes advantage of Volume Shadow Copy Services to take point in time snapshots that allow older versions of files to be recovered. * Headless Operation - No monitor or keyboard is required to manage the device.Remote administration is performed by using the Windows Home Server Console client software provided in the bundle. Also supports Remote Desktop connections to the server while connected to the same LAN. * Remo

Microsoft Home Server

Image
Well Well Well, so we all have heared about the servers. Yes one of those big, powerful machines we have always seen in big AC rooms of our companies. Seems that these can manager it all. Dont know about others but I have always wished one of these in my home also. Seems tall story, huh!! not know... Welcome to the new "Microsoft Home Server" . Some Gyan about Microsoft Home Server : With Windows Home Server, you can easily back up, access, share, and store all your family's digital media. Features at a glance: # Digital memories and media stored and organized in a central location # Home computers backed up daily, automatically # Simple restore of lost files or even entire hard drive contents # Complete access to files from both inside and outside the home # A secure and personalized website address for sharing photos and home videos # Easily add storage space and new software capabilities Click to learn more about Windows Home Server features

Attach / detatch a database

Well we have know how to attach or detach the database in sql server through the Enterprise manager.. hmmm we have got used to it... (if any one wanna know how to do this enterprise manager then let me know) But dear all lets do Attach / detatch of a database with sql commands: Open the query analyzer, and enter either To detatch the database sp_detach_db your_database_name To attach a database sp_attach_single_file_db @dbname = 'your_database_name', @physname= 'D:\MSSQLData\data\your_database_name.mdf' Note: The @physname is the physical path of your .mdf file. Remarks: The detached files remain and can be reattached using sp_attach_db or sp_attach_single_file_db. The files can also be moved to another server and attached.