<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-132093274008473757</id><updated>2024-09-05T04:17:11.680+05:30</updated><category term="Software"/><category term="Age Calculation"/><category term="Artificial Keys"/><category term="Cashing"/><category term="ComboBox Binding in C#"/><category term="Compair table"/><category term="Data cashing"/><category term="Database Management System"/><category term="Database Use"/><category term="Datagridview binding"/><category term="DateTimePicker"/><category term="Define key Attributes"/><category term="Foreign key in SQL"/><category term="Hosting coupons"/><category term="Identify Foreigh key"/><category term="Input Box in C#"/><category term="Primary key"/><category term="Read only comboBox in C#"/><category term="SQL Caching"/><category term="Windows XP Shortcut Keys"/><category term="asp.net"/><category term="output caching"/><category term="web development"/><title type='text'>Raman&#39;s</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ramanwebsoft.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-9188140607732659963</id><published>2013-04-24T17:29:00.001+05:30</published><updated>2015-03-25T17:12:31.490+05:30</updated><title type='text'>How to change life</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 27px; line-height: 30px;&quot;&gt;जिद जिसने बदल दी जिंदगी&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; id=&quot;content&quot; style=&quot;color: black; font-family: Mangal,Arial,Helvetica,sans-serif; font-size: 14px; line-height: 20px; margin: 0px; padding: 0px; text-align: justify;&quot;&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: #161613; border: 2px solid rgb(131,153,175); float: left; margin: 0px 10px 5px 0px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;div style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;
&lt;img alt=&quot;Cover story: august 2012 &quot; border=&quot;0&quot; src=&quot;http://images.jagran.com/images/08_2012_1-sak7152.jpg&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
जिद नाम है उस हौसले का जिसमें नामुमकिन को मुमकिन बनाने का जुनून हो। बिरले ही होते हैं ऐसे जिद्दी लोग और उनके मजबूत इरादों के सामने दुनिया घुटने टेकने को मजबूर होती है। लगभग 1200&amp;nbsp; आविष्कार करने वाले अमेरिकी वैज्ञानिक थॉमस अल्वा एडिसन की प्रतिभा को उनके शिक्षक भी पहचान न सके। दिन-रात कल्पना की दुनिया में खोए रहने वाले एडिसन को वे मंदबुद्धि मानते थे। इसी आधार पर उन्हें स्कूल से निकाल दिया गया था। निर्धन परिवार में जन्मे एडिसन&amp;nbsp; ट्रेन में अखबार &amp;nbsp;बेच कर गुजारा करते थे। बिजली के बल्ब का आविष्कार करने के दौरान उनके सौ से भी ज्यादा&amp;nbsp; प्रयास विफल हुए। लोगों ने उनका बहुत मजाक उडाया और उन्हें भविष्य में ऐसा न करने की सलाह दी। फिर भी उन्होंने हार नहीं मानी। अंतत: &amp;nbsp;जब बल्ब की रौशनी से दुनिया जगमगा उठी तो लोग हैरत में पड गए। एडिसन को अपनी कोशिशों पर पक्का यकीन था। इसीलिए वह अडिग रहे। आसान नहीं होता अपनी बात पर अडिग रहना, पर जिसके इरादों में सच्चाई हो, उसे दुनिया की कोई भी ताकत झुका नहीं सकती।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
&lt;b&gt;हौसले की होती है हमेशा जीत&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
जब भी दृढ इच्छाशक्ति की बात निकलती है तो दुष्यंत कुमार का यह शेर हमें बरबस याद आ जाता है- कैसे आकाश में सूराख हो नहीं सकता/ एक पत्थर तो तबीयत से उछालो यारों..। साधनों की कमी की शिकायत करते हुए खुद&amp;nbsp;कोई प्रयास न करना तो बेहद आसान है। ज्यादातर लोग करते भी यही हैं, लेकिन कुछ ऐसे भी होते हैं, जिनकी इच्छाशक्ति ही उनकी सबसे बडी पूंजी होती है। बिहार के गया जिले के छोटे से गांव गहलौर&amp;nbsp; के दलित मजदूर दशरथ मांझी की जिद के आगे पर्वत को भी झुकना पडा। उन्होंने राह रोकने वाले पहाड का सीना चीर कर 365&amp;nbsp; फीट लंबा और 30&amp;nbsp; फीट चौडा रास्ता बना दिया। दरअसल पहाडी का रास्ता बहुत संकरा और उबड-खाबड&amp;nbsp; था। उनकी पत्नी उसी रास्ते से पानी भरने जाती थीं। एक रोज उन्हें ठोकर लग गई और वह गिर पडीं। पत्नी के शरीर पर चोट के निशान देख दशरथ को बहुत गुस्सा आया और उन्होंने उसी दम ठान लिया कि अब वह पहाडी को काटकर ऐसा रास्ता बनाएंगे, जिससे किसी को भी ठोकर न लगे। वह हाथों में छेनी-हथौडा लेकर पहाड काटने में जुट गए। तब लोग उन्हें पागल और सनकी समझते थे कि कोई अकेला आदमी पहाड काट सकता है भला! .पर उन्होंने अपनी जिद के आगे किसी की नहीं सुनी। वह रोजाना सुबह से शाम तक अपने काम में जुटे रहते। उन्होंने 1960 &amp;nbsp;में यह काम शुरू किया था और इसे पूरा करने में उन्हें 22 &amp;nbsp;वर्ष लग गए। ..लेकिन अफसोस कि उनका यह काम पूरा होने से कुछ दिनों पहले ही उनकी पत्नी का निधन हो गया। वह अपनी सफलता की यह खुशी उनके साथ बांट न सके। उनकी इस कोशिश से ही बेहद लंबा घुमावदार पहाडी रास्ता छोटा और सुगम हो गया। अब दशरथ इस दुनिया में नहीं हैं पर वह रास्ता आज भी हमें उनके जिद्दी और जुझारू व्यक्तित्व की याद दिलाता है। उनकी दृढ इच्छाशक्ति को सम्मान देते हुए दिल्ली विश्वविद्यालय ने अपने कर्मचारियों के लिए दशरथ मांझी पुरस्कार की शुरुआत की है।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
&lt;b&gt;गुस्सा भी होता है अच्छा&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
जिद की तरह गुस्सा भी हमारी नकारात्मक भावनाओं में शुमार होता है और इन दोनों का बडा ही करीबी रिश्ता है। इस संबंध में मनोवैज्ञानिक सलाहकार डॉ. अशुम गुप्ता कहती हैं, अगर किसी दुर्भावना की वजह से गुस्सा आए और कोई किसी को नुकसान पहुंचाने की जिद करे तो निश्चित रूप से यह खतरनाक&amp;nbsp; प्रवृत्ति है। इससे इंसान केवल दूसरों का ही नहीं, बल्कि अपना भी अहित कर रहा होता है। हमारी मानसिक संरचना में ये दोनों भावनाएं बिजली की तरह काम करती हैं। अगर सही जगह पर इनका इस्तेमाल किया जाए तो चारों ओर रौशनी फैल सकती है। अगर इनका गलत इस्तेमाल हो तो पल भर में जल कर सब कुछ खाक&amp;nbsp; हो सकता है। यहां असली मुद्दा नकारात्मक भावनाओं को सकारात्मक ढंग से चैनलाइज&amp;nbsp; करने का है। अगर बच्चा अपनी मनपसंद चीज लेने की जिद करता है तो बडों को हमेशा उसकी जिद पूरी नहीं करनी चाहिए, बल्कि उससे यह वादा लेना चाहिए कि तुम परीक्षा में अच्छे मा‌र्क्स&amp;nbsp; लाओ तो तुम्हारी मांग जरूर पूरी की जाएगी। इससे उसे यह एहसास होगा कि बिना मेहनत के कुछ भी हासिल नहीं होता और उसकी जिद पढाई की ओर रुख कर लेगी।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
गुस्से के सकारात्मक इस्तेमाल के संदर्भ में चिपको आंदोलन के अग्रणी नेता सुंदर लाल बहुगुणा द्वारा कही गई एक बात बरबस याद आ जाती है, पेड काटने वाले लोगों को देखकर मुझे बहुत ज्यादा&amp;nbsp;गुस्सा आता है। इसलिए मैंने यह संकल्प लिया है कि इतने पेड लाऊंगा कि काटने वाले भले ही थक जाएं, फिर भी हमारी धरती हमेशा हरी-भरी बनी रहे। सच, लाचारी भरी शांति से तो ऐसा गुस्सा हजार गुना बेहतर है, जिससे देश और समाज का भला हो।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
&lt;b&gt;दिल पर लगी तो बात बनी&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
कई बार हमें दुख पहुंचाने वाले या हमारे साथ बुरा बर्ताव करने वाले लोग अनजाने में ही सही, लेकिन हमारी भलाई कर जाते हैं। इस संबंध में डॉ. अशुम&amp;nbsp; गुप्ता आगे कहती हैं, कई बार दूसरों द्वारा कही गई कडवी बात हमारे लिए शॉक&amp;nbsp;ट्रीटमेंट का काम करती है। ऐसी बातें सुनकर हमारा सोया हुआ जमीर जाग उठता है। फिर हम कई ऐसे मुश्किल काम भी कर गुजरते हैं, जिनके बारे में आमतौर पर सोचना भी असंभव लगता है। जरा सोचिए कि अगर तुलसीदास को अपनी पत्नी रत्नावली की बात दिल पर न लगी होती तो आज हिंदी साहित्य श्रीरामचरितमानस जैसे महाकाव्य से वंचित रह जाता। अगर दक्षिण अफ्रीका के पीट्मेरीज्बर्ग स्टेशन पर उस टीटी ने बैरिस्टर मोहनदास&amp;nbsp;करमचंद &amp;nbsp;गांधी का सामान ट्रेन की फ‌र्स्ट क्लास की बोगी से बाहर न फेंका होता तो शायद आज भारत का इतिहास कुछ और ही होता।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
&lt;b&gt;जब बात हो अपनों की&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
जिद के साथ कहीं न कहीं अपनों का प्यार और उनकी भावनाएं भी जुडी होती हैं। दिल्ली की मैरी बरुआ का इकलौता बेटा ऑटिज्म&amp;nbsp;से पीडित था। वह दिन-रात उसकी देखभाल में जुटी रहतीं। वह कहती हैं, मेरे लिए मेरा बेटा ही सब कुछ है। मैंने उसकी खातिर ऐसे बच्चों को ट्रेनिंग देने का स्पेशल कोर्स किया। उसी दौरान मुझे यह खयाल&amp;nbsp;आया कि सिर्फ मेरा ही बेटा क्यों.? ऐसे दूसरे बच्चों को भी ट्रेनिंग देकर मैं उन्हें कम से कम इस लायक तो बना दूं कि ये अपने रोजमर्रा के काम खुद करने में सक्षम हों और बडे होने के बाद सामान्य जिंदगी जी सकें। तभी से मैंने ऑटिज्म&amp;nbsp; से पीडित दूसरे बच्चों की देखभाल शुरू कर दी। इससे मेरे मन को बहुत सुकून &amp;nbsp;मिलता है। अब जिंदगी से कोई शिकायत नहीं है, बल्कि ऐसा महसूस होता है कि ईश्वर ने मुझे इस काबिल समझा, तभी तो ऐसे बच्चों की जिम्मेदारी मुझे सौंपी है।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
&lt;b&gt;फर्क चश्मे का&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
अकसर हम लोगों के अडियल व्यवहार को नापसंद करते हैं। आकांक्षा जैन एक निजी कंपनी में मार्केटिंग मैनेजर हैं। इस संबंध में उनका कहना हैं, शुरू से मेरी आदत रही है कि अगर मैंने एक बार कोई काम ठान लिया तो चाहे बीच कितनी ही बाधाएं क्यों न आएं मैं उसे पूरा करके ही दम लेती हूं। मेरी इस आदत की वजह से लोग मुझसे नाराज भी होते हैं, पर बाद में जब वह काम अच्छी तरह पूरा हो जाता है तो उन्हें अपनी गलती का एहसास होता है। अडियल या परफेक्शनिस्ट &amp;nbsp;होने में कोई बुराई नहीं है। अगर हमारा दृष्टिकोण सकारात्मक हो तो हमें लोगों के जिद्दी व्यवहार का अच्छा पहलू भी नजर आएगा। अगर ऐसा न हो तो दूसरों के हर अच्छे व्यवहार में भी बुराई नजर आएगी।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
&lt;b&gt;सामाजिक स्वीकृति में दिक्कत&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
इस संबंध में समाजशास्त्री डॉ. शैलजा&amp;nbsp; मेनन&amp;nbsp; कहती हैं, किसी भी समाज में हमेशा वही व्यवहार स्वीकार्य होता है, जिससे सामने वाले व्यक्ति को कोई असहमति न हो। अगर कोई व्यक्ति लीक से हट कर कुछ भी करना चाहता है तो उसके आसपास के लोग उसे सहजता से स्वीकार नहीं पाते और वे ऐसे व्यक्ति को शक की निगाहों से देखते हैं।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
अपनी ही धुन में लगे रहने वाले ऐसे क्रिएटिव&amp;nbsp; लोगों को शुरुआती दौर में अकसर आलोचना का सामना करना पडता है, लेकिन उन पर नकारात्मकबातों का कोई असर नहीं होता। बाद में दुनिया को उनकी काबिलीयत की पहचान होती है और लोग उन्हें सुपर हीरो बना देते हैं, लेकिन तब तक बहुत देर हो चुकी होती है।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
महान इटैलियन वैज्ञानिक गैलीलियो&amp;nbsp; की जिंदगी इसकी सबसे बडी मिसाल है। उन्होंने उस पारंपरिक धारणा का खंडन किया था कि सूर्य पृथ्वी की परिक्रमा करता है। उन्होंने ही सबसे पहले इस बात की खोज की थी कि पृथ्वी सूर्य के चारों ओर घूमती है। आज उसी वेटिकन सिटी के चर्च में उनकी मूर्ति लगाई जा रही है, जहां 400&amp;nbsp; साल पहले उनकी इस खोज &amp;nbsp;को धार्मिक ग्रंथों के खिलाफ&amp;nbsp; बताते हुए उन्हें यातना शिविर में बंद किया गया था और घोर शारीरिक-मानसिक यातनाएं दी गई थीं। अब सदियों बाद अपने इस प्रयास से चर्च अपनी उस पुरानी गलती का पश्चात्ताप करना चाहता है।&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
&lt;b&gt;सामाजिक स्वीकृति में दिक्कत&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px; margin: 0px 0px 10px; padding: 0px;&quot;&gt;
जिद्दी और जोशीले लोगों को चुनौतियां स्वीकारना बहुत अच्छा लगता है। इस संबंध में सॉफ्टवेयर इंजीनियर सिद्धार्थ शर्मा का कहना है, हमारे परिवार की आर्थिक स्थिति अच्छी नहीं थी। हमारे पिता बेहद मामूली सी नौकरी करते थे। हम छह भाई-बहनों की परवरिश बहुत मुश्किल थी। मैं इंजीनियर बनना चाहता था, पर मुझे मालूम था कि इसके लिए पिताजी पैसे नहीं जुटा पाएंगे। इसलिए जी जान से पढाई में जुटा रहता। मैंने ठान लिया था कि मैं केवल मेहनत के बल पर अपना सपना साकार करूंगा। बिना किसी कोचिंग के आईआईटी&amp;nbsp; के लिए मेरा चयन&amp;nbsp; हो गया। आगे की पढाई का खर्च&amp;nbsp; मैंने खुद ट्यूशन करके उठाया। आज इंजीनियर बनने से कहीं ज्यादा, मुझे इस बात की खुशी है कि मैंने संसाधनों की कमी के बावजूद विपरीत परिस्थितियों में भी कामयाबी हासिल की है। अगर कामयाबी ज्यादा&amp;nbsp; मुश्किलें उठाने के बाद मिले तो उसका मजा दोगुना हो जाता है।&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/9188140607732659963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/9188140607732659963'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2013_04_01_archive.html#9188140607732659963' title='How to change life'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-6042820835119824769</id><published>2013-04-15T14:08:00.001+05:30</published><updated>2015-03-25T17:10:18.348+05:30</updated><title type='text'>Fwd: SSC CGL Exam 2013 Postponed New Exam Dates 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Subject: New Exam Dates of SSC CGL Exam 2013&lt;br /&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBaIvqtfshxkEWL8kCOehW2k0LNvRIKBUzRG9QPsU6Z_sto8Ol7aEry0fP-CEIGyRTI37JEpS3ns2P4AvYCtWl2fE8mPqeNA9KTHC3tWEQ7L_d3W6qgXEpVr-htaq8z-fRmdqCvdy28Cc/s1600/th-730419.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBaIvqtfshxkEWL8kCOehW2k0LNvRIKBUzRG9QPsU6Z_sto8Ol7aEry0fP-CEIGyRTI37JEpS3ns2P4AvYCtWl2fE8mPqeNA9KTHC3tWEQ7L_d3W6qgXEpVr-htaq8z-fRmdqCvdy28Cc/s320/th-730419.jpg&quot; id=&quot;BLOGGER_PHOTO_ID_5866990313274240306&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px; text-align: justify;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px; text-align: justify;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px; text-align: justify;&quot;&gt;The Combined Graduate Level Examination 2013 scheduled to be held on 14th April 2013 and 21st April 2013. As the Government has declared a closed holiday on account of the Birth Anniversary of Dr. B.R. Ambedkar, the examination scheduled on 14th April 2013 has been postponed. Revised Admission Certificates may be downloaded from the website i.e.&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.sscnr.net.in/&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: justify;&quot; target=&quot;_blank&quot;&gt;sscnr.net.in&lt;/a&gt;&lt;span style=&quot;font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px; text-align: justify;&quot;&gt;&amp;nbsp;on or after 21.04.2013.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtqHkjtxogaEpH-UHogrWGQGPrMJ7M_OMe3EdtXA8-XOtq24wSjsaqzHc7YXJZ6fcuAdY0Ts6l0as925jbXyIH8sUHXq21GHmV5Mp-xNDOZ8wbrpsgzWI-N32JlSUXEn4APS271SYi988/s1600/th+%25281%2529-731902.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtqHkjtxogaEpH-UHogrWGQGPrMJ7M_OMe3EdtXA8-XOtq24wSjsaqzHc7YXJZ6fcuAdY0Ts6l0as925jbXyIH8sUHXq21GHmV5Mp-xNDOZ8wbrpsgzWI-N32JlSUXEn4APS271SYi988/s320/th+%25281%2529-731902.jpg&quot; id=&quot;BLOGGER_PHOTO_ID_5866990321126327026&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px;&quot;&gt;This Exam will be conducted on 28 April 2013.&amp;nbsp; But the Exam which was on 21 April 2013, it will not be change. For more details of&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Verdana, sans-serif; font-size: 13px; line-height: 14px;&quot;&gt;SSC CGL Exam 2013&lt;/em&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px;&quot;&gt;, you can visit our web portal which is &lt;a href=&quot;http://recruitmentresult.com/&quot; target=&quot;_blank&quot;&gt;recruitmentresult.com&lt;/a&gt;.&amp;nbsp; Following details are mention below for&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Verdana, sans-serif; font-size: 13px; line-height: 14px;&quot;&gt;CGL Exam 2013&lt;/em&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;h5 style=&quot;font-family: Verdana,sans-serif; font-size: 0.9em; line-height: 14px; margin: 0.5em 0px; padding-bottom: 0px; padding-top: 0px;&quot;&gt;
    &lt;span style=&quot;color: magenta;&quot;&gt;Important date&lt;/span&gt;&lt;/h5&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;strong&gt;Postponed new Exam Date:&amp;nbsp;&lt;/strong&gt;14 April 2013 replace 28 April 2013&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;strong&gt;Same Exam Date&lt;/strong&gt;: 21 April 2013 (No change)&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;You may visit following official Link:&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://www.ssc-cr.org/notice_detail.php?noticeID=199&quot; rel=&quot;nofollow&quot; style=&quot;color: #2810e5;&quot; target=&quot;_blank&quot;&gt;Official Advertisement&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Important Links:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://sscnr.net.in/newlook/Admitcard_CGLE2013/AdmitCardLink.aspx&quot; style=&quot;color: #2810e5; font-family: arial,sans-serif;&quot; target=&quot;_blank&quot; title=&quot;How to Download Admit Card 2013 - Government Jobs Important Points&quot;&gt;Download Admit Card&lt;/a&gt;&lt;strong&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://sscnr.net.in/&quot; style=&quot;color: #2810e5; font-family: arial,sans-serif;&quot; target=&quot;_blank&quot;&gt;SSC North Region Web link&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; font-size: 13px; line-height: 14px; margin: 1em 0px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6042820835119824769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6042820835119824769'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2013_04_01_archive.html#6042820835119824769' title='Fwd: SSC CGL Exam 2013 Postponed New Exam Dates 2013'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBaIvqtfshxkEWL8kCOehW2k0LNvRIKBUzRG9QPsU6Z_sto8Ol7aEry0fP-CEIGyRTI37JEpS3ns2P4AvYCtWl2fE8mPqeNA9KTHC3tWEQ7L_d3W6qgXEpVr-htaq8z-fRmdqCvdy28Cc/s72-c/th-730419.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-7040008309804296182</id><published>2011-11-02T12:21:00.002+05:30</published><updated>2015-03-25T17:16:00.798+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows XP Shortcut Keys"/><title type='text'>Windows XP Shortcut Keys</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;h3&gt;

&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Windows 7 shortcut keys&lt;/span&gt;&lt;/h3&gt;
Many assistive software programmes make use of the short cut keys in Windows. Their use is often quicker than having to move to the mouse and back to perform a specific action.&lt;br /&gt;
&lt;h3&gt;

Accessibility keyboard shortcuts&lt;/h3&gt;
Fliter keys sets up the keyboard to ignore repeated or momentary key presses&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;Right SHIFT&lt;/span&gt;&lt;/strong&gt; for &lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;eight seconds&lt;/span&gt;&lt;/strong&gt; Switch Filter Keys on and off. &lt;br /&gt;
High contrast screen mode can be turned on or off via the following combination :-&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;Left ALT +left SHIFT +PRINT SCREEN &lt;/span&gt;&lt;/strong&gt;Switch High Contrast on and off. ( works before the login)&lt;br /&gt;
Further changes can be made with the accessibility wizard in the accessibility programme group&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;Left ALT +left SHIFT +NUM LOCK&lt;/span&gt;&lt;/strong&gt; Switch Mouse Keys on and off. &lt;br /&gt;
Mouse keys can emulate mouse movements on the keyboard&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;SHIFT five times&lt;/span&gt;&lt;/strong&gt; Switch Sticky Keys on and off. &lt;br /&gt;
Sticky keys will allow successive key presses to be recorded as simultaneous ones eg to help the &lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CNTRL + ALT + DELETE&lt;/span&gt;&lt;/strong&gt; option for logging in.&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;NUM LOCK&lt;/span&gt;&lt;/strong&gt; for five seconds Switch Toggle Keys on and off.&lt;br /&gt;
Toggle keys gives an audible warning when the &lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CAPS LOCK&lt;/span&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;NUM LOCK&lt;/span&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;SCROLL LOCK&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;h4&gt;

General keyboard shortcuts&lt;/h4&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+C&lt;/span&gt;&lt;/strong&gt; Copy. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+X&lt;/span&gt;&lt;/strong&gt; Cut. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+V &lt;/span&gt;&lt;/strong&gt;Paste. &lt;b&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+Z&lt;/span&gt;&lt;/strong&gt;&lt;/b&gt; Undo. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+RIGHT ARROW &lt;/span&gt;&lt;/strong&gt;Move the insertion point to the beginning of the next word. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+LEFT ARROW&lt;/span&gt;&lt;/strong&gt; Move the insertion point to the beginning of the previous word. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+DOWN ARROW&lt;/span&gt;&lt;/strong&gt; Move the insertion point to the beginning of the next paragraph. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+UP ARROW&lt;/span&gt;&lt;/strong&gt; Move the insertion point to the beginning of the previous paragraph. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+SHIFT &lt;/span&gt;&lt;/strong&gt;with any of the arrow keys Highlight a block of text. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;SHIFT &lt;/span&gt;&lt;/strong&gt;with any of the arrow keys Select more than one item in a window or on the desktop, or select text within a document. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+A&lt;/span&gt;&lt;/strong&gt; Select all. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;F3 &lt;/span&gt;&lt;/strong&gt;Search for a file or folder. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+ENTER &lt;/span&gt;&lt;/strong&gt;View properties for the selected item. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+F4 &lt;/span&gt;&lt;/strong&gt;Close the active item, or quit the active program. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+ENTER&lt;/span&gt;&lt;/strong&gt; Displays the properties of the selected object. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+SPACEBAR&lt;/span&gt;&lt;/strong&gt; Opens the shortcut menu for the active window. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+F4&lt;/span&gt;&lt;/strong&gt; Close the active document in programs that allow you to have multiple documents open simultaneously. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+TAB&lt;/span&gt;&lt;/strong&gt; Switch between open items. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+ESC&lt;/span&gt;&lt;/strong&gt; Cycle through items in the order they were opened. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;F6 &lt;/span&gt;&lt;/strong&gt;Cycle through screen elements in a window or on the desktop. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;F4&lt;/span&gt;&lt;/strong&gt; Display the Address bar list in My Computer or Windows Explorer. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;SHIFT+F10 &lt;/span&gt;&lt;/strong&gt;Display the shortcut menu for the selected item. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+SPACEBAR &lt;/span&gt;&lt;/strong&gt;Display the System menu for the active window. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+ESC &lt;/span&gt;&lt;/strong&gt;Display the Start menu. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+&lt;/span&gt;&lt;/strong&gt;Underlined letter in a menu name Display the corresponding menu. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;Underlined letter &lt;/span&gt;&lt;/strong&gt;in a command name on an open menu Carry out the corresponding command. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;F10 &lt;/span&gt;&lt;/strong&gt;Activate the menu bar in the active program. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;RIGHT ARROW &lt;/span&gt;&lt;/strong&gt;Open the next menu to the right, or open a submenu. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;LEFT ARROW&lt;/span&gt;&lt;/strong&gt; Open the next menu to the left, or close a submenu. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;F5 &lt;/span&gt;&lt;/strong&gt;Refresh the active window. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;BACKSPACE&lt;/span&gt;&lt;/strong&gt; View the folder one level up in My Computer or Windows Explorer. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ESC &lt;/span&gt;&lt;/strong&gt;Cancel the current task. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;SHIFT &lt;/span&gt;&lt;/strong&gt;when you insert a CD into the CD-ROM drive Prevent the CD from automatically playing. &lt;br /&gt;
&lt;h3&gt;

&lt;br /&gt;
Dialog box keyboard shortcuts&lt;/h3&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+TAB&lt;/span&gt;&lt;/strong&gt; Move forward through tabs. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;CTRL+SHIFT+TAB&lt;/span&gt;&lt;/strong&gt; Move backward through tabs. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;TAB &lt;/span&gt;&lt;/strong&gt;Move forward through options. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;SHIFT+TAB&lt;/span&gt;&lt;/strong&gt; Move backward through options. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ALT+U&lt;/span&gt;&lt;/strong&gt;nderlined letter Carry out the corresponding command or select the corresponding option. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;ENTER&lt;/span&gt;&lt;/strong&gt; Carry out the command for the active option or button. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;SPACEBAR&lt;/span&gt;&lt;/strong&gt; Select or clear the check box if the active option is a check box. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;Arrow keys&lt;/span&gt;&lt;/strong&gt; Select a button if the active option is a group of option buttons. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;F1&lt;/span&gt;&lt;/strong&gt; Display Help. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;F4&lt;/span&gt;&lt;/strong&gt; Display the items in the active list. &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif;&quot;&gt;BACKSPACE&lt;/span&gt;&lt;/strong&gt; Open a folder one level up if a folder is selected in the Save As or Open dialog box. &lt;br /&gt;
&lt;h3&gt;

&lt;br /&gt;
Windows Explorer keyboard shortcuts&lt;/h3&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;END &lt;/strong&gt;Display the bottom of the active window. &lt;br /&gt;
&lt;strong&gt;HOME&lt;/strong&gt; Display the top of the active window. &lt;br /&gt;
&lt;strong&gt;NUM LOCK+ASTERISK&lt;/strong&gt; on numeric keypad (*) Display all sub folders under the selected folder. &lt;br /&gt;
&lt;strong&gt;NUM LOCK+PLUS SIGN&lt;/strong&gt; on numeric keypad (+) Display the contents of the selected folder. &lt;br /&gt;
&lt;strong&gt;NUM LOCK+MINUS SIGN&lt;/strong&gt; on numeric keypad (-) Collapse the selected folder. &lt;br /&gt;
&lt;strong&gt;LEFT ARROW &lt;/strong&gt;Collapse current selection if it&#39;s expanded, or select parent folder. &lt;br /&gt;
&lt;strong&gt;RIGHT ARROW&lt;/strong&gt; Display current selection if it&#39;s collapsed, or select first sub folder&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/7040008309804296182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/7040008309804296182'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_11_01_archive.html#7040008309804296182' title='Windows XP Shortcut Keys'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-8529220294668709997</id><published>2011-11-02T12:10:00.000+05:30</published><updated>2015-03-25T17:20:52.039+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Artificial Keys"/><category scheme="http://www.blogger.com/atom/ns#" term="Define key Attributes"/><category scheme="http://www.blogger.com/atom/ns#" term="Foreign key in SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Identify Foreigh key"/><category scheme="http://www.blogger.com/atom/ns#" term="Primary key"/><title type='text'>Primary and Foreign Keys in SQL Database</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt;&quot;&gt;Primary and Foreign Keys&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Database Primary and Foreign Keys:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Primary and foreign keys&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt; are the most basic components on which relational database theory is based. Primary keys enforce entity integrity by uniquely identifying entity instances. Foreign keys enforce referential integrity by completing an association between two entities. The next step in building the basic data model to:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l0 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Identify and define the primary key attributes for each entity &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l0 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Validate primary keys and relationships &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l0 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Migrate the primary keys to establish foreign keys &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;em&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Attributes&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt; are data items that describe an entity. An &lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;attribute&lt;/span&gt;&lt;/em&gt; instance is a single value of an attribute for an instance of an entity. For example, Name and hire date are attributes of the entity EMPLOYEE. &quot;Robert Thompson&quot; and &quot;12 April 1999&quot; are instances of the attributes name and hire date. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;The &lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;primary key&lt;/span&gt;&lt;/em&gt; is an attribute or a set of attributes that uniquely identify a specific instance of an entity. Every entity in the data model must have a primary key whose values uniquely identify instances of the entity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;To qualify as a primary key for an entity, an attribute must have the following properties:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l2 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;It must have a non-null value for each instance of the entity &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l2 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;The value must be unique for each instance of an entity &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l2 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;The values must not change or become null during the life of each entity instance &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;In some instances, an entity will have more than one attribute that can serve as a primary key. Any key or minimum set of keys that could be a primary key is called a &lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;candidate key&lt;/span&gt;&lt;/em&gt;. Once candidate keys are identified, choose one, and only one, primary key for each entity. Choose the identifier most commonly used by the user as long as it conforms to the properties listed above. Candidate keys which are not chosen as the primary key are known as alternate keys.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;An example of an entity that could have several possible primary keys is Employee. Let&#39;s assume that for each employee in an organization there are three candidate keys: Employee ID, Social Security Number, and Name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Name is the least desirable candidate. While it might work for a small department where it would be unlikely that two people would have exactly the same name, it would not work for a large organization that had hundreds or thousands of employees. However, there is the possibility that an employee&#39;s name could change because of marriage (your primary key should &lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;never&lt;/span&gt;&lt;/em&gt; be changed). Employee ID would be a good candidate as long as each employee were assigned a unique identifier at the time of hire. Social Security would work best since every employee is required to have one before being hired.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Composite Keys:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Sometimes it requires more than one attribute to uniquely identify an entity. A primary key that made up of more than one attribute is known as a composite key. Below shows an example of a composite key. Each instance of the entity Work can be uniquely identified only by a composite key composed of Employee ID and Project ID.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: white; border-collapse: collapse; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td colspan=&quot;3&quot; style=&quot;padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 3.75pt; margin-left: 0in; margin-right: 0in; margin-top: 3.75pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #b97b96; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 7.5pt;&quot;&gt;Example of Composite Keys &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;EmployeeID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;ProjectID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;HoursWorked&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;100&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;02&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;120&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;02&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;75&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;02&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;03&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;115&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;03&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;03&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;140&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid #B97B96 1.0pt; mso-border-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;03&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;04&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid #B97B96 1.0pt; border-left: none; border-right: solid #B97B96 1.0pt; border-top: none; mso-border-alt: solid #B97B96 .75pt; mso-border-left-alt: solid #B97B96 .75pt; mso-border-top-alt: solid #B97B96 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;80&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Artificial Keys:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;An &lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;artificial&lt;/span&gt;&lt;/em&gt; key is one that has no meaning to the business or organization. Artificial keys are permitted when:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l3 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;no attribute has all the primary key properties, or &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l3 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;the primary key is large and complex &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Primary Key Migration:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Dependent entities, entities that depend on the existence of another entity for their identification, inherit the entire primary key from the parent entity. Every entity within a generalization hierarchy inherits the primary key of the root generic entity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Define Key Attributes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Once the keys have been identified for the model, it is time to name and define the attributes that have been used as keys.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;There is no standard method for representing primary keys in ER diagrams. For this article, the name of the primary key followed by the notation (PK) is written inside the entity box. An example is shown in below:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;  &lt;v:formulas&gt;   &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;   &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;   &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;   &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;  &lt;/v:formulas&gt;  &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;  &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;Entities_with_Key_Attributes&quot; o:spid=&quot;_x0000_i1025&quot;
 type=&quot;#_x0000_t75&quot; alt=&quot;Entities with Key Attributes&quot; style=&#39;width:354pt;
 height:101.25pt&#39;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\girraj\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif&quot;
  o:href=&quot;http://www.databasedev.co.uk/image/pk_fk_example.gif&quot;/&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Entities with Key Attributes&quot; height=&quot;135&quot; src=&quot;file:///C:/DOCUME~1/girraj/LOCALS~1/Temp/msohtmlclip1/01/clip_image001.gif&quot; v:shapes=&quot;Entities_with_Key_Attributes&quot; width=&quot;472&quot; /&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Validate Keys and Relationships&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Basic rules governing the identification and migration of primary keys are:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Every entity in the data model shall have a primary key whose values uniquely identify entity instances. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;The primary key attribute cannot be optional (i.e., have null values). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;The primary key cannot have repeating values. That is, the attribute may not have more than one value at a time for a given entity instance is prohibited. This is known as the No Repeat Rule. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Entities with compound primary keys cannot be split into multiple entities with simpler primary keys. This is called the Smallest Key Rule. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Two entities may not have identical primary keys with the exception of entities within generalization hierarchies. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-left: 58.5pt; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;The entire primary key must migrate from parent entities to child entities and from super type, generic entities, to subtypes, category entities. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Foreign Keys:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;A &lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;foreign key&lt;/span&gt;&lt;/em&gt; is an attribute that completes a relationship by identifying the parent entity. Foreign keys provide a method for maintaining integrity in the data (called referential integrity) and for navigating between different instances of an entity. Every relationship in the model must be supported by a foreign key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Identifying Foreign Keys:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Every dependent and category (subtype) entity in the model must have a foreign key for each relationship in which it participates. Foreign keys are formed in dependent and subtype entities by migrating the entire primary key from the parent or generic entity. If the primary key is composite, it may not be split.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 4; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #006ca3; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Foreign Key Ownership:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;Foreign key attributes are not considered to be owned by the entities to which they migrate, because they are reflections of attributes in the parent entities. Thus, each attribute in an entity is either owned by that entity or belongs to a foreign key in that entity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 4.5pt; margin-left: 0in; margin-right: 0in; margin-top: 4.5pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4e5c6d; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;If the primary key of a child entity contains all the attributes in a foreign key, the child entity is said to be &quot;identifier dependent&quot; on the parent entity, and the relationship is called an &quot;identifying relationship.&quot; If any attributes in a foreign key do not belong to the child&#39;s primary key, the child is not identifier dependent on the parent, and the relationship is called &quot;non identifying.&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/8529220294668709997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/8529220294668709997'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_11_01_archive.html#8529220294668709997' title='Primary and Foreign Keys in SQL Database'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-4348035878036324106</id><published>2011-11-02T12:03:00.001+05:30</published><updated>2015-03-25T17:28:11.983+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cashing"/><category scheme="http://www.blogger.com/atom/ns#" term="Data cashing"/><category scheme="http://www.blogger.com/atom/ns#" term="output caching"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Caching"/><title type='text'>Caching in Asp .Net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoHeader&quot; style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 16.0pt; mso-bidi-font-family: Arial;&quot;&gt;Caching In ASP.NET&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
One of the performance issues of a database drive Web application is retrieving data from a database. If it needs to access the database with every page request, then the response will be very slow. We can avoid this situation with cache technique. You can cache the data in memory when the page is requested for the first time, and hence forth for the subsequent request the page can be served from cache. This reduces network trips to the backend, minimize server workload and database load too, hence the performance increase.&lt;br /&gt;
&lt;br /&gt;
Even though, ASP.NET 1.0 offered variety of caching, if the cache content of a table in memory is changed in the database after the first request, will that change get reflect in your page when it is served from the cache? No, your application will display old data only. Unfortunately we don’t have a sufficient solution for this problem prior to the release of ASP.NET 2.0. The newer version is having a new feature called “SQL Cache Invalidation”, an opt solution for this problem. Further the new framework extends the existing caching techniques more powerful and easier to use and manage.&lt;br /&gt;
&lt;br /&gt;
In this article we are going to see the new and improved caching techniques available in APS.NET2.0. First, let us see about Data Caching enhancements.&lt;br /&gt;
&lt;br /&gt;
Data Caching&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Data Caching allows you to cache random objects, so that your applications need not to recreate them from the server. A new class &lt;b&gt;S&lt;i&gt;ystem.Web.Caching.CacheDependency&lt;/i&gt;&lt;/b&gt; available in ASP.NET 2.0 enables you to write your own implementation of cache dependency. Further you can cache the data using the new &lt;b&gt;DataSource&lt;/b&gt; controls available in ASP.NET 2.0, the following code describes how to enable a cache with a SqlDataSource control.&lt;br /&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: silver; border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;lt;asp:SqlDataSource   &lt;br /&gt;
ID=&quot;SqlDataSource1&quot;&lt;br /&gt;
EnableCaching=&quot;true&quot;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;CacheDuration=&quot;600&quot;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
ConnectionString=&quot;Server=localhost;database=Pubs&quot;&lt;br /&gt;
SelectCommand=&quot;SELECT Title FROM Authors&quot;&lt;br /&gt;
Runat=&quot;server&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;SQL Cache Invalidation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;As we have seen earlier, your application may give old data when it is served from cache, without the awareness about the data change made in the database. In ASP.NET 1.X we used to give minimum value for Cache Duration. But this will increase the network load. If we give maximum value for Cache Duration then we will get wrong data. Instead of this if there a notification system, which will notify when ever the data is getting changed in the database, will it solve this problem…? Yes, that is SQL Cache Invalidation. It allows you to update your cached content automatically whenever the data changes in the database.&lt;br /&gt;
&lt;br /&gt;
We can split this feature into two cases, based on the SQL Server version you are having. The new version of SQL Server series ‘&lt;st1:place w:st=&quot;on&quot;&gt;&lt;st1:state w:st=&quot;on&quot;&gt;Yukon&lt;/st1:state&gt;&lt;/st1:place&gt;’ codename for SQL Server 2005 can be configured to notify your web application whenever changes have been made to database or a database table or a database row. But in SQL Server 7/ SQL Server 2000, there is no built in notification model. Hence, ASP.NET application has to constantly monitor the database to check for changes. The following figures describe these two cases.&lt;br /&gt;
&lt;br /&gt;
In either case, if there is some change, then items added to the cache that depend on the database are removed from the cache. That is, those items are invalidated.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How to enable SQL Cache Invalidation&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;You have to do some setup process before start using SQL Cache Invalidation. Two steps involved in this setup process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Trebuchet MS&amp;quot;; mso-bidi-font-weight: bold; mso-fareast-font-family: &amp;quot;Trebuchet MS&amp;quot;;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Configure SQL Server to support SQL Cache Invalidation&lt;br /&gt;
2. Add configuration information into your application’s web.config file&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;1. Configuring SQL Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;To configure your SQL Server you have to use the command line utility which is, available in your \WINDOWS\Microsoft.NET\Framework\v2.x.xxxxx. Execute the tool with the following options from command prompt.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .25in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;aspnet_regsql –E –d Pubs –ed&lt;br /&gt;
&lt;br /&gt;
The above line will enable the pubs database for SQL Cache Invalidation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .25in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;The following line will enable the Authors table for the same.&lt;br /&gt;
&lt;br /&gt;
Aspnet_regsql –E –d Pubs –t Authors –et&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;What is happening behind the scenes…? &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .25in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;When you run the first command it will add a new database table called ‘AspNet_SqlCacheTablesForChangeNotification’. This table will have a list of all tables, which are enabled for SQL Cache Invalidation.&lt;br /&gt;
&lt;br /&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot;
 o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;  &lt;v:formulas&gt;   &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;   &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;   &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;   &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;  &lt;/v:formulas&gt;  &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;  &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; alt=&quot;&quot; style=&#39;width:417pt;
 height:51.75pt&#39;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\girraj\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.jpg&quot;
  o:href=&quot;http://www.c-sharpcorner.com/Code/2004/July/CachingInASPNETimg1.JPG&quot;/&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;br /&gt;
&lt;br /&gt;
When you run the second command, a new trigger will be added to your database and it’ll fires whenever there is a modification in the table you mentioned, in our case ‘Authors’, and it updates the new table created in the previous step.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Configuring your web.config file&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .25in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Include the following lines of code under &amp;lt;system.web&amp;gt; tag in your web.config file.&lt;br /&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: silver; border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;lt;caching&amp;gt;&lt;br /&gt;
&amp;lt;sqlCacheDependency enabled =&quot;true&quot;   pollTime=&quot;60000&quot;&amp;gt;&lt;br /&gt;
&amp;lt;databases&amp;gt;&lt;br /&gt;
&amp;lt;add name=&quot;pubs&quot;   connectionStringName=&quot;AppConnectionString1&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/databases&amp;gt;&lt;br /&gt;
&amp;lt;/sqlCacheDependency&amp;gt;&lt;br /&gt;
&amp;lt;/caching&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;In the above code PollTime value is in milliseconds. In our case 60000 milliseconds means once a minute, application will check the cache table for changes.&lt;br /&gt;
&lt;br /&gt;
The following example code will displays the contents of Titles table in the Pubs database with the advantage of SQL Cache dependency on the sqldatasource control. The page will monitor the table for changes. As along as there is no changes, the page will be served from the cache, once the data get changed the response is invalidated and the data source control reloads the data.&lt;br /&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: silver; border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;lt;asp:SqlDataSource   ID=&quot;SqlDataSource1&quot; Runat=&quot;server&quot;   CacheDuration=&quot;500&quot; SqlCacheDependency=&quot;PubsDB: Titles&quot;   ProviderName=&quot;&amp;lt;%$ ConnectionStrings:AppConnectionString1.ProviderName   %&amp;gt;&quot;&amp;gt; &amp;lt;/asp:SqlDataSource&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;If you want to do the same SqlCacheDependency with &amp;lt;%@ OutputCache %&amp;gt; then you have to change your code as shown below.&lt;br /&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: silver; border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;lt;%@ OutputCache   Duration=&quot;3600&quot; VaryByParam=&quot;none&quot;   sqlDependency=&quot;pubs:Titles&quot;%&amp;gt;&lt;br /&gt;
&amp;lt;asp:SqlDataSource ID=&quot;SqlDataSource1&quot; Runat=&quot;server&quot;   ProviderName=&quot;&amp;lt;%$ ConnectionStrings:AppConnectionString1.ProviderName   %&amp;gt;&quot;&amp;gt; &amp;lt;/asp:SqlDataSource&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Output Caching&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Output Caching allows you to cache dynamic page and user control responses on any Http 1.1 cache-capable device in the output stream. Now we are going to see about some of the new enhancements in this technique.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Post Cache Substitution&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Let us consider the following scenario, one of your application page is having a small dynamic region as time. In this case you can’t cache the entire page, since you need to update your page time with current time. So you are forced to use a separate usercontrol with the help of fragment caching. Instead of this ASP.NET 2.0 introduced a new feature called post cache substitution (a new API Response.Write Substitution), using this you can insert the dynamic contents, time in you case, into the particular page in every request.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Disk Output Cache&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
All your cached contents are stored in memory, if it is removed from the output cache due to memory constraint what can you do….? Here comes the new feature, you can save cached response to disk also, in addition to storing them in memory. So, incase of memory constraint, it happened to remove the cached content from memory, still you are having in them in disk. The cool thing is, it persist across application restarts, so that when the application comes back, the page can be served from your disk cache. You have to include &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;DiskCacheable=&quot;true&quot; %&amp;gt; in &amp;lt;%@ OutputCache %&amp;gt; Directive&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;to turn on this feature for your page.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Cache Profiles&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;A page can be cached and served based on the cache profile settings in your configuration file. This allows you to manage no. of pages centrally. Still, you can override the cache profile settings with the page cache settings using output cache directive. The following code snippet shows the cache profile setting in the configuration file and corresponding usage of that profile in the page output directive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: silver; border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Configuration file   setting…&lt;br /&gt;
&amp;lt;caching &amp;gt;&lt;br /&gt;
&amp;lt;outputCacheSettings&amp;gt;&lt;br /&gt;
&amp;lt;outputCacheProfiles&amp;gt;&lt;br /&gt;
&amp;lt;add name=&quot;For1Minute&quot; duration=&quot;60&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/outputCacheProfiles&amp;gt;&lt;br /&gt;
&amp;lt;/outputCacheSettings&amp;gt;&lt;br /&gt;
&amp;lt;/caching&amp;gt;&lt;br /&gt;
Page setting…&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%@ OutputCache CacheProfile=&quot;CacheFor60Seconds&quot;   VaryByParam=&quot;Id&quot; %&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Fragment Caching&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=132093274008473757&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=132093274008473757&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;In ASP.NET 1.0 you can specify the cache setting for fragment cache during design time only. But in ASP.NET 2.0 the fragment caching ControlCachePolicy API allows you to control caching settings for fragment caching of user control, programmatically. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Conclusion&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Already you have tasted the benefits of caching, with ASP.NET 1.x. Now, the new DataSource controls allows you to cache the data, without writing code, SQL Cache Invalidation allows you to keep always updated cache content, seamless to the user, post cache substitution allows you to insert the dynamic content into a cached page. Totally the newer version of ASP.NET brings some more new enhancements in caching, which makes caching easy and more effective.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/4348035878036324106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/4348035878036324106'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_11_01_archive.html#4348035878036324106' title='Caching in Asp .Net'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-89318372698474422</id><published>2011-10-20T22:17:00.000+05:30</published><updated>2011-10-20T22:17:32.648+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database Use"/><title type='text'>Why Database Use</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10.0pt; margin-left: -.5in; margin-right: -31.5pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;Any organization, be it a bank, Manufacturing company, Hospital, university, Conglomerate of a Governments departments , requires huge amount of data in some form or other. All such organization need reo collect data manipulate them and store them for future use. All such types of organization require data for a number of purposes, say;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-bottom: 10.0pt; margin-left: -.25in; margin-right: -31.5pt; margin-top: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: Arial;&quot;&gt;&lt;span&gt;A)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;Preparing sales reports&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-bottom: 10.0pt; margin-left: -.25in; margin-right: -31.5pt; margin-top: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: Arial;&quot;&gt;&lt;span&gt;B)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;Forecasting sales&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-bottom: 10.0pt; margin-left: -.25in; margin-right: -31.5pt; margin-top: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: Arial;&quot;&gt;&lt;span&gt;C)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;Preparing accounts reports&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-bottom: 10.0pt; margin-left: -.25in; margin-right: -31.5pt; margin-top: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: Arial;&quot;&gt;&lt;span&gt;D)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;Getting medical histories of patients&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-bottom: 10.0pt; margin-left: -.25in; margin-right: -31.5pt; margin-top: 0in; mso-add-space: auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-bottom: 10.0pt; margin-left: -.5in; margin-right: -31.5pt; margin-top: 0in; mso-add-space: auto;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;Thus, we can say that data are very vital corporate resources. The amount of data used these data in organizations can be measured in the range of some billions of bytes or characters. The financial investment involved is also very high, Many organizations have become cortically dependent on the continued and successful operations of databases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/89318372698474422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/89318372698474422'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_10_01_archive.html#89318372698474422' title='Why Database Use'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-608609738228801421</id><published>2011-10-20T22:15:00.000+05:30</published><updated>2011-10-20T22:15:44.894+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database Management System"/><title type='text'>What is Database Management System ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10pt; margin-left: -0.5in; margin-right: -31.5pt; margin-top: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;A &lt;b&gt;database management system&lt;/b&gt; is an organized collection of facts. In other words we can say that it is a collection of information arranged and presented to serve an assigned purpose.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10pt; margin-left: -0.5in; margin-right: -31.5pt; margin-top: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;An example of a database is dictionary, where words are arranged alphabetically. Another example is a telephone directory, where subscriber’s names are listed in alphabetically order. Similarly, when you think of a box of cards with name and addresses written as a mailing list, then the box and its contents form a mailing database. Figure contains cards with mailing addresses. All these cards are placed in alphabetically order of names and the collection of these cards would be called a database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10pt; margin-left: -0.5in; margin-right: -31.5pt; margin-top: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;Note: - Thus information stored in a database is arranged in a particular order.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10pt; margin-left: -0.5in; margin-right: -31.5pt; margin-top: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;In order to keep database updated, we may need to perform operation like adding information, removing information, editing existing information, etc. Take the case of a telephone diary, in which you note down the names, address and phone numbers of your friends. This is also a type of database. If you make new friends, you note the information about him /her in the diary which is equivalent to adding data to a database. If address of your friends changes then you note the new address in your diary which means editing a database. If you want to send a letter to your friend then you look into the diary to locate the address. This is called searching a database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10pt; margin-left: -0.5in; margin-right: -31.5pt; margin-top: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%;&quot;&gt;In case your telephone diary captains very large numbers of names, address, phone numbers, moreover, the name are not arranged in any orders. Thus , it would be very difficult to locate the names , address, and phone numbers of your friends .thus It is essential to arrange the names in some order, say alphabetically ,to make search easy, However as the number of friends gets larger, managing the database manually become difficult . A database management software package is a helpful tool in such a situation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/608609738228801421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/608609738228801421'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_10_01_archive.html#608609738228801421' title='What is Database Management System ?'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-3373765277534091090</id><published>2011-09-18T11:10:00.001+05:30</published><updated>2011-09-18T11:10:35.113+05:30</updated><title type='text'>Botnet</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;The word Botnet gets its name by joining the words Bot and Net, bot is a short for Robots and Net for Network. In a one line definition, a BotNet is comprised of a network of computers which intends harm to the computer owner and also others. The reason it is known as a Robot Network is because it is &quot;controlled&quot; its master handlers or owners. These handlers or owners turn the infected machine into a zombie, which has no choice but to &quot;obey&quot; their commands. The owners of the infected computers don&#39;t even know that their machine is infected.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;Botnets still remain the worst problem for computer security professionals. The purpose of a botnet infected computer could range from just stealing data from the local machine to targeting and sabotaging remote machines. Botnets are used to collect information such as usernames and passwords from an infected machine which can lead to compromising credentials, for example username and password to log on to your bank&#39;s website.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: x-small; line-height: 16px;&quot;&gt;It could destroy or send over documents of importance such as financial spreadsheets, CAD drawings, confidential documents that could be used in identity theft to its handlers. In some cases, the infected machines are used as mail servers to send SPAM&amp;nbsp;&lt;a class=&quot;kLink&quot; href=&quot;http://indiawebsearch.com/content/what-is-a-botnet#&quot; id=&quot;KonaLink0&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; border-bottom-color: transparent !important; border-bottom-style: none !important; border-bottom-width: 0px !important; border-left-color: transparent !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: transparent !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: transparent !important; border-top-style: none !important; border-top-width: 0px !important; bottom: 0px; color: rgb(0, 0, 255) !important; cursor: pointer; display: inline !important; font-family: inherit !important; font-size: inherit !important; font-variant: normal; left: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; right: 0px; text-decoration: underline !important; text-transform: none !important; top: 0px;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255) !important; font-family: inherit !important; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: rgb(0, 0, 255) !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;emails&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;or even produce ad-clicks to generate ad based revenue for certain websites. The most malicious use of an infected machine is to infect other machines and make them a part of its own network, and then launch DDOS (distributed denial of service attacks) on another network or website. When a DDOS attack is launched on another network, the website or network under attack gets so overwhelmed by requests that it simply can&#39;t keep up and shuts down, denying service to legitimate customers.&lt;br /&gt;&lt;br /&gt;Because the nature of an infected machine and its payload could be so different the infection is hard to detect. The most common sources of infection are IRC (internet relay chat), where users join a chatroom and are sent a &quot;file&quot; by another infected user and they accept the&amp;nbsp;&lt;a class=&quot;kLink&quot; href=&quot;http://indiawebsearch.com/content/what-is-a-botnet#&quot; id=&quot;KonaLink1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; border-bottom-color: transparent !important; border-bottom-style: none !important; border-bottom-width: 0px !important; border-left-color: transparent !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: transparent !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: transparent !important; border-top-style: none !important; border-top-width: 0px !important; bottom: 0px; color: rgb(0, 0, 255) !important; cursor: pointer; display: inline !important; font-family: inherit !important; font-size: inherit !important; font-variant: normal; left: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; right: 0px; text-decoration: underline !important; text-transform: none !important; top: 0px;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255) !important; font-family: inherit !important; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: rgb(0, 0, 255) !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;transfer&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;. Malware infected websites are also a big source of this problem. You must stay protected by having multiple layers of protection on your network and machines. You must have a firewall (even if it’s a small router based one) on your network, in addition your machines must have spyware and antivirus clients installed on them, and they must be set to do regular updates. There are even some online services such as one from Microsoft (see an article we did about&lt;a href=&quot;http://indiawebsearch.com/content/microsofts-online-virus-and-security-scan&quot; style=&quot;color: #336299; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Microsoft’s Live One Care&lt;/a&gt;) that can scan your machine of infections. Even with all due software installed, you must do your own due diligence to avoid being infected, do not accept file transfers from unknown sources, do not open emails (with or without attachments) from sources you do not trust, do regular virus and spyware scans of your machine and keep your machine updated with all the patches and security updates from your OS vendor&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/3373765277534091090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/3373765277534091090'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-2876432604016892949</id><published>2011-09-18T10:52:00.001+05:30</published><updated>2011-09-18T10:52:25.876+05:30</updated><title type='text'>Creak Windows password</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Today we will show you proof of concept on how you can log on to any password protected Windows machine, without knowing the password at all. I am sure you have heard of utilities which will &quot;reset&quot; or &quot;recover the Windows login password for you, but this is way cooler than that, this utility will not write or reset anything to the hard drive. After you are done, on the next reboot the machine will retain its original password. There is no &quot;reset&quot; or lengthy recovery involved. The 5 step process is so easy that after you have seen this, you will be shaking your head&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
We are going to demonstrate this process on a Windows XP&amp;nbsp;&lt;a class=&quot;kLink&quot; href=&quot;http://indiawebsearch.com/content/logon-to-any-password-protected-windows-machine-without-knowing-the-password#&quot; id=&quot;KonaLink0&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; border-bottom-color: transparent !important; border-bottom-style: none !important; border-bottom-width: 0px !important; border-left-color: transparent !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: transparent !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: transparent !important; border-top-style: none !important; border-top-width: 0px !important; bottom: 0px; color: rgb(0, 0, 255) !important; cursor: pointer; display: inline !important; font-family: inherit !important; font-size: inherit !important; font-variant: normal; left: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; right: 0px; text-decoration: underline !important; text-transform: none !important; top: 0px;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255) !important; font-family: inherit !important; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: rgb(0, 0, 255); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: rgb(0, 0, 255) !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;service&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: rgb(0, 0, 255); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: rgb(0, 0, 255) !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;pack&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: rgb(0, 0, 255); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: rgb(0, 0, 255) !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;machine, but the process is essentially exactly the same for other versions of Windows such as Windows 7, Vista, Windows Server 2003 or even Windows 2000 workstation and server.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Most of the magic will be done by a nifty utility from Kryptos logic called Kon-Boot, which you can download from its web page located at&lt;a href=&quot;http://www.piotrbania.com/all/kon-boot/&quot; style=&quot;color: #336299; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;http://www.piotrbania.com/all/kon-boot/&lt;/a&gt;. This same utility can also be used to log on to Linux systems, but that is outside the scope of this article, we will concentrate only on Windows.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
You will need to download the .iso file from the Kon-Boot website and burn it to a CD. If you need instructions on how to burn a CD from an iso image using a free tool, you can read up on it on our article&amp;nbsp;&lt;a href=&quot;http://indiawebsearch.com/content/use-cd-burner-xp-for-all-your-windows-cd-burning-needs&quot; style=&quot;color: #336299; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. Next, make sure that the BIOS is set to boot from the CD drive. With the CD in the drive, boot the machine&lt;/div&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Step1:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
- After the machine boots from the CD, you will see the splash screen as shown on the left hand side. Simply hit enter to continue&lt;/div&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Step 2:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
- After hitting enter in the previous step, you will find this second splash screen. This is important as as soon as you hit enter on this screen, you will be taken to the next step, which is booting Windows, there are no other steps to configure here. In a few minutes, the normal Windows boot menu will appear, just proceed as you normally do in your normal logon sequence to Windows&lt;/div&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Step 3:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
- On Windows Logon screen, fill in the name of the user whom you want to log on as, leave the password blank and hit enter&lt;/div&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Step 4:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
- Olla! you are logged in! and what&#39;s the coolest thing, you have not reset the password for the account at all. It simply let you in because it interacted with the kernel directly using Linux. No alteration was done to any hard drive content at all during the process of logging in.&lt;/div&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Step 5:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
- Remove the CD from the drive, and reboot. Your machine will now present you the normal ctrl+alt+del screen like it always use to, try logging on with the username we tried before with the blank password! The blank password will not work, you can only get in if you knew what the right password was..this demonstrates that the user password was never reset, it still is what it use to be.&lt;/div&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Arial, Verdana, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
As you can see that this nifty little cd can be of many uses, you do not need to reinstall or repair Windows if you have forgotten your password. If you are locked out, you can use this to log in as well. It also brings raises a question on&amp;nbsp;&lt;a class=&quot;kLink&quot; href=&quot;http://indiawebsearch.com/content/logon-to-any-password-protected-windows-machine-without-knowing-the-password#&quot; id=&quot;KonaLink1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; border-bottom-color: transparent !important; border-bottom-style: none !important; border-bottom-width: 0px !important; border-left-color: transparent !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: transparent !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: transparent !important; border-top-style: none !important; border-top-width: 0px !important; bottom: 0px; color: rgb(0, 0, 255) !important; cursor: pointer; display: inline !important; font-family: inherit !important; font-size: inherit !important; font-variant: normal; left: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; right: 0px; text-decoration: underline !important; text-transform: none !important; top: 0px;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255) !important; font-family: inherit !important; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: rgb(0, 0, 255) !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;Windows&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: rgb(0, 0, 255) !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;security&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;. Once again, this method is exceptionally fast and does not actually reset the password. If you have for some reason the need to &quot;recover&quot; and &quot;reveal&quot; a user&#39;s password, you can use the tutorial I wrote earlier&amp;nbsp;&lt;a href=&quot;http://indiawebsearch.com/content/retrieve-any-alphanumeric-windows-logon-password-quickly&quot; style=&quot;color: #336299; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;and it will actually show you what the password is.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
If the method I described above, is being used to gain unauthorized access to then there are really only two ways of protecting against such an intrusion:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
1. Block Physical access to the machine or prevent users from hooking in USB devices or booting from CD ROMs and floppies&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
2. Encrypt your sensitive data. We will cover a step by step article on how to use encryption to protect your data in a forthcoming article&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Hopefully this has been informative for you. If you have any further questions, please do leave us a comment or contact us through the Contact Us link on this web site.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/2876432604016892949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/2876432604016892949'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-2994523125067668277</id><published>2011-08-02T18:17:00.000+05:30</published><updated>2011-08-02T18:17:23.379+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Datagridview binding"/><title type='text'>How to bind Data grid view in C#</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.Collections.Generic;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.ComponentModel;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.Data;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.Drawing;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.Linq;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.Text;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.Windows.Forms;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;using System.Data.SqlClient;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;namespace Wpf&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; public partial class Form1 : Form&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; {&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SqlConnection con = new SqlConnection(&quot;Data Source=.\\sqlexpress;Initial Catalog=school;Integrated Security=True&quot;);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SqlDataAdapter ad1 = new SqlDataAdapter();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Form1()&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InitializeComponent();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void Form1_Load(object sender, EventArgs e)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ad1 = new SqlDataAdapter(&quot;Select * from Table1&quot;, con);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SqlCommandBuilder commandBuilder = new SqlCommandBuilder(ad1);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DataTable table = new DataTable();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table.Locale = System.Globalization.CultureInfo.InvariantCulture;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ad1.Fill(table); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataGridView1.DataSource = table;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void button1_Click(object sender, EventArgs e)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Window1 win = new Window1();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; win.Show();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Like This Screen shot&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaXhSvTmASERrPvC3BW8NfpP-d3OrbIv6qH1_7GLuBmlsRdMpFx6VZ4XlHYVMkJFaqAGNG5hgIa1-xqTxmw_PPmgBSybFgYgOJlDFgRyyoY4tEQXnPCpWtZA2OoIkpMxBLdO1JyZ6zP1U/s1600/untitled.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaXhSvTmASERrPvC3BW8NfpP-d3OrbIv6qH1_7GLuBmlsRdMpFx6VZ4XlHYVMkJFaqAGNG5hgIa1-xqTxmw_PPmgBSybFgYgOJlDFgRyyoY4tEQXnPCpWtZA2OoIkpMxBLdO1JyZ6zP1U/s320/untitled.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/2994523125067668277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/2994523125067668277'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_08_01_archive.html#2994523125067668277' title='How to bind Data grid view in C#'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaXhSvTmASERrPvC3BW8NfpP-d3OrbIv6qH1_7GLuBmlsRdMpFx6VZ4XlHYVMkJFaqAGNG5hgIa1-xqTxmw_PPmgBSybFgYgOJlDFgRyyoY4tEQXnPCpWtZA2OoIkpMxBLdO1JyZ6zP1U/s72-c/untitled.bmp" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-9119381333151556188</id><published>2011-06-22T09:15:00.004+05:30</published><updated>2011-06-22T09:17:38.038+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hosting coupons"/><title type='text'>Hosting coupons</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://phpweby.com/hostgator_coupon.php&quot;&gt;hostgator coupons&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/9119381333151556188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/9119381333151556188'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_06_01_archive.html#9119381333151556188' title='Hosting coupons'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-8345821016932056642</id><published>2011-06-22T00:42:00.000+05:30</published><updated>2011-06-22T00:42:22.079+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Read only comboBox in C#"/><title type='text'>How to Create Read only comboBox in C#</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;When you &amp;nbsp;create read only comboBox then you use two Events&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&lt;b&gt;KeyPress&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&lt;b&gt;KeyDown&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;1.KeyPress Event:-&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Keypress Event arguments handled property is true.this property to all keypress object is handled and event is fire to no argument is apply all is handled by e.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;e is a object that handled events.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;2.KeyDown:-&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In KeyDown Events all object handled by e object like Ctrl + C ,key arrows,keysdata etc are handled to this event to read only comboBox in C# this cod is very useful to this problem.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;------------------------------ See this source code----------------------------------&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; private void comboBox1_KeyPress(object sender, KeyPressEventArgs e)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.Handled = true;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void comboBox1_KeyDown(object sender, KeyEventArgs e)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (e.KeyData == (Keys)Shortcut.CtrlC)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Clipboard.SetData(DataFormats.Text, comboBox1.SelectedText);&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (e.KeyData == Keys.Left || e.KeyData == Keys.Right || e.KeyData == Keys.Up || e.KeyData == Keys.Down) { }&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.Handled = true;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/8345821016932056642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/8345821016932056642'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_06_01_archive.html#8345821016932056642' title='How to Create Read only comboBox in C#'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-410188816993540074</id><published>2011-06-16T08:16:00.001+05:30</published><updated>2011-06-16T08:39:46.386+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Compair table"/><title type='text'>How to compare two tables - SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;Sample SQL statements to compare data in two tables with identical structure.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;(Statements work for MS SQL Server, as well as for many other databases.)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;To find records which exist in source table but not in target table:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;SELECT * FROM t1 WHERE NOT EXISTS (SELECT * FROM t2 WHERE t2.Id = t1.Id)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;or&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;SELECT * FROM t1 LEFT OUTER JOIN T2 on t1.Id = t2.Id WHERE t2.Id IS NULL&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;If the primary key consists of more than one column, you can modify SQL statement:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;SELECT Id, Col1 FROM t1 WHERE NOT EXISTS&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;(SELECT 1 FROM t2 WHERE t1.Id = t2.Id AND Col1.t1 = Col2.t2)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;On SQL Server 2005 or newer you can use the EXCEPT operator:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: blue;&quot;&gt;SELECT Id, Col1 FROM t1 EXCEPT SELECT Id, Col1 FROM t2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;To find records which exist in source table but not in target table,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;&amp;nbsp;as well as records which exists in target table but not in source table:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;SELECT * FROM (SELECT Id, Col1 FROM t1, &#39;old&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;UNION ALL&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;SELECT Id, Col1 FROM t2, &#39;new&#39;) t&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;ORDER BY Id&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;Note: For tables with large amounts of data UNION statement might be very slow.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/410188816993540074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/410188816993540074'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_06_01_archive.html#410188816993540074' title='How to compare two tables - SQL Server'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-6597015960780519462</id><published>2011-06-10T21:32:00.000+05:30</published><updated>2011-06-10T21:32:46.606+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Software development objective</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The aim of software engineering is to find methods for developing high  quality software products at a reasonable cost. As more and more  computers are being used in areas in which a malfunction of the system  can be a source of serious losses or disturbances to the functioning of  the society, the quality of software becomes a more and more critical  factor of business success, human security, and safety. Examples of such  application areas are enterprise management, public administration, and  social insurance or post delivery services. The quality of services  offered to the society depends on the quality of software systems that  support the functioning of the respective public or private  organizations&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6597015960780519462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6597015960780519462'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_06_01_archive.html#6597015960780519462' title='Software development objective'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-4706421823305707270</id><published>2011-05-11T13:34:00.000+05:30</published><updated>2011-05-11T13:34:29.618+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DateTimePicker"/><title type='text'>How to Set Current Date in Date Time Picker</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;color: #134f5c;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Date Time Picker Set Current Date &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li style=&quot;color: #134f5c; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Open Page load Events&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;color: #134f5c; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Then DataTime Class&amp;nbsp; set instance &amp;lt;DateTime&amp;nbsp; dt ;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;color: #134f5c; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Then this object set to dateTimePicker value&amp;lt;dateTimePicker.Value=dt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b style=&quot;color: #134f5c;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;color: #134f5c;&quot; /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;Here Example&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-size: small;&quot;&gt; private void Student_Entry_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.Load += new System.EventHandler(Student_Entry_Load);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime dt = DateTime.Now;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dateTimePicker1.Value&amp;nbsp; = dt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/4706421823305707270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/4706421823305707270'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_05_01_archive.html#4706421823305707270' title='How to Set Current Date in Date Time Picker'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-6937115344753521537</id><published>2011-05-07T00:53:00.000+05:30</published><updated>2011-05-08T15:31:19.934+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Age Calculation"/><title type='text'>Age or Date Calculation in C#</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-size: large;&quot;&gt;&lt;b&gt;Age calculation in&amp;nbsp;combo box&amp;nbsp;fetching&amp;nbsp;in C# Windows Application&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6; font-size: x-small;&quot;&gt;Dear friends this is critical problem to mange date and&amp;nbsp;calculation&amp;nbsp;age of any person&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6; font-size: x-small;&quot;&gt;thus i develop a code to solve this problem.who is interested take use easily.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: red; font-size: x-large; text-align: left; text-decoration: underline;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Following Steps Follows:-&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;1.Create three&amp;nbsp;combo box&amp;nbsp;for date,month and year.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;2.Then create function for&amp;nbsp;maintain&amp;nbsp;date and a year table of database bind with year&amp;nbsp;combo box.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;3.Then create&amp;nbsp;four&amp;nbsp;list of date with 28,29,30,31 days in method.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;4.Then create a list of month in month combo box.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;5.After then a switch case statement use for show listed in different&amp;nbsp;types&amp;nbsp;days in&amp;nbsp;combo box&amp;nbsp;so it is with changed event of year and month.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;6.If we want to&amp;nbsp;calculating&amp;nbsp;Age then following Code See:-&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;private void button1_Click(object sender, EventArgs e)&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string mth;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double &amp;nbsp;age;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; year = Convert.ToInt32(comboBox7.Text);&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mth = comboBox6.SelectedValue.ToString();&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string a = comboBox7.Text + &quot;.&quot; + mth;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double &amp;nbsp;op = Convert.ToDouble(a);&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; age =2011.7-op ;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; textBox1.Text = age .ToString ();&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: purple; text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Thus you calculate age of any person&amp;nbsp;easily&amp;nbsp;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Here Example:-&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ComponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data.SqlClient;&lt;br /&gt;
namespace Date_of_Birth&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public partial class Form1 : Form&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SqlConnection con = new SqlConnection(&quot;Data Source=.\\sqlexpress;Initial Catalog=Enterprises;Integrated Security=True&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; static SqlDataAdapter ad1 = new SqlDataAdapter();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private BindingSource bindingSource1 = new BindingSource();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void GetData(string selectCommand)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ad1 = new SqlDataAdapter(selectCommand, con);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SqlCommandBuilder commandBuilder = new SqlCommandBuilder(ad1);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DataTable table = new DataTable();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table.Locale = System.Globalization.CultureInfo.InvariantCulture;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ad1.Fill(table);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bindingSource1.DataSource = table;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox6.DisplayMember = &quot;Month&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox6.ValueMember = &quot;id&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (SqlException)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(&quot;To run this example, replace the value of the &quot; + &quot;\n&quot; +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;ConnectionString variable with a connection string that is &quot; +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;valid for your system.&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Form1()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InitializeComponent();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int year;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void comboBox7_SelectedIndexChanged(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; year = Convert.ToInt32(comboBox7.Text); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void Form1_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.Load += new System.EventHandler(Form1_Load);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox6.DataSource = bindingSource1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GetData(&quot;Select * From Month &quot;);//where ((Name=&#39;&quot; + textBox1.Text + &quot;&#39;)AND(Phone_No=&#39;&quot; + textBox2.Text + &quot;&#39;))&quot;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void comboBox6_SelectedIndexChanged(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (comboBox7.Text.Length &amp;lt; 2)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox7.Focus();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (comboBox6.Text.Length &amp;lt; 2)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(&quot;Select Month&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox6.Focus();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string month = comboBox6.Text;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; year = Convert.ToInt32(comboBox7.Text);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (month)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;January&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox6.SelectedValue = &quot;1&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;February&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (year % 4 == 0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; febFullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; febShortDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;March&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;April&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shortDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;May&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;June&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shortDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;July&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;August&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;September&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shortDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;October&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;November&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shortDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &quot;December&quot;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullDay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void comboBox5_SelectedIndexChanged(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; void febShortDay()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;1&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;2&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;3&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;4&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;5&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;6&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;7&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;8&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;9&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;10&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;11&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;12&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;13&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;14&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;15&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;16&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;17&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;18&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;19&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;20&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;21&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;22&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;23&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;24&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;25&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;26&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;27&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;28&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; void febFullDay()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;1&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;2&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;3&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;4&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;5&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;6&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;7&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;8&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;9&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;10&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;11&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;12&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;13&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;14&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;15&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;16&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;17&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;18&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;19&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;20&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;21&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;22&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;23&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;24&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;25&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;26&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;27&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;28&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;29&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; void shortDay()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;1&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;2&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;3&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;4&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;5&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;6&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;7&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;8&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;9&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;10&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;11&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;12&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;13&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;14&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;15&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;16&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;17&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;18&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;19&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;20&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;21&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;22&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;23&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;24&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;25&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;26&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;27&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;28&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;29&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;30&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; void fullDay()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;1&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;2&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;3&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;4&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;5&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;6&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;7&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;8&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;9&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;10&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;11&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;12&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;13&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;14&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;15&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;16&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;17&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;18&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;19&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;20&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;21&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;22&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;23&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;24&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;25&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;26&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;27&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;28&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;29&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;30&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBox5.Items.Add(&quot;31&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void comboBox6_Leave(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //string s;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //s = (comboBox6.SelectedValue).ToString ();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //MessageBox.Show(s);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void button1_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string mth;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double &amp;nbsp;age;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; year = Convert.ToInt32(comboBox7.Text);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mth = comboBox6.SelectedValue.ToString();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string a = comboBox7.Text + &quot;.&quot; + mth;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double &amp;nbsp;op = Convert.ToDouble(a);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; age =2011.7-op ;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; textBox1.Text = age .ToString ();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6937115344753521537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6937115344753521537'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_05_01_archive.html#6937115344753521537' title='Age or Date Calculation in C#'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-5312291287042073130</id><published>2011-05-05T00:54:00.000+05:30</published><updated>2011-05-05T00:54:43.010+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ComboBox Binding in C#"/><title type='text'>How to bind ComboBox in C# Windows Application</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Follows Following Steps to Binding ComboBox in C# :&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;1.Define namespace for sqlconnection&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;using System.Data.SqlClient;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;2.define Object for&amp;nbsp;Binding Source&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;private&amp;nbsp;Binding Source&amp;nbsp;bindingSource1 = new BindingSource();&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;3.Define Adapter Object for Adopt data from Database&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;&amp;nbsp;private SqlDataAdapter dataAdapter = new SqlDataAdapter();&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;4.Define&amp;nbsp;Connection String&amp;nbsp;for Connection in forms&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;&amp;nbsp;String connectionString = &quot;Data Source=.\\sqlexpress;Initial Catalog=schoolDB;Integrated Security=True&quot;;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;br /&gt;
5&lt;b&gt;.Then Adapter Call and pass command and connection that two argument pass&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;dataAdapter = new SqlDataAdapter(selectCommand, connectionString);&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;6.Then Sql commandbuilder call for execuate command in the database&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;&amp;nbsp;&amp;nbsp;SqlCommandBuilder commandBuilder = new SqlCommandBuilder(dataAdapter);&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;7.Then DataTable Call for Store the Value in table&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;&amp;nbsp;DataTable table = new DataTable();&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;8.Then this data to localize in local System or Space&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;&amp;nbsp;table.Locale = System.Globalization.CultureInfo.InvariantCulture;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;9.Then This Table Data fill by adapter&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;dataAdapter.Fill(table);&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;10.Then Set BindSource to Table&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;bindingSource1.DataSource = table;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #073763;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #073763;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
1&lt;b&gt;1.Then Set ComboBox DisplayMember and ValueMember Property&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;lt;ComboBox1.DisplayMember = &quot;School_name&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ComboBox1.ValueMember = &quot;id&quot;;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;12 Then This code to call specific event use function and set DataSource&amp;nbsp;pass a argument.&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #351c75;&quot;&gt;&amp;lt;&amp;nbsp;this.Load += new System.EventHandler(button1_Click);&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #351c75;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; ComboBox1.DataSource = bindingSource1;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #351c75;&quot;&gt;&amp;nbsp;GetData(&quot;select School_name,id from School_info where id=13&quot;);&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #351c75;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;Thus You&amp;nbsp;Successfully&amp;nbsp;Bind the&amp;nbsp;combo Box&amp;nbsp;to Data Base&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Example&amp;nbsp;Source&amp;nbsp;code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;hr /&gt;using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ComponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data.SqlClient;&lt;br /&gt;
namespace ComboBox&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public partial class buttionEvent : Form&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private BindingSource bindingSource1 = new BindingSource();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private SqlDataAdapter dataAdapter = new SqlDataAdapter();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private void GetData(string selectCommand)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String connectionString = &quot;Data Source=.\\sqlexpress;Initial Catalog=schoolDB;Integrated Security=True&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataAdapter = new SqlDataAdapter(selectCommand, connectionString);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SqlCommandBuilder commandBuilder = new SqlCommandBuilder(dataAdapter);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataTable table = new DataTable();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;table.Locale = System.Globalization.CultureInfo.InvariantCulture;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataAdapter.Fill(table);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bindingSource1.DataSource = table;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ComboBox1.DisplayMember = &quot;School_name&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ComboBox1.ValueMember = &quot;id&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (SqlException)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MessageBox.Show(&quot;To run this example, replace the value of the &quot; +&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;connectionString variable with a connection string that is &quot; +&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;valid for your system.&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public buttionEvent()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InitializeComponent();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private void button1_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.Load += new System.EventHandler(button1_Click);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.Text = &quot;DataGridView databinding and updating demo&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ComboBox1.DataSource = bindingSource1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ComboBox1.Visible = true;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GetData(&quot;select School_name,id from School_info where id=13&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/5312291287042073130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/5312291287042073130'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_05_01_archive.html#5312291287042073130' title='How to bind ComboBox in C# Windows Application'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-2343255256602158074</id><published>2011-04-19T01:25:00.000+05:30</published><updated>2011-04-19T01:29:14.288+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Input Box in C#"/><title type='text'>How to Develop Input Box in C# Windows Application</title><content type='html'>&lt;b&gt;First &lt;i&gt; Add Reference Visual Basic &lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Second&lt;i&gt;Then This Code to use in Any Event Handler area. &lt;/i&gt; &lt;/b&gt;&lt;br /&gt;
Like As Button Click Event,Key Down Event.&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/2343255256602158074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/2343255256602158074'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_04_01_archive.html#2343255256602158074' title='How to Develop Input Box in C# Windows Application'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-4171628437979171410</id><published>2011-04-17T21:26:00.000+05:30</published><updated>2011-04-17T21:26:22.644+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="web development"/><title type='text'>Web development</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
Web development is the technology to develop the web page.&lt;br /&gt;
web page is that page that show on web browser. web browser is the software that display the content of page in the browser.any time and any where in the world help by Internet.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/4171628437979171410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/4171628437979171410'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_04_01_archive.html#4171628437979171410' title='Web development'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-7834252044007840893</id><published>2011-04-06T23:19:00.000+05:30</published><updated>2011-04-06T23:21:28.318+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><title type='text'>ASP .net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;ASP .Net is the framework of website development and software development.&lt;br /&gt;
visual studio 2005,2008,and 2010 is the version of visual studio&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/7834252044007840893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/7834252044007840893'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_04_01_archive.html#7834252044007840893' title='ASP .net'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-132093274008473757.post-6871473551414573016</id><published>2011-04-06T22:58:00.001+05:30</published><updated>2011-04-20T01:13:32.306+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Software</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Software is Two types&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
1) System Software&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;System Software is interface between Hardware and user.!&lt;br /&gt;
2) Application Software&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Application Software is create applications or Files.&lt;br /&gt;
&amp;nbsp;Some Software are both quality which is create application and communicating interface with user. .&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Girraj Prasad Raman&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6871473551414573016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/132093274008473757/posts/default/6871473551414573016'/><link rel='alternate' type='text/html' href='http://ramanwebsoft.blogspot.com/2011_04_01_archive.html#6871473551414573016' title='Software'/><author><name>Girraj Prasad Raman</name><uri>http://www.blogger.com/profile/03342773288889911039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/-wMWYCwrRfT0/Toq-64lsADI/AAAAAAAAAGg/JcVan-FlmWw/s220/Girraj%2BPhoto.JPG'/></author></entry></feed>