tag:blogger.com,1999:blog-7254859468544462772024-02-02T11:40:22.837+05:30.NET/.നെറ്റ്ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-725485946854446277.post-55749715005871117362014-12-03T12:21:00.002+05:302014-12-03T12:22:59.667+05:30ഡേറ്റാബേസ് കണക്ഷൻ - MS-SQL , MYSQL , MS-Access<div style="text-align: justify;">
നമ്മൾ ഈ പ്രോഗ്രാമിൽ(<span style="font-size: x-small;"><a href="https://drive.google.com/file/d/0B0RvZZPq0azJS0NWUEV6U1lyVms/view?usp=sharing" target="_blank">പ്രോഗ്രാം ഇവിടെ നിന്ന് ഡൗൺലോഡ് ചെയ്യാം</a></span>) മൂന്ന് ഡേറ്റാബേസുകളുമായുള്ള കണക്ഷൻ ആണ് നോക്കുന്നത് . <b><span style="color: blue;">MS-SQL , MYSQL , MS-Access</span></b> എന്നീ ഡേറ്റാബേസുകളാണ് നമ്മൾ ചെയ്യുന്നത്. ഇതിൽ MS-SQL കണക്ഷൻ <a href="http://dotnetapptips.blogspot.in/2014/08/3-tier-architecture.html" target="_blank">നേരത്തെ വിശദീകരിച്ചിട്ടൂള്ളതുകൊണ്ട്</a> ഇവിടെ വിശദീകരിക്കൂന്നില്ല. മറ്റ് രണ്ട് ഡേറ്റാബേസുകളെക്കുറിച്ചാണിവിടെ പറയുന്നത്. ഒരേതരത്തിലുള്ള ടേബിളാണ് നമ്മൾ ഈ മൂന്ന് ഡേറ്റാബേസുകളിലും ക്രിയേറ്റ് ചെയ്യുന്നത്. <i><span style="color: purple;">tbl_Salesman</span></i> എന്ന ടേബിളാണ് നമ്മൾ ഉണ്ടാക്കുന്നത്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u><span style="color: blue; font-size: large;">MYSQL</span></u></b></div>
<div style="text-align: justify;">
SQLyog Community Edition -MySQL GUI v6.15 ലാണ് MYSQL ഡേറ്റാബേസ് ക്രിയേറ്റ് ചെയ്യുന്നത്. (കൂടുതൽ അറിയാൻ http://www.webyog.com/ എന്ന സൈറ്റ് നോക്കുക).</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>സ്റ്റെപ് 1</u></b></div>
<div style="text-align: justify;">
MYSQL ല് Salesman എന്ന പുതിയ ഒരു ഡേറ്റാബേസ് നിർമ്മിക്കുക. Connect എന്ന ബട്ടണിൽ ക്ലിക്ക് ചെയ്യുക. (അതിനു മുമ്പ് വേണമെങ്കിൽ കണക്ഷൻ ടെസ്റ്റ് ചെയ്യാവുന്നതാണ്).</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtiOJM1uEbmF8UVv-56rRRGw8PzB0BX5ZorGWReHwGkzyH9G7GC27ZNAN6Os_MGlXiZCLibHK85tQ3KGZcDshlRp1KBtbdT1wuZVTU45CAYgSL6Pa5zD2qBj5pjgkxJ-7if5R2RXDFPME/s1600/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtiOJM1uEbmF8UVv-56rRRGw8PzB0BX5ZorGWReHwGkzyH9G7GC27ZNAN6Os_MGlXiZCLibHK85tQ3KGZcDshlRp1KBtbdT1wuZVTU45CAYgSL6Pa5zD2qBj5pjgkxJ-7if5R2RXDFPME/s1600/1.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>സ്റ്റെപ് 2 </u></b></div>
<div style="text-align: justify;">
Connect എന്ന ബട്ടണിൽ ക്ലിക്ക് ചെയ്യുമ്പോൾ തുറന്നു വരുന്ന വിൻഡോയിൽ നമ്മൾ ക്രിയേറ്റ് ചെയ്ത ഡേറ്റാബേസ് ഉണ്ടാവും. ആ ഡേറ്റാബേസിന്റെ പേരിന്റെ മുകളിൽ കെർസർ വെച്ചിട്ട് റൈറ്റ് ബട്ടൺ ക്ലിക്ക് ചെയ്യുമ്പോൾ തുറന്നു വരുന്ന മെനുവിൽ നിന്ന് Create_Table എന്ന ലിങ്കിൽ ക്ലിക്ക് ചെയ്യുക.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwDpCwj9AC8_bjcIs10Hq3MXTDzwwL84-j-fRx9lDXywfwEUmCImuuw80T5xRlkxPKljLPKwymzK7WNfQZInntieXCl7cL7XBAsGYRBaIEmAZPpigiFDSJ7YVXgtBvc6gMg6ULkew7ZHcV/s1600/1_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwDpCwj9AC8_bjcIs10Hq3MXTDzwwL84-j-fRx9lDXywfwEUmCImuuw80T5xRlkxPKljLPKwymzK7WNfQZInntieXCl7cL7XBAsGYRBaIEmAZPpigiFDSJ7YVXgtBvc6gMg6ULkew7ZHcV/s1600/1_b.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
മുകളിൽ പറഞ്ഞ സ്റ്റെപ്പുകൾ രണ്ടും ചെയ്ത് കഴിയുമ്പോൾ ഡേറ്റാബേസ് ലിസ്റ്റിൽ ആ ഡേറ്റാബേസ് മാത്രമേ കാണൂ. ബ്ലാങ്ക് പാസ്വേർഡിൽ ആണ് നമ്മൾ ഡേറ്റാബേസ് ഉണ്ടാക്കിയത്. പഴയ യൂസർ നെയിമിൽ തന്നെ ആണ് ഡെറ്റാബേസ് വേണ്ടതെങ്കിൽ യൂസർ നെയിം നൽകിയതിനു ശേഷം (ഇവിടെ root എന്ന യൂസർ നെയിമാണ് ഉപയോഗിക്കുന്നത്) ഡെറ്റാബേസിന് പേര് നൽകാതെ Connect എന്ന ബട്ടണിൽ ക്ലിക്ക് ചെയ്യുക. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBK9Ge7nG_1NJCFvnRUradjH60XfJ8pulITsXrXrrpr9FWOnBH_Tb0ITxmh1vs9BC7Oi3NcVPnMcM8W4z2WDxtOBNGhhGE0xpMVJEmoDlbV8S9TXbonPDba8wVI8PgzFr4nL-P8vFi2CgB/s1600/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBK9Ge7nG_1NJCFvnRUradjH60XfJ8pulITsXrXrrpr9FWOnBH_Tb0ITxmh1vs9BC7Oi3NcVPnMcM8W4z2WDxtOBNGhhGE0xpMVJEmoDlbV8S9TXbonPDba8wVI8PgzFr4nL-P8vFi2CgB/s1600/2.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഇങ്ങനെ ക്ലിക്ക് ചെയ്യുമ്പോൾ കിട്ടൂന്ന വിൻഡോ നോക്കുക. root എന്ന യൂസർ നെയിമിൽ ക്രിയേറ്റ് ചെയ്തിരിക്കൂന്ന പഴയ ഡേറ്റാബേസുകൾ root@localhost എന്നതിനു താഴെ നമുക്ക് കാണാൻ കഴിയും.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
root@localhost എന്ന ലിങ്കുനുമുകളിൽ മൗസ് റൈറ്റ് ബട്ടൺ ക്ലിക്ക് ചെയ്ത് പുതിയ ഡേറ്റാ ബേസ് ക്രിയേറ്റ് ചെയ്യുക. (ചിത്രം നോക്കുക).</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuz5P07RA4dSzobnvuJTMy7S4bhX-WQpJJ0zAPf9b54YYMWDRjllo0CadNaSwrczGG8wAqf_rpcL5-q-Z9ZQ1Dbn_8oSrnmPIYrjDiDvLKj9orBjuN5q2Cb23BAr-SuT_lP-wXqqQf1MR3/s1600/3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuz5P07RA4dSzobnvuJTMy7S4bhX-WQpJJ0zAPf9b54YYMWDRjllo0CadNaSwrczGG8wAqf_rpcL5-q-Z9ZQ1Dbn_8oSrnmPIYrjDiDvLKj9orBjuN5q2Cb23BAr-SuT_lP-wXqqQf1MR3/s1600/3.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQDMYn14r5i261Phn4_zjxX1AeJT-udnNyFnUc2tBn6RmbNiaDtlt8eQ0Mv7U4WloopwJRXwtQQ24ufh4fugINK2Uh5Er8oHyDTl_3vPFddhRniBwSmzgtmdLbjsFtp_j0ogqsgwpQ91wd/s1600/4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQDMYn14r5i261Phn4_zjxX1AeJT-udnNyFnUc2tBn6RmbNiaDtlt8eQ0Mv7U4WloopwJRXwtQQ24ufh4fugINK2Uh5Er8oHyDTl_3vPFddhRniBwSmzgtmdLbjsFtp_j0ogqsgwpQ91wd/s1600/4.jpg" height="181" width="320" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
നമ്മൾ ക്രിയേറ്റ് ചെയ്ത് ഡേറ്റാബേസ് ഡേറ്റാബേസ് ലിസ്റ്റിൽ ഉണ്ടാവും. ആ ഡേറ്റാബേസിന്റെ പേരിന്റെ മുകളിൽ കെർസർ വെച്ചിട്ട് റൈറ്റ് ബട്ടൺ ക്ലിക്ക് ചെയ്യുമ്പോൾ തുറന്നു വരുന്ന മെനുവിൽ നിന്ന് Create_Table എന്ന ലിങ്കിൽ ക്ലിക്ക് ചെയ്യുക. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZo1UO97E0M0zXMSWPONKmdOFIft1UCJTWlfqYZKmo1i0SWdl9diX2nz4GjOt7g__b4qQKZBGvrHvY7qiVNkJOgeqCOpZd38A8YrKCkgkco8wKoQo88I7a7mlahKIHAGofRowHy2xKyedx/s1600/5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZo1UO97E0M0zXMSWPONKmdOFIft1UCJTWlfqYZKmo1i0SWdl9diX2nz4GjOt7g__b4qQKZBGvrHvY7qiVNkJOgeqCOpZd38A8YrKCkgkco8wKoQo88I7a7mlahKIHAGofRowHy2xKyedx/s1600/5.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>സ്റ്റെപ് 3</u></b></div>
<div style="text-align: justify;">
ഇനിയും നമുക്ക് ടേബിളിൽ വേണ്ട ഫീൽഡുകൾ നൽകാം. നമുക്കാവിശ്യമായ നാലു ഫീൽഡുകളുടെ പേരുകൾ നൽകി. ആദ്യ ഫീൽഡ് പ്രൈമറി കീയായി സെറ്റ് ചെയ്തതിനു ശേഷം ആ ഫീൾഡ് ഓട്ടോ ഇങ്ക്രിമെന്റാക്കുന്നു. അതിനുശേഷം Create Table എന്ന ബട്ടണിൽ ക്ലിക്ക് ചെയ്യുന്നു. ഈ ബട്ടണിൽ ക്ലിക്ക് ചെയ്യുമ്പോൾ വരുന്ന ചെറിയ ജാലകത്തിൽ ടേബിളിന്റെ പേര് നൽകുക. അതിനുശേഷം OK ബട്ടൺ ക്ലിക്ക് ചെയ്യുക.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpculoC-yM3nrNUlycyhNAVpq_TT-TZLHaauiv_ZdFZuO1EPPWnaTgX_clAbfqA4JpoTVKu4x_X4q8vC_aXbRRhz1nQz6pP-zylq7wWTMgVGihkRDKjpKgEl3t29hDOnykDBPpcNKMrTWv/s1600/6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpculoC-yM3nrNUlycyhNAVpq_TT-TZLHaauiv_ZdFZuO1EPPWnaTgX_clAbfqA4JpoTVKu4x_X4q8vC_aXbRRhz1nQz6pP-zylq7wWTMgVGihkRDKjpKgEl3t29hDOnykDBPpcNKMrTWv/s1600/6.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvkCptcC_XjPePcRQX87qBvBgxVSJBgWnc8x_qimxgmfPL58XTIZoc7Plc2gSyihqxKrzbqILyN51WbHZAj0ecMQJKyH-sPM4ZZcT-sRIv6muaCusCfe58aR0yrm2uCpm2TZxU-rbBnluw/s1600/7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvkCptcC_XjPePcRQX87qBvBgxVSJBgWnc8x_qimxgmfPL58XTIZoc7Plc2gSyihqxKrzbqILyN51WbHZAj0ecMQJKyH-sPM4ZZcT-sRIv6muaCusCfe58aR0yrm2uCpm2TZxU-rbBnluw/s1600/7.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="color: blue; font-size: large;"><u>MS-Access</u></span></b></div>
<div style="text-align: justify;">
MS-Access തുറന്ന് അതിൽ ടേബിൾ ഡിസൈൻ ചെയ്യുക. (<i>Microsoft Office Access 2007</i> ആണ് ഇവിടെ ഡേറ്റാബേസായി ഉപയോഗിക്കുന്നത്.)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2VaAV99hRK1VAZOf-2YjIHyOPXKiqdTpkRiNA2zy-fCNtpxzrKNyf3k9SuG0YAJe9rn5QK51pvt7-_U47VDmILLUvSi50msHw-kWsn8c2EmByyLCQVaohJaIPGO84EQ8CCTpQO9Q2OusO/s1600/12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2VaAV99hRK1VAZOf-2YjIHyOPXKiqdTpkRiNA2zy-fCNtpxzrKNyf3k9SuG0YAJe9rn5QK51pvt7-_U47VDmILLUvSi50msHw-kWsn8c2EmByyLCQVaohJaIPGO84EQ8CCTpQO9Q2OusO/s1600/12.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiegZrzlDLE7uUTlANedUIYCHUlqkKoaIAx03iCx5yTHKyzgpPaN1liQUDJxMIDcJdZ4IE5w23EXGGM5wy4YIUbqZ6K4yILYYcdAQ1Khr8gZbmTI2OYtTtqj_XW5GBHS1kVHbq6uUaN9BZ-/s1600/13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiegZrzlDLE7uUTlANedUIYCHUlqkKoaIAx03iCx5yTHKyzgpPaN1liQUDJxMIDcJdZ4IE5w23EXGGM5wy4YIUbqZ6K4yILYYcdAQ1Khr8gZbmTI2OYtTtqj_XW5GBHS1kVHbq6uUaN9BZ-/s1600/13.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPMkl0JX6X9wrZxKlxeo-XiaUL63Dmuwu6JaLoID3q-Bf_F_kwTMW11WCnhHnxpVi40TFGTBCVsSeKyfsgGiEjr_PApt4mVu0YxJf-EklSVPg3vZWSwZMZYcpjCPOoZXaUAY_7FqjIbgyJ/s1600/14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPMkl0JX6X9wrZxKlxeo-XiaUL63Dmuwu6JaLoID3q-Bf_F_kwTMW11WCnhHnxpVi40TFGTBCVsSeKyfsgGiEjr_PApt4mVu0YxJf-EklSVPg3vZWSwZMZYcpjCPOoZXaUAY_7FqjIbgyJ/s1600/14.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഡേറ്റാബേസ് ഡിസൈൻ ചെയ്തതിനു ശേഷം നമുക്കിനി നമ്മുടെ <b><span style="color: lime;">പ്രോഗ്രാമിലേക്ക്</span></b> പോകാം.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<u><span style="color: red;"><b style="background-color: #f3f3f3;">MySql കണക്ഷൻ</b></span></u></div>
<div style="text-align: justify;">
<span style="background-color: #eeeeee; color: purple;">MySql.Data.dll പ്രോഗ്രാമിലേക്ക് കൊണ്ടുവരിക.</span></div>
<div style="text-align: justify;">
MySql ഡേറ്റാബേസ് പ്രോഗ്രാമിലേക്ക് കണക്റ്റ് ചെയ്യുന്നതിനു മുമ്പ് MySql.Data എന്ന dll പ്രോഗ്രാമിലേക്ക് ആഡ് ചെയ്ത് നൽകണം. അതിനു Bin എന്ന ഫോൾഡർ ഉണ്ടാക്കി അതിലേക്ക് <b><span style="color: #8e7cc3;">MySql.Data.dll</span></b> റഫറൻസ് ആഡ് ചെയ്യണം. (ചിത്രങ്ങൾ നോക്കുക)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0I7xfzlXCyvecmC4u7QfrFwK0mekqrLJNxS_ZfX9VMIggHvIILBSXvTeWutEMEOV5MpDlWjNxUenjemNVl3uGJdtkzxATbLWVwnaqpwTulSR_w369PrpVhragiblYHEE9aYOxwPTrHBQ3/s1600/8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0I7xfzlXCyvecmC4u7QfrFwK0mekqrLJNxS_ZfX9VMIggHvIILBSXvTeWutEMEOV5MpDlWjNxUenjemNVl3uGJdtkzxATbLWVwnaqpwTulSR_w369PrpVhragiblYHEE9aYOxwPTrHBQ3/s1600/8.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Z0HE1XIbWQIJ1zFPuMUVUVAaVyLMT_v4L3hRq6jix0K7D2fqqXGuBMqiI0oD_HOAPNlO3SpYFutVkepNojjAEkzQm9FBmzYRdl5eM700g4g-tM1MRukU7mevBtozwbM5Z_BCgjoHuFfX/s1600/9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Z0HE1XIbWQIJ1zFPuMUVUVAaVyLMT_v4L3hRq6jix0K7D2fqqXGuBMqiI0oD_HOAPNlO3SpYFutVkepNojjAEkzQm9FBmzYRdl5eM700g4g-tM1MRukU7mevBtozwbM5Z_BCgjoHuFfX/s1600/9.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd7wxL-UHrsO442WA7VrcFgoo5Fl-6xhNFIEOuNNhpO-67C1hoZHqwc1G0pR1d6jaC6n3urTVF28QKvDGM6XEfMfJEmKinaVawlQgenOohb55OviLvg4UxzOD7ceobR3xDlpdDghGfMOty/s1600/10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd7wxL-UHrsO442WA7VrcFgoo5Fl-6xhNFIEOuNNhpO-67C1hoZHqwc1G0pR1d6jaC6n3urTVF28QKvDGM6XEfMfJEmKinaVawlQgenOohb55OviLvg4UxzOD7ceobR3xDlpdDghGfMOty/s1600/10.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUqjTnZ3Ze015NEJ79nfAJ0DXKFcMrxSwLIILoyBSEsAoChhmetIRRRDZ3HURtqx8cr9bN0isSZodEaz5zBHDZpUoZWXZ8VtiXKbeQMvFHjo_iErNUWBtkIEk2c0ePNMJix7PKrYKe4yEO/s1600/11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUqjTnZ3Ze015NEJ79nfAJ0DXKFcMrxSwLIILoyBSEsAoChhmetIRRRDZ3HURtqx8cr9bN0isSZodEaz5zBHDZpUoZWXZ8VtiXKbeQMvFHjo_iErNUWBtkIEk2c0ePNMJix7PKrYKe4yEO/s1600/11.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: purple;"><i><br /></i></span></div>
<div style="text-align: justify;">
<span style="color: purple;"><i><b>:: MySql കണക്ഷൻ പ്രോഗ്രാം ::</b></i></span></div>
<div style="text-align: justify;">
നമ്മൾ നേരത്തെ Sql കണക്ഷൻ നോക്കിയിരുന്നല്ലോ. അവിടെ SqlConnection,SqlDataAdapter എന്നിങ്ങനെ ആയിരുന്നു ഉപയോഗിച്ചിരുന്നതെങ്കിൽ MySql ഡേറ്റാബേസ് ഉപയോഗിക്കുമ്പോൾ SqlConnection,SqlDataAdapter നു പകരം <span style="background-color: #eeeeee;">MySqlConnection , MySqlDataAdapter </span>എന്നിവയാണ് ഉപയോഗിക്കേണ്ടത്. അതിനുവേണ്ടി <span style="background-color: #f3f3f3;"><span style="color: blue;"> MySql.Data.MySqlClient;</span></span> എന്ന നെയിം സ്പേസ് ആദ്യം തന്നെ ആഡ് ചെയ്യണം.</div>
<div style="text-align: justify;">
(MySql.Data.dll റഫറൻസ് പ്രോഗ്രാമിലേക്ക് കൊണ്ടുവന്നതിനു ശേഷമേ MySql.Data.MySqlClient നെയിം സ്പേസ് ആഡ് ചെയ്യാവു).</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
കണക്ഷൻ സ്ട്രിംങ് നോക്കുക.</div>
<div style="text-align: left;">
<span style="background-color: #f3f3f3; color: magenta;"><b>MySqlConnection conn = new MySqlConnection ("Server=localhost;Database=salesman;Port=3306;Uid=root;");</b></span></div>
<div style="text-align: justify;">
കണക്ഷൻ സ്ട്രിംങിൽ മാത്രമേ വെത്യാസം വരുന്നുള്ളൂ. ബാക്കിയെല്ലാം Sql ഡേറ്റാബേസ് പ്രോഗ്രാം പോലെയാണ്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3; color: red;"><b><u>MS-Access കണക്ഷൻ</u></b></span></div>
<div style="text-align: justify;">
<i style="background-color: #ead1dc;">App_Data ഫോൾഡറിലേക്ക് .mdb ഫയൽ കൊണ്ടുവരിക.</i></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSKDHfVvL9wbepBrXb2VEG43XN6kJLqNMtISgAUY_DjJ9vA0gymmaSLX1TUUg8bwhM-VMOutVlJN1veG7KKqJnApCYqE9A5VgiHwT3oYs6vKQtYw6VQ2H5IQIbvdNeBwvZxrPaXQNiJnoy/s1600/15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSKDHfVvL9wbepBrXb2VEG43XN6kJLqNMtISgAUY_DjJ9vA0gymmaSLX1TUUg8bwhM-VMOutVlJN1veG7KKqJnApCYqE9A5VgiHwT3oYs6vKQtYw6VQ2H5IQIbvdNeBwvZxrPaXQNiJnoy/s1600/15.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Bin ഫോൾഡറിലേക്ക് MySql.Data.dll കൊണ്ടുവരണം എന്നതുപോലെ App_Data ഫോൾഡറിലേക്ക് .mdb ഫയൽ കൊണ്ടുവരണമെന്ന് നിർബന്ധമില്ല. കണക്ഷൻ സ്ട്രിംങിൽ .mdb ഫയലിന്റെ ലൊക്കേഷൻ പറഞ്ഞു കൊടുക്കണമെന്ന് മാത്രം. നമ്മൾ ഇവിടെ DotnetBlog.mdb ഡേറ്റാബേസ് App_Data ഫോൾഡറിലേക്ക് കൊണ്ടുവരാൻ കാരണം .mdb ഫയലിന്റെ ലൊക്കേഷൻ / ഡേറ്റാ സോർസ് ലൊക്കെഷൻ DataDirectory എന്നു പറഞ്ഞ് കൊടുക്കുന്നതുകൊണ്ടാണ്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
App_Data ഫോൾഡറിലേക്ക് .mdb ഫയൽ കൊണ്ടുവരാനായി <span style="color: blue;">App_Data ഫോൾഡറിന്റെ മുകളിൽ കർസർ വെച്ച് Add Existing Item എന്ന സബ് മെനുവിൽ ക്ലിക്ക് ചെയ്യുക. തുറന്നു വരുന്ന വിൻഡോയിൽ നമ്മുടെ .mdb ഫയലിന്റെ ലൊക്കെഷൻ കാണിച്ചു കൊടുത്തതിനുശേഷം Add ബട്ടൺ ക്ലിക്ക് ചെയ്യുക. </span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #38761d;"><b>:: MS-Access കണക്ഷൻ പ്രോഗ്രാം ::</b></span></div>
<div style="text-align: justify;">
നമ്മൾ നേരത്തെ Sql കണക്ഷൻ നോക്കിയിരുന്നല്ലോ. അവിടെ SqlConnection,SqlDataAdapter എന്നിങ്ങനെ ആയിരുന്നു ഉപയോഗിച്ചിരുന്നതെങ്കിൽ MS-Access ഡേറ്റാബേസ് ഉപയോഗിക്കുമ്പോൾ SqlConnection, SqlDataAdapter നു പകരം <b><span style="color: blue;">OleDbConnection, OleDbDataAdapter</span></b> എന്നിവയാണ് ഉപയോഗിക്കേണ്ടത്. അതിനുവേണ്ടി using System.Data.OleDb; എന്ന നെയിം സ്പേസ് ആദ്യം തന്നെ ആഡ് ചെയ്യണം.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
കണക്ഷൻ സ്ട്രിംങ് നോക്കുക.</div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3; color: magenta;"><b>OleDbConnection OleDbConn = new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|DotnetBlog.mdb ");</b></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഇവിടെ ഡേറ്റാ സോർസ് ആയി പറഞ്ഞത് DataDirectory ലെ DotnetBlog.mdb എന്ന ഡേറ്റാബേസ് ആണ്. ഇതിനാണ് DotnetBlog.mdb ഫയൽ App_Data ഫോൾഡറിലേക്ക് കൊണ്ടുവന്നത്. ഇനി മറ്റേതെങ്കിലും ലൊക്കേഷനിലാണ് .mdb ഫയൽ കിടക്കുന്നതെങ്കിൽ ആ പാത്ത് പറഞ്ഞ് കൊടുത്താൽ മതി.</div>
<div style="text-align: justify;">
<i>Data Source=G:\\BlogPost\\DOT NET\\4_DatabseConnections\\DotnetBlog.mdb"</i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="font-size: xx-small;">(ഇവിടിത്തെ കണക്ഷൻ സ്ട്രിംങിലെ പ്രത്യേകത നോക്കിയിരിക്കുമല്ലോ. മറ്റ് രണ്ട് സ്ട്രിംങിലും Server , DataBase എന്ന് ഉപയോഗിച്ചപ്പോൾ OleDbConnection സ്ട്രിംങില് Provider , Data Source എന്നിങ്ങനെയാണ് ഉപയോഗിച്ചിരിക്കുന്നത്)</span></div>
<div style="text-align: justify;">
<br />
:: <a href="https://drive.google.com/file/d/0B0RvZZPq0azJS0NWUEV6U1lyVms/view?usp=sharing" target="_blank"><b><span style="color: red;">Download Example</span></b></a> ::</div>
ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-72478291693237613052014-08-17T05:25:00.001+05:302014-08-17T05:29:50.210+05:30Generate and publish Scripts in SQL<div style="text-align: justify;">
ഡേറ്റാബേസിന്റെ ബാക്കപ്പ് വഴി എടൂത്ത ഡേറ്റാബേസ് എങ്ങനെയണ് റീസ്റ്റോർ ചെയ്യുന്നതെന്ന് നമ്മൾ കഴിഞ്ഞ പോസ്റ്റിൽ കണ്ടൂ. എപ്പോഴും ഡേറ്റാബേസിന്റെ മുഴുവൻ ബാക്കപ്പ് നമുക്ക് ആവശ്യമായി വരികയില്ല. ബാക്കപ്പ് വഴി ഡേറ്റാബേസ് എടുക്കുമ്പോൾ അതിന്റെ സൈസ് വളരെക്കൂടൂതലും ആയിരിക്കും. എന്നാൽ സ്ക്രിപിറ്റ് വഴി നമുക്ക് സൈസ് കുറച്ച് ഡേറ്റാബേസിന്റെ 'ബാക്കപ്പ്' എടുക്കാൻ നമുക്ക് കഴിയും. നമൂക്ക് ആവശ്യമായ ടേബിളിന്റെയോ പ്രൊസീജിയറിന്റെയോ മാത്രമായി ബാക്കപ്പ് എടുക്കാൻ 'സ്ക്രിപിറ്റ്' വഴി സാധിക്കൂം. ഈ സ്ക്രിപിറ്റ് ക്വറി വിൻഡോയിൽ ഓപ്പണാക്കി എക്സിക്യൂട്ട് ചെയ്യിച്ചാൽ നമുക്ക് ആവശ്യമായ ടേബിൾ/പ്രൊസീജിയർ ഡേറ്റാബേസിൽ 'ജനറേറ്റ്' ആവുകയും ചെയ്യും. എങ്ങനെയാണ് ഡേറ്റാബേസിന്റെ/ഡേറ്റാബേസിൽ നിന്ന് സ്ക്രിപിറ്റ് എടുക്കുന്നതെന്ന് നോക്കാം</div>
<div style="text-align: justify;">
<br />
<b style="background-color: #dabb85; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif; font-size: 15px; line-height: 21.559999465942383px;"><span style="background-color: #f3f3f3; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;">DB : SQL Server 2008 R2</span></b><br />
<b style="background-color: #dabb85; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif; font-size: 15px; line-height: 21.559999465942383px;"><span style="background-color: #f3f3f3; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;"><br /></span></b></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ്പ് 1</b></div>
<div style="text-align: justify;">
ഏത് ഡേറ്റാബേസിന്റെ സ്ക്രിപിറ്റ് ആണോ എടുക്കേണ്ടത് ആ ഡേറ്റാബേസിൽ റൈറ്റ് ക്ലിക്ക് ചെയ്ത് ജനറേറ്റ് സ്ക്രിപിറ്റ് എന്ന മെനുവിൽ എത്തുക. (Database(right Click) - Tasks-Generate Scripts...)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEA5bfD-szT8xghvjTqORJnoiSyng9BVHX73x5OwbkC3MI7tuwWFlQwGdQJyE-flOpJUtKChVpnqeB-6ToJdfZcy6GMmuupnd5pPMpUD-C6f_mR_Sdm2wL3GkT2Hy-Hz2kwW127kG54tnh/s1600/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEA5bfD-szT8xghvjTqORJnoiSyng9BVHX73x5OwbkC3MI7tuwWFlQwGdQJyE-flOpJUtKChVpnqeB-6ToJdfZcy6GMmuupnd5pPMpUD-C6f_mR_Sdm2wL3GkT2Hy-Hz2kwW127kG54tnh/s1600/1.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ്പ് 2</b></div>
<div style="text-align: justify;">
Generate and Publish Scripts എന്ന വിൻഡോ യിൽ Script എടുക്കുന്നതിന്റെ സ്റ്റെപ്സ് നൽകിയിട്ടുണ്ട്. Introduction ഭാഗത്ത് നമുക്കൊന്നും ചെയ്യാനില്ലാത്തതുകൊണ്ട് Choose Objects ല് ക്ലിക്ക് ചെയ്തോ Next ബട്ടൺ ഉപയോഗിച്ചോ അടൂത്ത സ്റ്റെപ് ആയ Choose Objects ല് എത്തുക.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgapHlIp2t6oWAmcJDqrCWwWd6zFYoW2TfPEys9QqYgrqZVC-Fet9ruQHM1CD1Azc_FY7qPekXu_D7xZWQQPAIArxMJdCiOTOovZmkn52cH_6Q_mzU3xklfaIbVHX48GBswYbyHRIok9RkK/s1600/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgapHlIp2t6oWAmcJDqrCWwWd6zFYoW2TfPEys9QqYgrqZVC-Fet9ruQHM1CD1Azc_FY7qPekXu_D7xZWQQPAIArxMJdCiOTOovZmkn52cH_6Q_mzU3xklfaIbVHX48GBswYbyHRIok9RkK/s1600/2.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 3</b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Choose Objects ല് Script entire database and all databases objects , Select specific database objects എന്നിങ്ങനെ രണ്ട് റേഡിയോ ബട്ടൺ കാണാം. അതിൽ ആദ്യത്തേത് സെലക്റ്റ് ചെയ്താൽ ഡേറ്റാബേസ് മുഴുവനായി(ഡേറ്റാബേസിന്റെ ക്രിയേഷൻ മുതൽ ടേബിളും പ്രൊസീജയറും ഉൾപ്പെടെ) സ്ക്രിപിറ്റ് എടുക്കാം.Select specific database objects ആണ് സെലക്റ്റ് ചെയ്യുന്നതെങ്കിൽ നമുക്ക് ആവശ്യമുള്ള ടേബിളോ പ്രൊസീജയറോ മാത്രമായി സ്ക്രിപിറ്റ് എടുക്കാം. (നമ്മൾ ഇവിടെ ചെയ്യുന്നത് ആദ്യത്തെ റേഡിയോ ബട്ടൺ സെലക്റ്റ് ചെയ്ത് ഡേറ്റാബേസിന്റെ മുഴുവൻ സ്ക്രിപിറ്റ് എടുക്കുകയാണ്) </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSN_qQLlizall096RngG_wfAWwZzcXoURWeo1_v8zz0YengxgRq4DT53JSDYJdo1J09jN7pTl6LXsTbnY24WmjVZdzBeMgwjlGHWLSYEMs4p9jclS4sYiAyFIlWgLaPUVNf1MbzwDjLlKQ/s1600/3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSN_qQLlizall096RngG_wfAWwZzcXoURWeo1_v8zz0YengxgRq4DT53JSDYJdo1J09jN7pTl6LXsTbnY24WmjVZdzBeMgwjlGHWLSYEMs4p9jclS4sYiAyFIlWgLaPUVNf1MbzwDjLlKQ/s1600/3.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 4.1</b></div>
<div style="text-align: justify;">
Next ബട്ടൺ ഉപയോഗിച്ചോ set Scripting OPtions ടാബിൽ ക്ലിക്ക് ചെയ്തോ set Scripting OPtions എന്ന സ്റ്റെപിലേക്ക് എത്തുക. ഇവിടെ സ്ക്രിപിറ്റ് ഏത് രീതിയിലാണ് സേവ് ചെയ്യേണ്ടത് , സേവ് ചെയ്യേണ്ട ലൊക്കെഷൻ എന്നിവ പറഞ്ഞ് കൊടുക്കണം. Output Type ല് Save scripts to a specific location എന്ന റേഡീയോ ബട്ടൺ സെലക്റ്റ് ചെയ്യുന്നു. Save to file ഭാഗത്ത് നിന്ന് </div>
<div style="text-align: justify;">
Files to generate ല് നിന്ന് Single file Option എന്ന ബട്ടൺ select ചെയ്യുന്നു. ഇത് സെലക്റ്റ് ചെയ്താൽ ഡേറ്റാബേസ് സ്ക്രിപിറ്റ് മുഴുവൻ ഒരൊറ്റ .sql ഫയലായി ലഭിക്കും. Single File per object ആണ് സെലക്റ്റ് ചെയ്യുന്നതെങ്കിൽ ഓരോ ടേബിളിനും പ്രൊസീജയറിനും പ്രത്യേകം പ്രത്യേകം .sql ഫയല് ഉണ്ടാവും. Save As ഭാഗത്ത് Unicode text സെലക്റ്റ് ചെയ്യുന്നതാണ് നല്ലത്. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqFgPQlgYhGwOB9zj_L94vqmeW6zpZoDA4gIJ3YX1px5Wd0_O-hV-N7yugY0WKuz9ATZoOlcw_vmpUslFNHsesSulUiqrSrhG2OMwJZCF58RIajWNumsrJOuNAChcOSTTvNPe46H_hnZXa/s1600/4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqFgPQlgYhGwOB9zj_L94vqmeW6zpZoDA4gIJ3YX1px5Wd0_O-hV-N7yugY0WKuz9ATZoOlcw_vmpUslFNHsesSulUiqrSrhG2OMwJZCF58RIajWNumsrJOuNAChcOSTTvNPe46H_hnZXa/s1600/4.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 4.2</b></div>
<div style="text-align: justify;">
Advanced എന്നൊരു ടാബ് ഇവിടെ കാണാം. ഈ ടാബിൽ ക്ലിക്ക് ചെയ്താൽ Advanced Scripting Options എന്ന ഒരു വിൻഡോയിലേക്കാണ് ചെല്ലുന്നത്. ഇവിടെ നമുക്ക് പ്രധാനമായി രണ്ട് കാര്യങ്ങളാണ് ചെയ്യേണ്ടത്. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഒന്നാമത് Script for Server version എന്ന ഓപ്ഷൻ ഭാഗത്തു നിന്ന് നമ്മൾ സ്ക്രിപ്റ്റ് റൺ ചെയ്യിക്കാൻ/എക്സിക്യൂട്ട് ചെയ്യിച്ച് ഡേറ്റാബേസ് നിർമ്മിക്കാൻ പോകുന്നത് ഏത് വേർഷനിലേക്കാണോ അത് സെലക്റ്റ് ചെയ്യുക. (ഹയർ വേർഷനിലേക്ക് പറ്റില്ല).ഇവിടെയുള്ള ഓപഷൻ </div>
<div style="text-align: justify;">
SQL Server 2000 , SQL Server 2005, SQL Server 2008 , SQL Server 2008 R2 എന്നിവയാണ്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
രണ്ടാമത് സ്ക്രിപ്റ്റിന്റെ ഉള്ളടക്കം നിശ്ചയിക്കുക എന്നുള്ളതാണ്. TYpes of data to script എന്ന ഓപ്ഷൻ ഭാഗത്ത് നമുക്ക് കാണാൻ പറ്റുന്നത് Data only , Schema and Data ,Schema only എന്നിങ്ങനെയുള്ള മൂന്ന് ഓപ്ഷൻ ആണ്. ഇതിൽ Data only സെലക്റ്റ് ചെയ്താൽ സ്ക്രിപ്റ്റിൽ ഡേറ്റാ മാത്രമേ ഉണ്ടാകൂ. Schema and Data ആണ് സെലക്റ്റ് ചെയ്യുന്നതെങ്കിൽ ടേബിളിന്റെ സ്ട്രക്ച്ചറും ഡേറ്റായും ഉണ്ടവും, Schema only ആണ് സെലക്റ്റ് ചെയ്യുന്നതെങ്കിൽ ടേബിളിന്റെ സ്ട്രക്ച്ചര് മാത്രമേ സ്ക്രിപിറ്റിൽ കാണൂ.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 5</b></div>
<div style="text-align: justify;">
Next ബട്ടൺ ഉപയോഗിച്ച് Summary ടാബിൽ ചെല്ലുക. വീണ്ടൂം Next ബട്ടൺ ഉപയോഗിച്ച് Save or Publish Scripts ടാബിൽ എത്തുക. സ്ക്രിപ്റ്റ് എടുത്ത സെലക്ഷനുകളുടെ ഒരു സ്മ്മറിയാണ് Summary ടാബിൽ കാണിക്കുന്നത്. ഇവിടെ നോക്കി സെലക്ഷനിൽ എതെങ്കിലും മാറ്റം വരുത്തണമെങ്കിൽ പ്രീവിയസ് ബട്ടൺ ഉപയോഗിച്ച് പുറകോട്ട് പോയി മാറ്റി വരുത്താം.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeCF-8meFRZK0f9NTzv2muLsHPBh8rE4oc6_rYxr_QTo8RBcckmFXCCCe8znkNg77w1KjXWvnXTuUm_meNHTbaupri2EGAQj0rxeDcZIMlKm5neQFEUQnW5C9oJf_BHI8AHJ9dvE_S-JQa/s1600/5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeCF-8meFRZK0f9NTzv2muLsHPBh8rE4oc6_rYxr_QTo8RBcckmFXCCCe8znkNg77w1KjXWvnXTuUm_meNHTbaupri2EGAQj0rxeDcZIMlKm5neQFEUQnW5C9oJf_BHI8AHJ9dvE_S-JQa/s1600/5.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 6 </b></div>
<div style="text-align: justify;">
Next ബട്ടൺ ഉപയോഗിച്ചോ സൈഡ് മെനുവിൽ ക്ലിക്ക് ചെയ്തോ Save or Publish Scripts ടാബിൽ എത്തുക. ഈ വിൻഡോയിൽ വരുമ്പോൾ തന്നെ സ്ക്രിപിറ്റ് ജനറേറ്റ് ചെയ്ത് നമ്മൾ പറഞ്ഞു കൊടൂത്ത ലൊക്കേഷനിൽ സേവ് ആകും. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVbP9DdFEuUHE78dlSiZWtg5WCdDBxmBWW4yV-NW1kmn_CwVjwB1xJhMfS9eTuvVhY6pLxZO_TUQwySP76tRuHD0OPgZbrPkiCWD75s2MtuRkC2aGYlsgJjBCXObouVI-EVzbreYlhsxz-/s1600/6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVbP9DdFEuUHE78dlSiZWtg5WCdDBxmBWW4yV-NW1kmn_CwVjwB1xJhMfS9eTuvVhY6pLxZO_TUQwySP76tRuHD0OPgZbrPkiCWD75s2MtuRkC2aGYlsgJjBCXObouVI-EVzbreYlhsxz-/s1600/6.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFW4MHQ56BuoPrqhASj_fRcD52ntCemnDuFd3JcZU7wFUZJBu7nft3awzFoTE5ECPt6TG9QWfFJJ4t57WIhbPCiEqLmk_OO9ohHTJJ156jV51T_8ZJgwQ5JuqQikcntXcsfVTAEWBrrl89/s1600/7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFW4MHQ56BuoPrqhASj_fRcD52ntCemnDuFd3JcZU7wFUZJBu7nft3awzFoTE5ECPt6TG9QWfFJJ4t57WIhbPCiEqLmk_OO9ohHTJJ156jV51T_8ZJgwQ5JuqQikcntXcsfVTAEWBrrl89/s1600/7.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഈ സ്റ്റെപ്പോടെ നമ്മൾ ഡേറ്റാബേസിന്റെ സ്ക്രിപ് എടൂത്തു കഴിഞ്ഞു. ഇനിയുള്ളത് ഡേറ്റാബേസിന്റെ സ്ക്രിപിറ്റ് SQL Server ല് റൺ ചെയ്യിക്കുക/ഡേറ്റാബേസ് ഉണ്ടാക്കുക എന്നുള്ളതാണ്</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 7</b></div>
<div style="text-align: justify;">
SQL Server Management Studio തുറന്ന് File മെനുവിൽ നിന്ന് OPen-File ഉപയോഗിച്ച് നമ്മൾ സേവ് ചെയത് സ്ക്രിപിറ്റ് (.sql ഫയല്) തുറക്കുക(പുതിയ ഒരു ക്വറി വിൻഡോയിൽ ഈ ഫയൽ ഓപ്പണായി വരും). അല്ലങ്കിൽ സേവ് ചെയ്ത ലൊക്കേഷനിൽ സ്ക്രിപിറ്റ് ഫയലിൽ ഡബിൾ ക്ലിക്ക് ചെയ്യുക.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjBjA0MBjl7mEBJHX039N6uVsukskM7DS1KZIo8E4XlFRWrrDo51ZqEaeHaUrC6ZJNd_TMd9g1X7e5nVpO_i4U_usClwZWupE0s25LbQY-4rt-QUEPUgB8RDFNZ5JpLMyDgTUtMaox2dig/s1600/8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjBjA0MBjl7mEBJHX039N6uVsukskM7DS1KZIo8E4XlFRWrrDo51ZqEaeHaUrC6ZJNd_TMd9g1X7e5nVpO_i4U_usClwZWupE0s25LbQY-4rt-QUEPUgB8RDFNZ5JpLMyDgTUtMaox2dig/s1600/8.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 8</b></div>
<div style="text-align: justify;">
സ്ക്രിപിറ്റ് എക്സിക്യൂട്ട് ചെയ്യുക. സെർവറിൽ ആ പേരിൽ ഡേറ്റാബേസ് ഉണ്ടങ്കിൽ എറർ ഉണ്ടാകും.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-OXCaeoS-nGZUEwnFvIl_-Wm657IhnmUXtMhT9tVpkqWxqIpa_hId-wHgtDIBoWLwOi5KrOmRxdvYR4n8NqsV_yH3vjv8gZz8uNLsLwtJHISJ2mNeG95RY6ZslE1CGs4gXFmdFo5U4KX_/s1600/9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-OXCaeoS-nGZUEwnFvIl_-Wm657IhnmUXtMhT9tVpkqWxqIpa_hId-wHgtDIBoWLwOi5KrOmRxdvYR4n8NqsV_yH3vjv8gZz8uNLsLwtJHISJ2mNeG95RY6ZslE1CGs4gXFmdFo5U4KX_/s1600/9.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 9</b></div>
<div style="text-align: justify;">
ഡേറ്റാബേസിനു പുതിയ പേര് നൽകാനായി Contol+H അടിച്ച് പഴയ പേര് റിപ്ലേസ് ചെയ്യാം.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0cbs1Rhoe8lLwVIAgBUbyQbalkweZHv4uSEckQpxPgBW8eeH8eQKuSpM-hXsU7pdsRwUFvGGZgxdRcnUXf6LSv7XCxhQm_U4JIxTukTQCEuOV325ZfBqPgHqfO8zUf0_klh9XX0dZVjTd/s1600/10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0cbs1Rhoe8lLwVIAgBUbyQbalkweZHv4uSEckQpxPgBW8eeH8eQKuSpM-hXsU7pdsRwUFvGGZgxdRcnUXf6LSv7XCxhQm_U4JIxTukTQCEuOV325ZfBqPgHqfO8zUf0_klh9XX0dZVjTd/s1600/10.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഇതിനു ശേഷം വീണ്ടൂം എക്സിക്യൂട്ട് ചെയ്യുക. സ്ക്രിപ് ഫയൽ എക്സിക്യൂട്ടായി പുതിയ ഡേറ്റാബേസ് ഉണ്ടാകും.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkQCoTY8K2YOEC4YGfRZZP-Egpg_W8HRdWd2xDMM_t1bKyVsEO2wZHFlgkbhEWZKKPEqqUHwN8eyuNX52jY8qQ4_qQhpTcbpvQoLsQVeYUOD1YXmELT6WXKoBaiop52HYLcV7YaiTdSzTe/s1600/11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkQCoTY8K2YOEC4YGfRZZP-Egpg_W8HRdWd2xDMM_t1bKyVsEO2wZHFlgkbhEWZKKPEqqUHwN8eyuNX52jY8qQ4_qQhpTcbpvQoLsQVeYUOD1YXmELT6WXKoBaiop52HYLcV7YaiTdSzTe/s1600/11.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 10.</b></div>
<div style="text-align: justify;">
ഡേറ്റാബേസ് മുഴുവനായി സ്ക്രിപിറ്റ് എടുത്ത് റൺ ചെയ്യിക്കുകയായിരുന്നു നമ്മൾ ചെയതത്. നിലവിലുള്ള ഡേറ്റാബേസിലേക്ക് ടേബിളോ പ്രൊസീജിയറോ ചേർക്കാനായും സ്ക്രിപ് എടുക്കാവുന്നതാണ്. ഏത് ടേബിളിന്റെ/ പ്രൊസീജയിന്റെ സ്ക്രിപ്റ്റാണോ എടൂക്കേണ്ടത് അതിൽ റൈറ്റ് ക്ലിക്ക് ചെയ്ത് സ്ക്രിപിറ്റ് എടൂക്കാം. (ചിത്രം നോക്കുക)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwye8CVnTJAdjTiE00llWX8wPBO-gmVJ7gOVBuQ66kINwQz7PJwvWWbeUWIlo0fF5Cm2fAcABRDygESvHdPkC5t6HDYg0evZCyNh0qb_WL7LEAoYJd-nCBE61fNTkEiCQg8BpLIG-gX2NO/s1600/12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwye8CVnTJAdjTiE00llWX8wPBO-gmVJ7gOVBuQ66kINwQz7PJwvWWbeUWIlo0fF5Cm2fAcABRDygESvHdPkC5t6HDYg0evZCyNh0qb_WL7LEAoYJd-nCBE61fNTkEiCQg8BpLIG-gX2NO/s1600/12.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>സ്റ്റെപ് 11.</b></div>
<div style="text-align: justify;">
ഇങ്ങനെയെടൂത്ത സ്ക്രിപിറ്റ് ഓപ്പണാക്കീ ഡേറ്റാബേസിന്റെ പേര് മാറ്റി (നമുക്കേത് ഡേറ്റാബേസിലാക്കാണോ സ്ക്രിപ്റ്റ് റൺ ചെയ്യേണ്ടത് USE എന്നതിനു ശേഷം ആ ഡേറ്റാബേസിന്റെ പേരാക്കണം. (ചിത്രത്തിൽ വട്ടമിട്ട ഭാഗം നോക്കുക)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHJjDzEMRwSGS_hrZB1-kalJqwG4Rn4jWY4qWhxtkzE6X5YUTHQTHpVisaMt4ipaZDzN0A448ikLDFiSfA-Jfp6DQwAJFvSf_d1Men00cMbVK1aE9g-aATM2QxIVyA64bfHGCxW4sYNppH/s1600/13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHJjDzEMRwSGS_hrZB1-kalJqwG4Rn4jWY4qWhxtkzE6X5YUTHQTHpVisaMt4ipaZDzN0A448ikLDFiSfA-Jfp6DQwAJFvSf_d1Men00cMbVK1aE9g-aATM2QxIVyA64bfHGCxW4sYNppH/s1600/13.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-85489255637107793992014-08-15T05:20:00.000+05:302014-08-15T05:21:06.818+05:30Back Up and Restore of SQL Server<div style="text-align: center;">
<span style="color: blue;"><b><u>ഡേറ്റാബേസിന്റെ ബാക്കപ്പ് എടുത്ത് റീസ്റ്റോർ ചെയ്യുന്നതെങ്ങനെ??</u></b></span></div>
<div style="text-align: justify;">
<span style="color: blue;"><b><u><br /></u></b></span></div>
<div style="text-align: justify;">
<span style="color: blue;"><b style="text-decoration: underline;">1.ബാക്കപ്പ് ::</b> How to Backup Database in SQL Server - Create a Full Back up of Database</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="background-color: #f3f3f3; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;">DB : SQL Server 2008 R2</span></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="color: blue;">സ്റ്റെപ് 1 .</span></b> </div>
<div style="text-align: justify;">
ബാക്കപ്പ് എടുക്കേണ്ട ഡേറ്റാബേസിൽ റൈറ്റ്ക്ലിക്ക് ചെയ്യുമ്പോൾ കിട്ടുന്ന മെനുവിൽ നിന്ന് റ്റാസ്കിൽ നിന്ന് ബാക്കപ്പ് എന്നതിൽ ക്ലിക്ക് ചെയ്യുക. </div>
<div style="text-align: justify;">
<i><span style="color: purple;">DataBase(right Click) - Tasks-Back Up...</span></i></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgMpSzJIjZnjgyBa9KUh4A9orxJxU0VYS4g0kvLpoTknbCrGRnwD0CDMJAysSFbZfIx6ojdZ7tu8HqZZb-CR-EViEfl6-uFefML1o-eChSxUT-vRLFl1Nf8oIMd4_lhsrgupasoEYh9E6i/s1600/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgMpSzJIjZnjgyBa9KUh4A9orxJxU0VYS4g0kvLpoTknbCrGRnwD0CDMJAysSFbZfIx6ojdZ7tu8HqZZb-CR-EViEfl6-uFefML1o-eChSxUT-vRLFl1Nf8oIMd4_lhsrgupasoEYh9E6i/s1600/1.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: blue;"><b>സ്റ്റെപ് 2.</b></span></div>
<div style="text-align: justify;">
ബാക്കപ്പ് ഡേറ്റാബേസ് എന്ന് പേരുള്ള ഒരു വിൻഡോ ഓപ്പണായി വരുന്നു. ഈ വിൻഡോയിൽ ബാക്കപ്പ് ഡെസ്റ്റിനേഷൻ ഭാഗത്ത് ഡെസ്റ്റിനേഷൻ ഫോൾഡർ/ലൊക്കെഷൻ പറഞ്ഞു കൊടുക്കുക. മുമ്പ് എടുത്ത ഡെറ്റാബേസിന്റെ ഡെസിറ്റിനേഷൻ ലൊക്കേഷൻ അവിടെ ഡിഫോൾട്ട് ആയി കാണിച്ചിട്ടൂണ്ടാവും. അത് റിമോവ് ചെയ്ത് ആഡ് ബട്ടണിൽ ക്ലിക്ക് ചെയ്ത് പുതിയ ഡെസ്റ്റിനേഷൻ ലൊക്കെഷൻ നൽകാം. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvCyqPLomzfpS8qnVUK2KlVOPQX7LLlny_SDzsAya0nD1ikA0hoZEQG82KiB7NQoGZkvZkh4ozMLWNOiq3d_C-Rv4Bsp6y5u8_XEEoLVE34fVllRbdzPc4o4XUhAiuTekBU04fDCwjyxO5/s1600/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvCyqPLomzfpS8qnVUK2KlVOPQX7LLlny_SDzsAya0nD1ikA0hoZEQG82KiB7NQoGZkvZkh4ozMLWNOiq3d_C-Rv4Bsp6y5u8_XEEoLVE34fVllRbdzPc4o4XUhAiuTekBU04fDCwjyxO5/s1600/2.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWY5DRSW8-S0iAyIIYebOnAlSDabuM2XqEuy4Uz3a892EO1eI5y3b6BbGYJydNm-7LBSbQPFCuPQg6toTqmWY0uaJGgtLotGluxUec6Vusk8EsL2QXr12tUso-suyeFstEJcOdDECY2j8L/s1600/3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWY5DRSW8-S0iAyIIYebOnAlSDabuM2XqEuy4Uz3a892EO1eI5y3b6BbGYJydNm-7LBSbQPFCuPQg6toTqmWY0uaJGgtLotGluxUec6Vusk8EsL2QXr12tUso-suyeFstEJcOdDECY2j8L/s1600/3.jpg" height="374" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഇവിടെ ശ്രദ്ധിക്കേണ്ട ഒരു കാര്യം ഉണ്ട്. ഡെസ്റ്റിനേഷൻ പാത്ത് പറഞ്ഞു കൊടുത്തതിനു ശേഷം ഫയ്ല് നെയിം(ബാക്കപ്പ് ഫയലിന് നമ്മൾ നൽകുന്ന പേര്) നൽകുമ്പോൾ അതിന്റെ എക്സ്റ്റൻഷനായി .bak എന്ന് നൽകുന്നത് നന്നായിരിക്കും . </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: blue;"><b>സ്റ്റെപ് 3.</b></span></div>
<div style="text-align: justify;">
ഡെസ്റ്റിനേഷൻ ലൊക്കേഷൻ കൊടുത്തതിനു ശേഷം ഒകെ ബട്ടണിൽ ക്ലിക്ക് ചെയ്യുക. Progress ബാർ 100% കാണിച്ചു കഴിയുമ്പോൾ ഒരു മെസേജ് ബോക്സ് പ്രത്യക്ഷപ്പെടും. നിങ്ങൾ പറഞ്ഞു കൊടുത്ത ലൊക്കേഷനിൽ ഡേറ്റാബേസിന്റെ ബാക്കപ്പ് ഉണ്ടായിരിക്കും. (4,5)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQxW6bKxBcB3WiWsxaCX-XSciXHslphHMHFOKIXpPqU1xVk1vrxDeqQadW1YDP2-g5btyiyTQUrRSP8h2GRkAWMPx5H4R0v0lULvhBoklG_mmse5mhLJlqFVEDhXEjSuXVUlNmu-RmrKeb/s1600/4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQxW6bKxBcB3WiWsxaCX-XSciXHslphHMHFOKIXpPqU1xVk1vrxDeqQadW1YDP2-g5btyiyTQUrRSP8h2GRkAWMPx5H4R0v0lULvhBoklG_mmse5mhLJlqFVEDhXEjSuXVUlNmu-RmrKeb/s1600/4.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE-fm4rWyoBkJDBp6ujySiCqTMS6VKVVgROqmZ_qqp51GvpaKn68d8jjxBkI0QyUtQddX36Zyk9M14os1VOi6wJlZKkvYPwjiry78qAo-iKCiHxjBesg_UJXDgfqTejDOu_a3upStUlX0z/s1600/5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE-fm4rWyoBkJDBp6ujySiCqTMS6VKVVgROqmZ_qqp51GvpaKn68d8jjxBkI0QyUtQddX36Zyk9M14os1VOi6wJlZKkvYPwjiry78qAo-iKCiHxjBesg_UJXDgfqTejDOu_a3upStUlX0z/s1600/5.jpg" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: blue;"><b><u><br /></u></b></span></div>
<div style="text-align: justify;">
<span style="color: blue;"><b><u>2. റിസ്റ്റോർ</u></b> :: How to Restore MS SQL Server 2008 Database Backup File ?</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="color: blue;">സ്റ്റെപ് 1.</span></b> ബാക്കപ്പ് ചെയ്ത ഡേറ്റാബേസ് പുതിയ ഒരു ഡെറ്റാബേസിലാക്കാണ് റിസ്റ്റോർ ചെയ്യേണ്ടതെങ്കിൽ അതിനായി ഒരു പുതിയ ഡേറ്റാബേസ് ഉണ്ടാക്കുക </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm-uINvYrsChjqMBWW6o1UsNc-POmcuJdLd5Ls5JC2Vu9AHNJ6u6f1bNpLZzGBipSCQG4_ugnKbH4JnH6a2MlpkNQVEeO0dUlggRY0p6ZoVgEDoJjkYQxREB5NmtvBpjRNRtRkkqbx39O1/s1600/6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm-uINvYrsChjqMBWW6o1UsNc-POmcuJdLd5Ls5JC2Vu9AHNJ6u6f1bNpLZzGBipSCQG4_ugnKbH4JnH6a2MlpkNQVEeO0dUlggRY0p6ZoVgEDoJjkYQxREB5NmtvBpjRNRtRkkqbx39O1/s1600/6.jpg" height="421" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: blue;"><b>സ്റ്റെപ് 2 </b></span>: ഡേറ്റാബേസിൽ റൈറ്റ്ക്ലിക്ക് ചെയ്യുമ്പോൾ കിട്ടുന്ന മെനുവിൽ നിന്ന് റ്റാസ്കിൽ നിന്ന് റിസ്റ്റോറിൽ നിന്ന് ഡേറ്റാബേസ് എന്നതിൽ ക്ലിക്ക് ചെയ്യുക. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix0Uur9CfL2894HChxz86DNi0DTm6NkgxxLO0eMhMfIMYVYs9TkW8NJjjDIg_NiRqDu24DopzGp9HuYMRD9WBH3gwIavghJzZZzLf3gR552k6PrJkt6dTFuvL-3OR1a-fHZEHE6OjgENXd/s1600/7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix0Uur9CfL2894HChxz86DNi0DTm6NkgxxLO0eMhMfIMYVYs9TkW8NJjjDIg_NiRqDu24DopzGp9HuYMRD9WBH3gwIavghJzZZzLf3gR552k6PrJkt6dTFuvL-3OR1a-fHZEHE6OjgENXd/s1600/7.jpg" height="552" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="color: blue;">സ്റ്റെപ് 3 </span></b>: റീസ്റ്റോർ ഡേറ്റാബേസ് എന്ന ഒരു വിൻഡോ പ്രത്യക്ഷപ്പെടും. To Database എന്ന ഭാഗത്ത് നിങ്ങൾക്ക് ഏത് ഡേറ്റാബേസിലാക്കാണോ ബാക്കപ്പ് റീസ്റ്റോർ ചെയ്യേണ്ടത് ആ ഡേറ്റാബേസിന്റെ പേരായിരിക്കൂം(നിങ്ങൾ റൈറ്റ് ക്ലിക്ക് ചെയ്ത ഡേറ്റാബേസിന്റെ പേര്). Source for REstore എന്ന ഭാഗത്ത് From Database, From device എന്നിങ്ങനെ രണ്ട് റേഡിയോ ബട്ടൺ ഉണ്ടാവും. നമുക്ക് റീ സ്റ്റോർ ചെയ്യേണ്ടത് നമ്മൾ നേരത്തെ എടുത്തു വച്ചിരിക്കുന്ന ബാക്കപ്പ് ആയതുകൊണ്ട് From device എന്ന റേഡിയോ ബട്ടൺ സെലക്റ്റ് ചെയ്തതിനുശേഷം ബാക്കപ്പിന്റെ ലൊക്കെഷൻ പറഞ്ഞു കൊടുക്കണം. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Back Up Location ല് Add ബട്ടൺ ക്ലിക്ക് ചെയ്യുമ്പോൾ Locate BackUp file എന്നൊരു വിൻഡോ ഓപ്പണായി വരും.ഡിഫോൾട്ടായി എസ്ക്യുൽ ഇൻസ്റ്റാൾ ചെയ്തിട്ടുള്ള പാർട്ടീഷനിലെ പ്രോഗ്രാം ഫയലിൽ നിന്ന് MS SQL - Backup എന്ന പാത്തായിരിക്കും കാണീക്കുന്നത്. അത് മാറ്റി നമ്മുടെ ബാക്കപ്പ് ഫയൽ ഇരിക്കൂന്ന ലൊക്കെഷന്റെ പാത്ത് നൽകണം. ഒരു കാര്യം ശ്രദ്ധിക്കേണ്ടത് , ബാക്കപ്പ് ഫയലിനു പേര് നൽകിയപ്പോൾ .bak എന്ന് നൽകിയിട്ടീല്ലങ്കിൽ ബാക്കപ്പ് ഫോൾഡറിൽ ആ ഫയ്ല് കാണിക്കുകയില്ല. അപ്പോൾ Files of Type ല് BackUp Files എന്നുള്ളത് മാറ്റ്യി All Files (.*) എന്നാക്കുക. അപ്പോൾ നിങ്ങളുടെ ബാക്കപ്പ് ഫയൽ കാണാൻ കഴിയും.ഫയൽ സെലക്റ്റ് ചെയ്തതിനു ശേഷം ഒകെ ബട്ടൻ ക്ലിക്ക് ചെയ്യുക. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqb-t-t-dZn4nsaOM16YrN9TUttx9qsmZJc3kCBCrhB3G0uE6tb5uiLE6x_QpK_qkCqhlFhSgi8Lb7oQ-WQHkDVJyAGaEI1lXLsf-rB_wzEoENmj4TiR1PY3mv0mwljkenXHmsbLSx29K3/s1600/8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqb-t-t-dZn4nsaOM16YrN9TUttx9qsmZJc3kCBCrhB3G0uE6tb5uiLE6x_QpK_qkCqhlFhSgi8Lb7oQ-WQHkDVJyAGaEI1lXLsf-rB_wzEoENmj4TiR1PY3mv0mwljkenXHmsbLSx29K3/s1600/8.jpg" height="344" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggFV32huWlyFrJW46Ojcw7HhYKxouzpefF3JG_BR-bjRrDXRKrxTX_6FdE0L0j-n3hn0YLOHQTcs32vCkg3-ckpkjSM9A59IYS4VBZQjtk-Txng_XDMkLYMm5olg2U_Yi0cMc-6XitJKvR/s1600/9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggFV32huWlyFrJW46Ojcw7HhYKxouzpefF3JG_BR-bjRrDXRKrxTX_6FdE0L0j-n3hn0YLOHQTcs32vCkg3-ckpkjSM9A59IYS4VBZQjtk-Txng_XDMkLYMm5olg2U_Yi0cMc-6XitJKvR/s1600/9.jpg" height="332" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="color: blue;">സ്റ്റെപ് 4 </span></b>. </div>
<div style="text-align: justify;">
വീണ്ടും നമ്മൾ Restore Database എന്ന വിൻഡോയിൽ തിരികെ എത്തി. അവിടെ കാണിക്കുന്ന ഡേറ്റാബേസിന്റെ ഭാഗത്ത് Restore എന്ന ചെക് ബോക്സ് സെലകറ്റ് ചെയ്തതിനുശേഷം (ടിക് ഇട്ടതിനു ശേഷം) ഒകെ ബട്ടൺ ക്ലിക്ക് ചെയ്യുക.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioWy7EJiml2JCuaNrm-qgotFoIHwE9WvvFuT6BsQz4rBJRZH5SpNsulFEA_Z5unJjcr4jQYD5EZmCYHp-fltVFbjtDDTkVtyghz62q1iGjDdGFAKZOUW5LUGr2ILnDSzAGVPomwgd-OT1K/s1600/10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioWy7EJiml2JCuaNrm-qgotFoIHwE9WvvFuT6BsQz4rBJRZH5SpNsulFEA_Z5unJjcr4jQYD5EZmCYHp-fltVFbjtDDTkVtyghz62q1iGjDdGFAKZOUW5LUGr2ILnDSzAGVPomwgd-OT1K/s1600/10.jpg" height="368" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
ഇത്രയും കൊണ്ട് ഡേറ്റാബേസ് റീസ്റ്റോർ ആകേണ്ടതാണ്, പക്ഷേ നിങ്ങളുടെ സിസ്റ്റത്തിലെ ഡേറ്റാബേസ് തന്നെയാണ് ബാക്കപ്പ് എടുത്ത് മറ്റൊരു പുതിയ ഡേറ്റാബേസിലേക്ക് റീസ്റ്റോർ ചെയ്യുന്നത് എന്നതുകൊണ്ട് താഴെയുള്ള ചിത്രത്തിലെപ്പോലെ ഒരു എറർ ഉണ്ടാകാം. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0wRrVhjhD8BmnyEcTe9rWyrfaR6aaejWuARwZODI_HrQ298QebxMdYACQh0JY-iyVK4rmRuMC_2SKCq705x_UrIXDCXo8HXr_nNerWilSxpYsfeu8wilOXN77FDGWPmWPe1ISSR9UiFdk/s1600/11_error.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0wRrVhjhD8BmnyEcTe9rWyrfaR6aaejWuARwZODI_HrQ298QebxMdYACQh0JY-iyVK4rmRuMC_2SKCq705x_UrIXDCXo8HXr_nNerWilSxpYsfeu8wilOXN77FDGWPmWPe1ISSR9UiFdk/s1600/11_error.jpg" height="410" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b style="color: blue;">സ്റ്റെപ് 5</b></div>
<div style="text-align: justify;">
നമ്മൾ ബാക്കപ്പ് എടുത്ത ഡെറ്റാബേസിന്റെ .mdf, .ldf എന്നീ ഫയലുകൾ തന്നെ പുതിയ ഡേറ്റാബേസിന്റെ .mdf, .ldf ഫയലുകളായി സെർവർ കണക്കാക്കുന്നതുകൊണ്ടാണ് ഈ എറർ ഉണ്ടാകുന്നത്. പുതിയ ഡെറ്റാബേസിന്റെ .mdf, .ldf ഫയലുകൾ സെ;അക്റ്റ് ചെയ്താൽ ഈ എറർ മാറും .Restore Database എന്ന വിൻഡോയിൽ Options എന്നൊരു ടാബ് ഉണ്ട്. അതിൽ ക്ലിക്ക് ചെയ്യുമ്പോൾ ഡെറ്റബേസിന്റെ .mdf, .ldf ഫയൽ ലൊക്കെഷൻ കാണിക്കും. അവിടെ നിന്ന് ലൊക്കെഷൻ മാറ്റി കൊടുക്കുക. .mdf, .ldf എന്നീ ഫയലുകളുടെ ലൊക്കെഷൻ ഇങ്ങനെ മാറ്റിക്കൊടുക്കുക. (ചിത്രം നോക്കുക)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF5T6yHKoRyCg6-77HUAGy3QvPpWv67FsCsQS8_ReCFex-FoQyrhEls9oARgwI09sMLczQ3CZJg0rElJct3qsBierjUpnj6y_x6xmqal7Zhc4XGS9hyL_NjNGgqyYvhVUB3Um5ZGCf1CRU/s1600/12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF5T6yHKoRyCg6-77HUAGy3QvPpWv67FsCsQS8_ReCFex-FoQyrhEls9oARgwI09sMLczQ3CZJg0rElJct3qsBierjUpnj6y_x6xmqal7Zhc4XGS9hyL_NjNGgqyYvhVUB3Um5ZGCf1CRU/s1600/12.jpg" height="402" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNK7SBzEhZuOrAE7_GpXZyBxXstYLgaPt3UaULdauNuAX3gAqZxJDghwiT3cl39YUwBLXyZus4OA00sqHfGUew967ppjYtESJhKeyd9j-tyfNxGWab0Sg2F7FOKrEEyw-rZoioHyBgYOqT/s1600/13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNK7SBzEhZuOrAE7_GpXZyBxXstYLgaPt3UaULdauNuAX3gAqZxJDghwiT3cl39YUwBLXyZus4OA00sqHfGUew967ppjYtESJhKeyd9j-tyfNxGWab0Sg2F7FOKrEEyw-rZoioHyBgYOqT/s1600/13.jpg" height="344" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="color: blue;">സ്റ്റെപ് 6</span></b></div>
<div style="text-align: justify;">
.mdf, .ldf ഫയലുകളുടെ ലൊക്കെഷൻ സെലക്റ്റ് ചെയ്ത് കൊടുത്തതിനു ശേഷം Restore OPtions ലെ ആദ്യത്തെ ഓപ്ഷൻ ടിക്ക് ചെയ്യുക (ഡേറ്റാബേസിൽ ഓവർ റൈറ്റ് ചെയ്യാൻ വേണ്ടിയാണ് ഇത് സെലക്റ്റ് ചെയ്യുന്നത്). ഇതിനു ശേഷം ഒക്കെ അടിക്കുക. ഡേറ്റാബേസ് റീസ്റ്റോർ ആയി എന്നുള്ള മെസേജ് ബോക്സ് പ്രത്യക്ഷപ്പെടൂം. ഇനി ഡേറ്റാബേസ് ഒന്ന് റിഫ്രഷ് ചെയ്തിട്ട് റീസ്റ്റോർ ചെയ്ത ഡേടാബേസിൽ നോക്കുക. പഴയ ഡേറ്റാബേസിലെ എല്ലാ ടേബിളും, പ്രൊസീജിയറും ഒക്കെ പുതിയ ഡേറ്റാബേസിൽ ഉണ്ടാവും.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkDOIcEcYu8ierBfkOPJMoBcDNqBKZL_6qr-bVbcZMY5WwI5VHWooQQARIButRM7lfbFlFAnw6pPK9BkQ6maHL7b2coL_rz0WOEsgRYYXX_ndJPv8et10Addzk3vd4k0lk48RS34lGGPK2/s1600/14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkDOIcEcYu8ierBfkOPJMoBcDNqBKZL_6qr-bVbcZMY5WwI5VHWooQQARIButRM7lfbFlFAnw6pPK9BkQ6maHL7b2coL_rz0WOEsgRYYXX_ndJPv8et10Addzk3vd4k0lk48RS34lGGPK2/s1600/14.jpg" height="504" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: red; font-size: x-small;">മുന്നറിയിപ്പ് :: ഉപയോഗിച്ചുകൊണ്ടിരിക്കൂന്ന ഡേറ്റാബേസിൽ ആദ്യം പണി പഠിക്കരുത് :)</span></div>
ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-72452531079543146912014-08-09T05:34:00.002+05:302014-08-09T05:40:36.381+05:303 tier architecture in asp.net using c#<div style="text-align: justify;">
ഡേറ്റാബേസ് ഉപയോഗിച്ചുള്ള ആപ്ലിക്കേഷനുകളിൽ ഉപയോഗിക്കുന്ന architecture ആണ് 3 tier architecture. പേരിൽ തന്നെ മനസിലാക്കാൻ സാധിക്കുന്നതുപോലെ മൂന്ന് ഭാഗമായിട്ടാണ് ഈarchitecture ന്റെ നില്പ്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
1.Application or Presentation tier</div>
<div style="text-align: justify;">
2.Business Access or Business Logic or Business tier</div>
<div style="text-align: justify;">
3.Data or Data Access tier.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsUHWpBEupyRixWazHFSy_ZOwyXwHLeCF97DASmpyNudMKHnurD00_SQFCRJ9ybaeZoDG-y_t2sjCUVA5rTxi_liYt8J3m0VXNGkCjt4SP7OwdUnchFtSxn-eBVopbRzWtcFvrKUjDiKaz/s1600/3tier+architecture_l.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsUHWpBEupyRixWazHFSy_ZOwyXwHLeCF97DASmpyNudMKHnurD00_SQFCRJ9ybaeZoDG-y_t2sjCUVA5rTxi_liYt8J3m0VXNGkCjt4SP7OwdUnchFtSxn-eBVopbRzWtcFvrKUjDiKaz/s1600/3tier+architecture_l.jpg" height="320" width="278" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u><span style="color: red;">1.Application or Presentation tier.</span></u></b></div>
<div style="text-align: justify;">
യൂസർ ഇന്റ്ര്_ഫേസാണ് Application or Presentation tier ല് വരുന്നത്. ഇത് ഒന്നുകിൽ വെബ് പേജോ വിൻഡോസ് ഫോമോ അതുപോലെയുള്ള മറ്റേതെങ്കിലും യൂസർ ഇന്റ്ര്_ഫേസാകാം. യൂസര് നേരിട്ട് ഉപയോഗിക്കുന്നതാണ് Application or Presentation tier. Business tier മായി ബന്ധപ്പെട്ടാണ് Presentation tier ന്റെ നിൽപ്പ്. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u><span style="color: red;">2. Business tier.</span></u></b></div>
<div style="text-align: justify;">
Presentation tier നും Data tier നും ഇടയിൽ മധ്യവർത്തിയായി നിൽക്കുകയാണ് Business tier ചെയ്യുന്നത്. Presentation tier ല് നിന്ന് കിട്ടൂന്ന നിർദ്ദേശങ്ങൾ സ്വീകരിച്ച് Data tierനു നൽകുകയും Data tier ല് നിന്ന് ലഭിക്കുന്ന വിവരങ്ങൾ ആവശ്യമായ രൂപത്തിലേക്ക് മാറ്റം വരുത്തി തിരിച്ച് Presentation tier ന് നൽകുന്നത് Business tier ആണ്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u><span style="color: red;">3.Data tier.</span></u></b></div>
<div style="text-align: justify;">
ഡേറ്റാബേസ് സെർവറൂമായിമായി ഉള്ള ബന്ധവും ക്വറികളും സ്റ്റോർഡ് പ്രൊസീജിയറുകളുമാണ് Data tier ല് ഉൾപ്പെടുന്നത്. ഡേറ്റാബേസിൽ നിന്നുള്ള വിവരങ്ങൾ(റിക്കോർഡുകൾ) Business tier ലേക്ക് കൈമാറുക എന്നുള്ളതാണ് Data tier ന്റെ ചുമതല. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
{3 tier architecture എന്നു കേൾക്കുമ്പോൾ എന്തോ വലിയ സംഭവം ആണന്ന് കരുതേണ്ട. class (.cs) വഴിയാണ് 3 tier architecture നിർമ്മാണം. മറ്റൊരു രീതിയിൽ പറഞ്ഞാൽ ഡേറ്റാബേസ് കണക്ഷനും മറ്റും(ഇൻസേർട്ട്, അപ്ഡേറ്റ്,ഡിലീറ്റ്,സെലക്റ്റ് ... ക്വറികൾ) ക്ലാസിൽ എഴുതിയിട്ട് .aspx.cs ല്(വെബ് ആപ്ലിക്കേഷനിൽ) ഒബ്ജക്റ്റ് വഴി ക്ലാസിനെ വിളീച്ച് ഡേറ്റാകളെ ഡെറ്റാബേസിലേക്ക് വിടുകയും എടുക്കുകയും ചെയ്യുന്നു.}</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u><span style="color: magenta;">3 tier architecture example</span></u></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>::ആപ്ലിക്കേഷൻ::</u></b></div>
<div style="text-align: justify;">
ഒരു കസ്റ്റ്മർ ഫോംമിൽ കൂടി അയാളുടെ വിവരങ്ങൾ ഡേറ്റാബേസിൽ ഇൻസേർട്ട് ചെയ്തിട്ട് ആ ഡേറ്റാകളെ ഒരു ഗ്രിഡിൽ കൂടി ഡിസ്പ്ലേ ചെയ്യുക എന്നുള്ളതാണ് നമ്മുടെ ലക്ഷ്യം. ഈ ആപ്ലിക്കേഷൻ 3 tier architecture വഴി എങ്ങനെ ചെയ്യാം എന്ന് നോക്കാം.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>1. ഡേറ്റാബേസ് നിർമ്മാണം.</u></b></div>
<div style="text-align: justify;">
ആദ്യം നമുക്ക് ആവശ്യമായ ഡേറ്റാബേസ് ടെബിളുകൾ ഉണ്ടാക്കാം. കസ്റ്റ്മറുടെ വിവരങ്ങൾ ശേഖരിക്കാൻ ആവശ്യമായി ഒരൊറ്റ ടേബിൾ മാത്രം മതി. tbl_Customer എന്ന പേരിൽ ഒരു ടേബിൾ ഉണ്ടാക്കൂക.(താഴത്തെ ചിത്രം നോക്കുക). അതിൽ ഡിസ്ട്രിക്റ്റിന്റെ ഫോറിൻ കീ ആണ് സേവ് ചെയ്യുന്നത്. (tbl_Customer_District എന്ന ടേബിളിൽ നിന്നാണ് ഡിസ്ട്രികിറ്റിനെ ഫോമിൽ ഡിസ്പ്ലേ ചെയ്യിക്കുന്നത്)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtkPCZr3C5oQQcB-9xjXsFkJyYtlxlPppqvrM7qd5EDgWTPPP92K5osJvq2XNkfkDYQmWSXSYB_epQAo7xIx12DuwgPKZNDiW2hZSzcIfOJgvj9g0NePGGI0GMamf7zD14Jl1p8dsp20FI/s1600/db.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtkPCZr3C5oQQcB-9xjXsFkJyYtlxlPppqvrM7qd5EDgWTPPP92K5osJvq2XNkfkDYQmWSXSYB_epQAo7xIx12DuwgPKZNDiW2hZSzcIfOJgvj9g0NePGGI0GMamf7zD14Jl1p8dsp20FI/s1600/db.jpg" height="249" width="640" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>2. Application Layer or Presentation Layer/tier</u></b></div>
<div style="text-align: justify;">
File -> New -> Web Site... ല് ക്ലിക്ക് ചെയ്ത് അടൂത്ത വിൻഡോയിൽ എത്തി TYPE :: Visual C# സെലക്റ്റ് ചെയ്ത് ASP.Net Web Site സെലക്റ്റ് ചെയ്ത് വെബ് ലോക്കെഷൻ ബ്രൗസ്ചെയ്ത് നൽകി ആപ്ലിക്കേഷനു പേരു നൽകി 'OK' കൊടുക്കുക.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx8_89V_ft71g7e1LVFF_jnU3h2avdPSXr-E4H61XxKKWBNniFCsVxmAInPyUODmjlnA4907HQ_O_SHvYXT7Lq6iyLNhaFXZjVUcfcULlgcIk5j5s4C6uqhB3Zsqvk25U2DUwZtQW6eq01/s1600/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx8_89V_ft71g7e1LVFF_jnU3h2avdPSXr-E4H61XxKKWBNniFCsVxmAInPyUODmjlnA4907HQ_O_SHvYXT7Lq6iyLNhaFXZjVUcfcULlgcIk5j5s4C6uqhB3Zsqvk25U2DUwZtQW6eq01/s1600/1.jpg" height="242" width="400" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Default.aspx പേജിൽ നമുക്ക് ആവശ്യമുള്ള 'ഡിസൈനും' ഫീൽഡുകളും/കണ്ട്രോളുകളും നൽകുക.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1UU50XBEQ_abFHm7EiNzycLahEx9bwBsQgmrYDGZQiMOKlJTC3uHmi0EBXaiR5kVZCKvbY3XCOMOxsXj3Pq6aS_RlcjHsWlBOJHbZisKVMSx7CIKaP11QbVXYN-t0nfeyC1fEjFv2LPke/s1600/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1UU50XBEQ_abFHm7EiNzycLahEx9bwBsQgmrYDGZQiMOKlJTC3uHmi0EBXaiR5kVZCKvbY3XCOMOxsXj3Pq6aS_RlcjHsWlBOJHbZisKVMSx7CIKaP11QbVXYN-t0nfeyC1fEjFv2LPke/s1600/2.jpg" height="181" width="400" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>3. Stored Procedure എഴുതിയിട്ട് വരാം.</u></b></div>
<div style="text-align: justify;">
നമ്മുടെ ഫോമിലേക്ക് എന്തെല്ലാം/ഏതെല്ലാം രീതിയിലാണ് ഡേറ്റാബേസിലേക്കും ഡെറ്റബേസിൽ നിന്നും ഡെറ്റാ വരേണ്ടത് എന്ന് മനസിലാക്കി Stored Procedure എഴുതണം. നമുക്ക് ഈ ഫോമിൽ മൂന്ന് Stored Procedure ന്റെ ആവശ്യമുണ്ട്. </div>
<div style="text-align: justify;">
1. tbl_Customer_District ല് നിന്ന് ഡിസ്റ്റ്രിക് നമ്മുടെ ഡ്രോപ്പ് ഡൗൺ കണ്ട്രോളിലേക്ക് വരണം.</div>
<div style="text-align: justify;">
2. സേവ് ബട്ടൺ ക്ലിക്ക്ചെയ്യുമ്പോൾ ഡേറ്റാ tbl_Customer ലേക്ക് ഇൻസേർട്ട്(സേവ്) ആകണം.</div>
<div style="text-align: justify;">
3.ഇൻസേർട്ട് ആയ ഡേറ്റാ ഗ്രിഡിലേക്ക് ഡീസ്പ്ലേ ആകണം. </div>
<div style="text-align: justify;">
ഈ മുന്ന് 'ഓപ്പറെഷനു'കൾക്കുള്ള Stored Procedure ആണ് എഴുതേണ്ടത്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
SP_Customer_District_Retrieve , SP_Customer_Insert , SP_Customer_Retrieve_All എന്നിങ്ങനെ മൂന്ന് Stored Procedure എഴുതി.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i><u>3.1. SP_Customer_District_Retrieve</u></i></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
CREATE PROCEDURE SP_Customer_District_Retrieve</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
AS</div>
<div style="text-align: justify;">
select * from tbl_Customer_District</div>
<div style="text-align: justify;">
order by tbl_Customer_District.PK_DistrictID</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i><u>3.2 SP_Customer_Insert</u></i></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
CREATE PROCEDURE SP_Customer_Insert</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
@FK_DistructID int=0,</div>
<div style="text-align: justify;">
@CustomerName nvarchar(500),</div>
<div style="text-align: justify;">
@Customer_H_Name nvarchar(500),</div>
<div style="text-align: justify;">
@CustomerPlace nvarchar(500),</div>
<div style="text-align: justify;">
@CustomerPincode nvarchar(10),</div>
<div style="text-align: justify;">
@CustomerPhoneNumber nvarchar(20),</div>
<div style="text-align: justify;">
@CustomerEmailId nvarchar(100)</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
AS</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
BEGIN</div>
<div style="text-align: justify;">
insert into tbl_Customer(FK_DistructID,CustomerName,Customer_H_Name,CustomerPlace,CustomerPincode,CustomerPhoneNumber,CustomerEmailId)</div>
<div style="text-align: justify;">
values(@FK_DistructID,@CustomerName,@Customer_H_Name,@CustomerPlace,@CustomerPincode,@CustomerPhoneNumber,@CustomerEmailId)<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div style="text-align: justify;">
END</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<u><i><b>3.3. SP_Customer_Retrieve_All </b></i></u></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
CREATE PROCEDURE SP_Customer_Retrieve_All</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
AS</div>
<div style="text-align: justify;">
BEGIN</div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span>Select tbl_Customer.PK_CustomerId,tbl_Customer.FK_DistructID,tbl_Customer.CustomerName,tbl_Customer.Customer_H_Name,</div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span> tbl_Customer.CustomerPlace,tbl_Customer.CustomerPincode,tbl_Customer.CustomerPhoneNumber,tbl_Customer.CustomerEmailId,</div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span> tbl_Customer_District.DistrictName</div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span>from tbl_Customer</div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span>left outer join </div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span>tbl_Customer_District on tbl_Customer.FK_DistructID=tbl_Customer_District.PK_DistrictID</div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span>order by tbl_Customer.PK_CustomerId</div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div style="text-align: justify;">
END</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>4. Business and .Data tier / Layer</u></b></div>
<div style="text-align: justify;">
Business and Data ലെയറിനു വേണ്ടി രണ്ട് ക്ലാസ് ആഡ് ചെയ്യണം. പ്രോപ്പർട്ടി സെറ്റ് ചെയ്യാൻ വേണ്ടി Cls_PropertyLayer.cs എന്ന പേരിലൊരു ക്ലാസും , Data and Business Layer.cs എന്ന പേരിലൊരു ക്ലാസുമാണ് ആഡ് ചെയ്യുന്നത്. ക്ലാസ് ആഡ് ചെയ്യാൻ ശ്രമിക്കുമ്പോൾ App_Code ഫോൾഡറിലേക്കാണ് ലേക്കാണ് വിഷ്വൽ സ്റ്റുഡിയോ ക്ലാസ് ആഡ് ചെയ്യുന്നത് - ചിത്രം നോക്കുക. { മറ്റൊരു ഫോൾ ഉണ്ടാക്കി അതിലേക്കും ക്ലാസ് ആഡ് ചെയ്യാം). Cls_PropertyLayer.cs ല് നമുക്ക് വേണ്ട ഫീൽഡുകളുടെ(പാരാമീറ്റേഴ്സ്) പ്രോപ്പർട്ടി get,set വെച്ച് സെറ്റ് ചെയ്ത് എടുക്കുകയാണ് ചെയ്യുന്നത്. ഡേറ്റാ tier ല് ഡേറ്റാ ബേസിന്റെ കണക്ഷനും സ്റ്റോർഡ് പ്രൊസീജയറും മറ്റുമാണ് ഉൾപ്പെടൂന്നതെന്ന് നേരത്തെ പറഞ്ഞല്ലോ.നമ്മൾ Stored Procedure ഡേറ്റാബേസിൽ തന്നെ എഴുതിക്കഴിഞ്ഞതുകൊണ്ട് ഇൻസേർഡ്/അപ്ഡേറ്റ്/ഡിലീറ്റ്/സെലക്റ്റ് മെതേഡുകളിൽ ആ Stored Procedure കളെ വിളിച്ചാൽ മതിയാകും. (Business tier ല് നിന്ന് ഫംഗ്ഷനുകളിലെക്ക് ഡേറ്റായെ വിളിക്കുക എന്നുള്ളതാണ് ചെയ്യുക- നമ്മൾ Business,Data Layer ഒരൊറ്റ ക്ലാസിലാണ് ചെയ്യുന്നത്)</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u><span style="color: purple;">4.1 Cls_PropertyLayer.cs</span></u></b></div>
<div style="text-align: justify;">
<b><u><span style="color: purple;"><br /></span></u></b></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Collections.Generic;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Linq;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Web;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">/// </span><br />
<br />
<summary></summary></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">/// Summary description for Cls_PropertyLayer</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">/// </span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">public class Cls_PropertyLayer</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">{</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> private int FK_DistructID_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> private string CustomerName_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> private string Customer_H_Name_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> private string CustomerPlace_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> private string CustomerPincode_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> private string CustomerPhoneNumber_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> private string CustomerEmailId_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public int FK_DistructID</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> get </span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return FK_DistructID_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> set</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> FK_DistructID_=value;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public string CustomerName</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> get</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return CustomerName_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> set</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> CustomerName_ = value;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public string Customer_H_Name</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> get</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return Customer_H_Name_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> set</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> Customer_H_Name_ = value;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public string CustomerPlace</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> get</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return CustomerPlace_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> set</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> CustomerPlace_ = value;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public string CustomerPincode</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> get</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return CustomerPincode_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> set</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> CustomerPincode_ = value;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public string CustomerPhoneNumber</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> get</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return CustomerPhoneNumber_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> set</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> CustomerPhoneNumber_ = value;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public string CustomerEmailId</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> get</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return CustomerEmailId_;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> set</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> CustomerEmailId_ = value;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">}</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u><span style="color: purple;">4.2. Cls_Data and Business Layer.cs</span></u></b></div>
<div style="text-align: justify;">
നെയിംസ്പേസുകളുടെ കൂട്ടത്തിൽ ഈ രണ്ട് നെയിംസ്പേസുകളൂടെ നൽകണം.</div>
<div style="text-align: justify;">
using System.Data;</div>
<div style="text-align: justify;">
using System.Data.SqlClient;</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i>4.2.1 ConnectSQL()</i></b></div>
<div style="text-align: justify;">
ഡേറ്റാബേസിനെ കണക്റ്റ് ചെയ്യാനുള്ള ഫക്ഷാനാണിത്. കണക്ഷൻ ഓപ്പണാണങ്കിൽ അതിനെ ക്ലോസ് ചെയ്തിട്ട് വീണ്ടും കണക്ഷൻ സ്ട്രിംങ് നൽകി കണക്ഷൺ ഓപ്പൺ ചെയ്യുന്നു. സെർവറിന്റെ പേര്, ഉപയോഗിക്കേണ്ട ഡേറ്റാബേസിന്റെ പേര് , ഡേറ്റാബേസ് യൂസർ നെയിം,പാസ്വേഡ് എന്നിവയാണ് കണക്ഷൻ സ്ട്രിമ്ങിൽ നൽകുന്നത്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i>4.2.2 InsertUpdateDeleteSqlString (string StrSqlString)</i></b></div>
<div style="text-align: justify;">
ഇൻസേർട്ട്,അപ്ഡേറ്റ്,ഡിലീറ്റ് എന്നിവയ്ക്കുള്ള Stored Procedure കളെ SqlCommand ഉപയോഗിച്ച് ഡേറ്റാബേസിലേക്ക് എക്സിക്യൂട്ട് ചെയ്യിക്കാനുള്ളതാണ് ഈ ഫക്ഷൻ. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i>4.2.3 Customer_Insert(Cls_PropertyLayer ObjPropLayer)</i></b></div>
<div style="text-align: justify;">
ഇൻസേർട്ട് Stored Procedure ലേക്ക് ഡേറ്റായെ അസൈൻ ചെയ്യുന്നു. ( പ്രോഗ്രാം റൺ ചെയ്യുമ്പോൾ ബ്രേക്ക് പോയിന്റ് F11 നൽകി അടിച്ച് നോക്കിയാൽ ഫ്ലോ മനസിലാക്കാൻ കഴിയും)</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i>4.2.4 .......Retrival (Cls_PropertyLayer objPropLayer)</i></b></div>
<div style="text-align: justify;">
ഡേറ്റാബേസ് ടേബിളിൽ നിന്നുള്ള ഡേറ്റായെ(റോ കളെ) എടുത്ത് ഡേറ്റാസെറ്റിലേക്ക് എടൂത്തുവയ്ക്കാനാണ് ഈ ഫക്ഷൻ ഉപയോഗിക്കുന്നത്.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Collections.Generic;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Linq;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Web;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Data;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Data.SqlClient;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">/// </span><br />
<br />
<summary></summary></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">/// Summary description for Cls_Data_and_Business_Layer</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">/// </span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">public class Cls_Data_and_Business_Layer</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">{</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> Cls_PropertyLayer ObjPropLayer=new Cls_PropertyLayer();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> SqlConnection SqlCon = new SqlConnection();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public string strQueryString;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #region SQLCONNECTION</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> // ::::::::::::: 1. SQL CONNECTION :::::::::</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public void ConnectSQL()</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> if (SqlCon.State == ConnectionState.Open)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> SqlCon.Close();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> SqlCon.ConnectionString = "Server=SHIBU;DataBase=DotnetBlog;uid=sa;pwd=123123";</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> SqlCon.Open();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> // ::::::::::::: 2. SQL INSERT, UPDATE, DELETE SQl Query - ExecuteNOnQuery:::::::::</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public void InsertUpdateDeleteSqlString(string StrSqlString)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> { </span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> ConnectSQL();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> SqlCommand cmd = new SqlCommand(StrSqlString,SqlCon);</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> cmd.ExecuteNonQuery();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #endregion SQLCONNECTION</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #region INSERT_UPDATE_DELETE</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> //::::::::::: 1. INSERT CUSTOMER ::::::::::::</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public void Customer_Insert(Cls_PropertyLayer ObjPropLayer)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> strQueryString= "SP_Customer_Insert " + ObjPropLayer.FK_DistructID + "," + "'" +ObjPropLayer.CustomerName +"'," + "'" +ObjPropLayer.Customer_H_Name+ "'," +</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> "'" + ObjPropLayer.CustomerPlace+ "'," + "'" + ObjPropLayer.CustomerPincode+"'," + "'" + ObjPropLayer.CustomerPincode + "'," +</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> "'" + ObjPropLayer.CustomerEmailId + "'" ;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> InsertUpdateDeleteSqlString(strQueryString);</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #endregion INSERT_UPDATE_DELETE</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #region RETREIVAL</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> // ::::::::::::: 1. District Retreival ::::::::::</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public DataSet District_Retrival(Cls_PropertyLayer objPropLayer)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> DataSet dsPropLayer = new DataSet();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> strQueryString = "SP_Customer_District_Retrieve";</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> ConnectSQL();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> SqlDataAdapter sqlDa = new SqlDataAdapter(strQueryString, SqlCon);</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> sqlDa.Fill(dsPropLayer);</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return dsPropLayer;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> // ::::::::::::: 2. Customer Retreival ::::::::::</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public DataSet Customer_Retrival(Cls_PropertyLayer objPropLayer)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> DataSet dsPropLayer = new DataSet();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> strQueryString = "SP_Customer_Retrieve_All";</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> ConnectSQL();</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> SqlDataAdapter sqlDa = new SqlDataAdapter(strQueryString, SqlCon);</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> sqlDa.Fill(dsPropLayer);</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> return dsPropLayer;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #endregion RETREIVAL</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">}</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><u>5. Presentation Layer Coding</u></b></div>
<div style="text-align: justify;">
<b><u><br /></u></b></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Collections.Generic;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Linq;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Web;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Web.UI;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">using System.Web.UI.WebControls;</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;">using System.Data;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;">using System.Data.SqlClient;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">public partial class _Default : System.Web.UI.Page</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">{</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> <span style="color: orange;"> Cls_PropertyLayer ObjPropLayers = new Cls_PropertyLayer();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> Cls_Data_and_Business_Layer objDBLayer = new Cls_Data_and_Business_Layer();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> protected void <b>Page_Load</b>(object sender, EventArgs e)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> <span style="color: orange;"> if (IsPostBack == false)</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> FillDistricts();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> Fill_GridView_CustomerDetails();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #region Control_Events</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> protected void <b><span style="color: blue;">btn_Save_Click</span></b>(object sender, EventArgs e)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> <span style="color: orange;">try</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ObjPropLayers.CustomerName = txt_CustomerName.Text;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ObjPropLayers.Customer_H_Name = txt_HouseName.Text;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ObjPropLayers.CustomerPlace = txt_Place.Text;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ObjPropLayers.FK_DistructID = Convert.ToInt16(DDL_District.SelectedValue.ToString());</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ObjPropLayers.CustomerPincode = txt_PinCode.Text;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ObjPropLayers.CustomerPhoneNumber = txt_Phone_Number.Text;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ObjPropLayers.CustomerEmailId = txt_Email_id.Text;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> objDBLayer.Customer_Insert(ObjPropLayers);</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> ClearFields();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> Fill_GridView_CustomerDetails();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> catch (Exception ex)</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> lbl_ErrorMessage.Text = ex.Message;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> protected void <b><span style="color: blue;">btn_Clear_Click</span></b>(object sender, EventArgs e)</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> <span style="color: orange;">ClearFields();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #endregion Control_Events</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #region User_defined_Functions</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public void <b>FillDistricts()</b></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> <span style="color: orange;">try</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DataSet dsDistrict = objDBLayer.District_Retrival(ObjPropLayers);</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DDL_District.DataSource = dsDistrict;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DDL_District.DataTextField = "DistrictName";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DDL_District.DataValueField = "PK_DistrictID";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DDL_District.DataBind();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DDL_District.Items.Insert(0, new ListItem("--Select--", "0"));</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> dsDistrict.Clear();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> catch (Exception ex)</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> lbl_ErrorMessage.Text = ex.Message;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public void <b>Fill_GridView_CustomerDetails()</b></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> <span style="color: orange;">try</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DataSet dsCustomerdetails = objDBLayer.Customer_Retrival(ObjPropLayers);</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> GV_CustomerDetails.DataSource = dsCustomerdetails;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> GV_CustomerDetails.DataBind();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> GV_CustomerDetails.Columns[3].Visible = false;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> dsCustomerdetails.Clear();</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> catch(Exception ex)</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> lbl_ErrorMessage.Text = ex.Message;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> public void <b>ClearFields()</b></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> {</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> <span style="color: orange;">try</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> txt_CustomerName.Text = "";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> txt_HouseName.Text = "";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> txt_Place.Text = "";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> txt_PinCode.Text = "";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> txt_Phone_Number.Text = "";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> txt_Email_id.Text = "";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> DDL_District.SelectedIndex = 0;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> lbl_ErrorMessage.Text = "";</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> catch(Exception ex)</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> {</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> lbl_ErrorMessage.Text = ex.Message;</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><span style="color: orange;"> }</span></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> }</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"> #endregion User_defined_Functions</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;">}</span></div>
<div style="text-align: justify;">
<span style="background-color: #f3f3f3;"><br /></span></div>
<div style="text-align: center;">
<b><span style="background-color: #f3f3f3;">*************** </span><span style="background-color: #f3f3f3;">*************** </span><span style="background-color: #f3f3f3;">***************</span></b></div>
<div style="text-align: left;">
<span style="background-color: #f3f3f3;"><span style="color: #999999; font-size: x-small;">DataBase :: SQL Server 2008 R2</span></span></div>
<div style="text-align: left;">
<span style="background-color: #f3f3f3;"><span style="color: #999999; font-size: x-small;">VS : Visual Studio 2010</span></span></div>
<div style="text-align: left;">
<span style="background-color: #f3f3f3;"><span style="color: #999999; font-size: x-small;"><br /></span></span></div>
<div style="text-align: left;">
<span style="color: red;"><span style="background-color: #f3f3f3;"><b><a href="https://drive.google.com/file/d/0B0RvZZPq0azJZ2wtR1VTWnFGU2s/edit?usp=sharing">DOWN LOAD - E</a>XAMPLE</b></span></span></div>
<div style="text-align: justify;">
<br /></div>
ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com2tag:blogger.com,1999:blog-725485946854446277.post-71398757190668417702010-09-29T18:26:00.002+05:302014-08-09T05:38:31.763+05:30അക്കത്തിനെ അക്ഷരത്തിലാക്കാന്എമൌണ്ട് ഫീല്ഡുകളയോ സംഖ്യകളയോ അക്കങ്ങളാക്കേണ്ടി വരുമ്പോള് ഉപയോഗിക്കാന്.<br />
<br />
<span class="Apple-style-span" style="color: purple;">ആദ്യം ഒരു ക്ലാസ് ഫയല് ഉണ്ടാക്കണം. </span><br />
<br />
<br />
<b>using System;</b><br />
<b>using System.Collections.Generic;</b><br />
<b>using System.Text;</b><br />
<b>namespace Num2Wrd</b><br />
<b>{</b><br />
<b> public class NumberToWordsConvertor1</b><br />
<b> {</b><br />
<b> public string NumberToText(int number) </b><br />
<b> { </b><br />
<b> if (number == 0) return "Zero"; </b><br />
<b> if (number == -2147483648) return "Minus Two Hundred and Fourteen Crore Seventy Four Lakh Eighty Three Thousand Six Hundred and Forty Eight"; </b><br />
<b><br />
</b><br />
<b> int[] num = new int[4]; </b><br />
<b> int first = 0; </b><br />
<b> int u, h, t; </b><br />
<b> System.Text.StringBuilder sb = new System.Text.StringBuilder(); </b><br />
<b><br />
</b><br />
<b> if (number < 0) </b><br />
<b> { </b><br />
<b> sb.Append("Minus "); </b><br />
<b> number = -number; </b><br />
<b> } </b><br />
<b><br />
</b><br />
<b> string[] words0 = {"" ,"One ", "Two ", "Three ", "Four ", </b><br />
<b> "Five " ,"Six ", "Seven ", "Eight ", "Nine "}; </b><br />
<b><br />
</b><br />
<b> string[] words1 = {"Ten ", "Eleven ", "Twelve ", "Thirteen ", "Fourteen ", </b><br />
<b> "Fifteen ","Sixteen ","Seventeen ","Eighteen ", "Nineteen "}; </b><br />
<b><br />
</b><br />
<b> string[] words2 = {"Twenty ", "Thirty ", "Forty ", "Fifty ", "Sixty ", </b><br />
<b> "Seventy ","Eighty ", "Ninety "}; </b><br />
<b><br />
</b><br />
<b> string[] words3 = {"Thousand ", "Lakh ","Crore "}; </b><br />
<b><br />
</b><br />
<b> num[0] = number % 1000; // units </b><br />
<b> num[1] = number / 1000; </b><br />
<b> num[2] = number / 100000; </b><br />
<b> num[1] = num[1] - 100 * num[2]; // thousands </b><br />
<b> num[3] = number / 10000000; // crores </b><br />
<b> num[2] = num[2] - 100 * num[3]; // lakhs </b><br />
<b><br />
</b><br />
<b> for(int i = 3; i > 0 ; i--) </b><br />
<b> { </b><br />
<b> if (num[i] != 0) </b><br />
<b> { </b><br />
<b> first = i; </b><br />
<b> break; </b><br />
<b> } </b><br />
<b> } </b><br />
<b><br />
</b><br />
<b><br />
</b><br />
<b> for(int i = first ; i >= 0 ; i--) </b><br />
<b> { </b><br />
<b> if (num[i] == 0) continue; </b><br />
<b><br />
</b><br />
<b> u = num[i] % 10; // ones </b><br />
<b> t = num[i] / 10; </b><br />
<b> h = num[i] / 100; // hundreds </b><br />
<b> t = t - 10 * h; // tens </b><br />
<b><br />
</b><br />
<b> if (h > 0) sb.Append(words0[h] + "Hundred "); </b><br />
<b><br />
</b><br />
<b> if (u > 0 || t > 0) </b><br />
<b> { </b><br />
<b> if (h > 0 || i == 0) sb.Append("and "); </b><br />
<b><br />
</b><br />
<b> if (t == 0) </b><br />
<b> sb.Append(words0[u]); </b><br />
<b> else if (t == 1) </b><br />
<b> sb.Append(words1[u]); </b><br />
<b> else </b><br />
<b> sb.Append(words2[t-2] + words0[u]); </b><br />
<b> } </b><br />
<b> if (i != 0) sb.Append(words3[i-1]); </b><br />
<b> } </b><br />
<b> return sb.ToString().TrimEnd(); </b><br />
<b> } </b><br />
<b> } // end class </b><br />
<b>}</b><br />
<br />
<b><span class="Apple-style-span" style="color: purple;">രണ്ടാമതായി </span></b>.cs ഫയലില് ഫംക്ഷനെ വിളിക്കുക. ഇവിടെ txtRecAmount എന്ന ഫീല്ഡില് എമൌണ്ട് എന്റര് ചെയ്യുമ്പോള് txtRecAmtWord എന്ന ഫീല്ഡില് ആ എമൌണ്ട് അക്ഷരത്തില് വരാനായി txtRecAmount ന്റെ TextChanged ഇവന്റിലാണ് കോഡ് എഴുതുന്നത്<br />
<br />
<br />
<b>protected void txtRecAmount_TextChanged(object sender, EventArgs e)</b><br />
<b> {</b><br />
<b> Int32 RecAmt = Convert.ToInt32(txtRecAmount.Text);</b><br />
<b> string RecAmtWrd;</b><br />
<b> NumberToWordsConvertor1 ntwc = new NumberToWordsConvertor1();</b><br />
<b> RecAmtWrd = ntwc.NumberToText(RecAmt) + " Only";</b><br />
<b> txtRecAmtWord.Text = RecAmtWrd;</b><br />
<b> }</b><br />
<b><br />
</b><br />
<b><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="color: #666666;">class file source:: </span></span></b><a href="http://www.daniweb.com/forums/thread53072.html"><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="color: #666666;">http://www.daniweb.com/forums/thread53072.html</span></span></a>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-89085484450729789782009-09-18T19:59:00.002+05:302014-08-09T05:39:23.376+05:30ASP.Net ല് കൂടി ഇമെയില് അയിക്കുന്ന രീതി:: send email in asp.net<div style="text-align: center;">
<br /></div>
<span class="Apple-style-span" style="color: #cc0000;">CONTACT US</span> പേജില്കൂടി ഒരു ഇമെയില് ഐഡിയിലേക്ക് മെയിലുകള് അയിക്കുന്ന പ്രോഗ്രാമാണ് താഴെ കൊടുക്കുന്നത്
<br />
<br />
<div style="text-align: left;">
താഴെകാണുന്ന രീതിയില് ഒരു ഫോം ഡിസൈന് ചെയ്യുക. </div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT8SiBGLuT5qOU4_QNRMQ4aL79Q5SHFs6pQOdokCUbOcHrhWYr_cok6MukgRLGNAM-Fv49DUMmvQ26eLj-ojhZ_tHhF78YFeYgWoIQy6GoRIA2f-j-gezNO9TYmBBycsT1u87SdeVP_BEt/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT8SiBGLuT5qOU4_QNRMQ4aL79Q5SHFs6pQOdokCUbOcHrhWYr_cok6MukgRLGNAM-Fv49DUMmvQ26eLj-ojhZ_tHhF78YFeYgWoIQy6GoRIA2f-j-gezNO9TYmBBycsT1u87SdeVP_BEt/s320/1.jpg" id="BLOGGER_PHOTO_ID_5382815188228115026" style="cursor: hand; cursor: pointer; height: 320px; width: 282px;" /></a></div>
<div style="text-align: left;">
<div style="text-align: left;">
ഫോം ഡിസൈല് ചെയ്യുമ്പോള് താഴെപറയുന്ന കാര്യങ്ങള് ശ്രദ്ധിക്കുക.</div>
<div>
</div>
</div>
<div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT8SiBGLuT5qOU4_QNRMQ4aL79Q5SHFs6pQOdokCUbOcHrhWYr_cok6MukgRLGNAM-Fv49DUMmvQ26eLj-ojhZ_tHhF78YFeYgWoIQy6GoRIA2f-j-gezNO9TYmBBycsT1u87SdeVP_BEt/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"></a><br />
<div>
1. വാലിഡേഷന് കണ്ട്രോളുകളുടെ പ്രോപ്പര്ട്ടിയിലെ Display : None ആക്കി കൊടുക്കുക.</div>
<div>
2. വാലിഡേഷന് കണ്ട്രോളുകളുടെയും മാന്ഡേറ്ററി ഫീല്ഡുകളുടേയും സബ്മിറ്റ് ബട്ടണിന്റേയും പ്രോപ്പര്ട്ടിയില് Validation Group : 1 ആക്കി കൊടുക്കുക.</div>
<div>
3. ValidationSummary പ്രോപ്പര്ട്ടിയില് Show Message Box : True എന്നും Show Summary : False എന്നും കൊടുക്കുക.</div>
<div>
4. മെസേജ് ടെക്സ്റ്റ് ബോക്സിന്റെ TextMode : MultiLine ആക്കുക.</div>
<div>
</div>
<div>
<br />
<div>
<b><span class="Apple-style-span" style="color: #cc0000;">:: കണ്ട്രോളുകള് <span class="Apple-style-span" style="font-weight: normal;">:</span></span></b>:</div>
<div>
1. txtName</div>
<div>
2. RFValidatorName</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ControlToValidate="txtName"</div>
<div>
Display="None" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ErrorMessage="Name field is blank" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationGroup="1"</div>
<div>
3. TxtComName</div>
<div>
4. txtEmail</div>
<div>
5. RFValidatorEmail</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ControlToValidate="txtEmail" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Display="None"</div>
<div>
ErrorMessage="Email-ID field is blank" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationGroup="1"</div>
<div>
6. REValidatorEmail</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ControlToValidate="txtEmail" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Display="None"</div>
<div>
ErrorMessage="invalid email id" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" (Internet E-mail address select ചെയ്യുക)</div>
<div>
ValidationGroup="1"</div>
<div>
7. txtTelephone </div>
<div>
8. RFValidatorPhNo</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ControlToValidate="txtTelephone" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Display="None"</div>
<div>
ErrorMessage="Phone Field is blank" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationGroup="1"</div>
<div>
9. REValidatorPhNo</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ControlToValidate="txtTelephone" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Display="None"</div>
<div>
ErrorMessage="only numbers for mobile number" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationExpression="\d*" ( നമ്പരുകള് മാത്രം എന്റെര് ചെയ്യാന് വേണ്ടി)</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationGroup="1"</div>
<div>
10. txtMessage </div>
<div>
11. RequiredFieldValidator1</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ControlToValidate="txtMessage"</div>
<div>
Display="None" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ErrorMessage="Message field is blank" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationGroup="1"</div>
<div>
12. lblMsg</div>
<div>
13. ValidationSummary1</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ShowMessageBox="True"</div>
<div>
ShowSummary="False" </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationGroup="1"</div>
<div>
14. btnSubmit </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>ValidationGroup="1"</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div style="text-align: center;">
<b><span class="Apple-style-span" style="color: #cc0000;">:: കോഡ് വിന്ഡോ :: ContactUs.aspx.cs</span></b></div>
<div>
<br /></div>
<div>
താഴെപറയുന്ന <b>നെയിംസ്പേസുക</b>ള് ഉപയോഗിക്കുക.</div>
<div>
using System.Net.Mail;</div>
<div>
using System.Text;</div>
<div>
using System.Collections.Generic;</div>
<div>
<br /></div>
<div>
<b><span class="Apple-style-span" style="color: red;">:: ഇവന്റുകള് ::</span></b></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>
</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b></b></span><br />
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;">protected void Page_Load(object sender, EventArgs e)</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> {</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> if (IsPostBack == false)</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> {</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> </span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> }</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> }</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;">
</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;">protected void btnSubmit_Click(object sender, EventArgs e)</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> {</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> int _port = Convert.ToInt32(ConfigurationManager.AppSettings["PORT"]);</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> MailService.clsMail m = new MailService.clsMail(ConfigurationManager.AppSettings["SMTP"], _port, ConfigurationManager.AppSettings["FROMEMAIL"], </span></span><span class="Apple-tab-span" style="white-space: pre;"><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> </span></span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;">
</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;">ConfigurationManager.AppSettings["FROMPWD"]);</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.To = new System.Net.Mail.MailAddress(ConfigurationManager.AppSettings["TOEMAIL"]);</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.From = new System.Net.Mail.MailAddress(this.txtEmail.Text);</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.Subject = "Mail from My website";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.Body += "NAME : " + this.txtName.Text + "
<br />";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.Body += "Company Name : " + this.TxtComName.Text + "
<br />";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.Body += "Email : <a href="http://www.blogger.com/'mailto:">" + this.txtEmail.Text + "</a>
<br />";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.Body += "Phone Number : " + this.txtTelephone.Text + "
<br />";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> m.Body += "Message : " + this.txtMessage.Text + "
<br />";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;">
</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> bool b = m.SendMail();</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> </span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> if (b == true)</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> {</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> this.lblMsg.Text = "Mail send successfully.";fieldsClear();</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> }</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> else</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> {</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> this.lblMsg.Text = "Mail sending failed.
<br />Please try after some time.
<br />We regret for the inconvenience.";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> }</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> }</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;">
</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> protected void btnClear_Click(object sender, EventArgs e)</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> {</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> fieldsClear();</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: black;"> }</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">
</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;"></span></span></b></span><br />
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;"><b><span class="Apple-style-span" style="color: #cc0000;">:: മെതേഡ് ::</span></b></span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">void fieldsClear()</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">{</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">txtName.Text = ""; </span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">TxtComName.Text = ""; </span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">txtEmail.Text = ""; </span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">txtTelephone.Text = ""; </span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">txtMessage.Text = "";</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;">}</span></span></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: black;"><span class="Apple-style-span" style="font-weight: normal;"><br /></span></span></b></span></div>
<br />
<div>
<span class="Apple-style-span" style="color: red;"><b></b></span><br />
<div>
<span class="Apple-style-span" style="color: red;"><b><b><span class="Apple-style-span" style="color: #cc0000;">:: ക്ലാസ് നിര്മ്മാണം ::</span></b></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>btnSubmit ലെ കോഡ് കൊടുക്കുന്നതിനുമുമ്പ് MailService എന്ന നെയിംസ്പേസില് clsMail എന്നൊരു ക്ലാസ് ഉണ്ടാക്കണം.</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>namespace MailService</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>{</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public class clsMail</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>{</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>#region "Fields"</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>MailMessage Mail = null;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public MailAddress From = null;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public MailAddress To = null;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public MailAddress CC = null;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public MailAddress BCC = null;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public string Subject = "";</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public string Host = "";</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public int Port = 0;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public string UserName = "";</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public string Password = "";</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public string Body = "";</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>#endregion</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>#region "Constructors"</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public clsMail(string _host, int _port, string _username, string _password)</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>{</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>this.Host = _host;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>this.Port = _port;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>this.UserName = _username;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>this.Password = _password;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>}</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>#endregion</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>#region "Method"</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>public bool SendMail()</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>{</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>Mail = new MailMessage();</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>SmtpClient smtp = new SmtpClient();</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>try</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>{</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>Mail.To.Add(this.To);</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>Mail.From = this.From;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>Mail.Subject = this.Subject;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>Mail.Body = this.Body;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>Mail.IsBodyHtml = true;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>smtp.Host = this.Host;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>smtp.Port = 587;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>smtp.Credentials = new System.Net.NetworkCredential(this.UserName, this.Password);</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>smtp.EnableSsl = true;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>smtp.Timeout = 50000;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>smtp.Send(Mail);</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>return true;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>}</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>catch (Exception ex)</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>{</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>return false;</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>}</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>}</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>#endregion</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>}</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>}</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<br />
<div>
<span class="Apple-style-span" style="color: red;"><b></b></span><br />
<div>
<span class="Apple-style-span" style="color: red;"><b><b><span class="Apple-style-span" style="color: #cc0000;">:: Web.Config ::</span></b></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b>Web.Config file ല് താഴെ പറയുന്ന കോഡ് appSettings ല് കൊടുക്കണം.</b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><br /></b></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><appsettings></appsettings></b></span></div>
<br />
<div>
<span class="Apple-style-span" style="color: red;"><b> <add key="SMTP" value="">smtp.gmail.com</add></b>"/></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><add key="PORT" value="">465"/></add></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><add color="#999999" key="FROMEMAIL" value="<span class=">gmailid@gmail.com"/></add></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><add color="#666666" key="FROMPWD" value="<span class=">gmailaccountpassword"/></add></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><add color="#999999" key="TOEMAIL" value="<span class=">tomailid@yahoo.co.in"/></add></span></div>
<div>
</div>
<div>
<span class="Apple-style-span" style="color: red;"><br /></span></div>
<div>
<div>
<span class="Apple-style-span" style="color: red;">ഏത് ജിമെയില് അക്കൌണ്ടില് നിന്നാണോ മെയില് പോകേണ്ടത് ആമെയില് ഐഡിയാണ് FROMEMAIL ല് കൊടുക്കേണ്ടത്. ഈ മെയില് ഐഡിയുടെ പാസ്വേര്ഡ് തന്നെ </span></div>
<div>
<span class="Apple-style-span" style="color: red;"><br /></span></div>
<div>
<span class="Apple-style-span" style="color: red;">FROMPWD ല് കൊടുക്കണം. ഏത് മെയില് അക്കൌണ്ടിലേക്കാണ് മെയില് പോകേണ്ടത് ആ മെയില് ഐഡി TOEMAIL ലിലും കൊടുക്കണം.</span></div>
<div>
<span class="Apple-style-span" style="color: red;"><br /></span></div>
<div>
<span class="Apple-style-span" style="color: red;"><b><span class="Apple-style-span" style="color: #ff6666;">പ്രോഗ്രാമിന്റെ ഔട്ട് പുട്ട് :</span></b></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUQpd_QkIwPsSuF7yLuXboNEpIkxkuuXy0LI9AdKWaqCHGd2bQxX6_vfpWjNC5yD2D_Q6_7Uv0kHz-MUSafx9iW-U6Hr0nWzTJwDU8RiSRVZIEDhGJzKUhfPjOAXjNCxrBNc33m3mJrckz/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"></span></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUQpd_QkIwPsSuF7yLuXboNEpIkxkuuXy0LI9AdKWaqCHGd2bQxX6_vfpWjNC5yD2D_Q6_7Uv0kHz-MUSafx9iW-U6Hr0nWzTJwDU8RiSRVZIEDhGJzKUhfPjOAXjNCxrBNc33m3mJrckz/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUQpd_QkIwPsSuF7yLuXboNEpIkxkuuXy0LI9AdKWaqCHGd2bQxX6_vfpWjNC5yD2D_Q6_7Uv0kHz-MUSafx9iW-U6Hr0nWzTJwDU8RiSRVZIEDhGJzKUhfPjOAXjNCxrBNc33m3mJrckz/s320/2.jpg" id="BLOGGER_PHOTO_ID_5382815192472945314" style="cursor: hand; cursor: pointer; height: 165px; width: 320px;" /></a></div>
</div>
<div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUQpd_QkIwPsSuF7yLuXboNEpIkxkuuXy0LI9AdKWaqCHGd2bQxX6_vfpWjNC5yD2D_Q6_7Uv0kHz-MUSafx9iW-U6Hr0nWzTJwDU8RiSRVZIEDhGJzKUhfPjOAXjNCxrBNc33m3mJrckz/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"></a><b><span class="Apple-style-span" style="color: red;">പ്രോഗ്രാം വഴി അയിച്ച മെയില് വരുന്നത് ഇങ്ങനെ :
</span></b>
<br />
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQUOP8o040_B-1BnQD9sv0aqY7TkxXOsZFfOfZS6cExxQr5aMQTz6P34PCpm350ja4JZ481AJLsfgmAxkwg6HwOv3V-EyQ1wHXpd8a0C3zIqbcACebhGZ45C7z9SFo6XMFA9UsxaoYit9f/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQUOP8o040_B-1BnQD9sv0aqY7TkxXOsZFfOfZS6cExxQr5aMQTz6P34PCpm350ja4JZ481AJLsfgmAxkwg6HwOv3V-EyQ1wHXpd8a0C3zIqbcACebhGZ45C7z9SFo6XMFA9UsxaoYit9f/s320/3.jpg" id="BLOGGER_PHOTO_ID_5382815197183901202" style="cursor: hand; cursor: pointer; height: 206px; width: 320px;" /></a></div>
<div>
<br /></div>
<div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQUOP8o040_B-1BnQD9sv0aqY7TkxXOsZFfOfZS6cExxQr5aMQTz6P34PCpm350ja4JZ481AJLsfgmAxkwg6HwOv3V-EyQ1wHXpd8a0C3zIqbcACebhGZ45C7z9SFo6XMFA9UsxaoYit9f/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"></a></div>
</div>
ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com1tag:blogger.com,1999:blog-725485946854446277.post-5338040027062289222009-07-29T07:12:00.003+05:302009-07-29T07:24:49.671+05:30Add or Insert Images into Gmail Messages : ജിമെയിലില് ചിത്രങ്ങള് ചേര്ക്കാന്<p align="center"><span style="font-size:130%;color:#cc0000;"><strong>How to Add or Insert Images into Gmail Messages : ജിമെയിലില് ചിത്രങ്ങള് ചേര്ക്കാന്</strong></span></p><p align="left"> </p><p align="justify"><span style="font-size:130%;">ജിമെയിലില് ചിത്രങ്ങള് എങ്ങനെയാണ് കൊണ്ടുവരുന്നത്??. ജിമെയില് മെസേജുകളില് ചിത്രങ്ങള് ചേര്ക്കാന് വളരെ എളുപ്പമാണ്. ജിമെയിലില് തന്നെ അതിനായി ഓപ്ഷന് ഉണ്ട്. ഡിഫാള്ട്ട് ആയി ആ ഓപ്ഷന് <strong>Disable</strong> ആണ്. അത് <strong>Enable</strong> ആക്കി കഴിഞ്ഞാല് നിങ്ങള്ക്കും ജിമെയില് മെസേജുകളുടെ കൂടെ ചിത്രങ്ങള് അയക്കാം.</span></p><p align="left"><span style="font-size:130%;">(<strong><span style="color:#cc0000;">Google Chrome</span></strong> ബ്രൌസറില് നിങ്ങളുടേ Gmail തുറക്കുക)</span></p><p align="left"><span style="font-size:130%;"><strong>സ്റ്റെപ് 1</strong> : <strong><span style="color:#cc0000;">Settings</span></strong> എന്നൊരു റ്റാബ് കാണാം. അതില് ക്ലിക്ക് ചെയ്യുക. (ചിത്രം 1)</span></p><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRn1dXvT3XRvN5O-1sXtg3t7YUyx7YcGyphAksrS1VbTHZFN4uzIeIq9bsYtqBYJ9CbDIxK6Csd4r8sM6pnc0PUUWb5QokK0_Dbtyz6O-94WUkXgH1uScDC1EkNTK4nj9pamc51QcWWID4/s1600-h/1.jpg"><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5363691758958864114" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 104px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRn1dXvT3XRvN5O-1sXtg3t7YUyx7YcGyphAksrS1VbTHZFN4uzIeIq9bsYtqBYJ9CbDIxK6Csd4r8sM6pnc0PUUWb5QokK0_Dbtyz6O-94WUkXgH1uScDC1EkNTK4nj9pamc51QcWWID4/s320/1.jpg" border="0" /></span></a></p><p align="center"><span style="font-size:130%;">(ചിത്രം 1)</span></p><span style="font-size:130%;"><strong> സ്റ്റെപ് 2 :</strong> തുറന്നുവരുന്ന വിന്ഡോയിലെ (ചിത്രം 2) <span style="color:#cc0000;"><strong>Labs</strong></span> എന്ന റ്റാബില് ക്ലിക്ക് ചെയ്യുക.</span><br /><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiel7irEu9gEnG7OKb093QAHCslQ6pige5cwmq9-OgEOE74CPU1uwF7G_BwXpSnAYBqXQ6ASJ23-3eXiQVZOGBirIxHsff1eTV3bpRfNZ471rFz2ueS0V2aSAPQA7Nl4jv_n6yctBxzcoQy/s1600-h/2.jpg"><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5363691763670986722" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 38px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiel7irEu9gEnG7OKb093QAHCslQ6pige5cwmq9-OgEOE74CPU1uwF7G_BwXpSnAYBqXQ6ASJ23-3eXiQVZOGBirIxHsff1eTV3bpRfNZ471rFz2ueS0V2aSAPQA7Nl4jv_n6yctBxzcoQy/s320/2.jpg" border="0" /></span></a></p><p align="center"><span style="font-size:130%;">(ചിത്രം 2)</span></p><div align="justify"><span style="font-size:130%;"><strong> സ്റ്റെപ് 3</strong> : ഇപ്പോള് നിങ്ങള്ക്ക് അന്പതോളം ഓപ്ഷനുകള് കാണാന് കഴിയും. അതിലെ <strong><span style="color:#cc0000;">Inserting images</span></strong> എന്ന ഓപ്ഷന് <span style="color:#cc0000;"><strong>Enable</strong></span> ആക്കുക. (ചിത്രം : 3)</span></div><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg82sm6MnKVle7yjk0xGabIEkr4YXPDWoRC3tL9gDr1OmtL-uHfqPeiDMXoYfztG-By8-qhz5fCq4sd5yKQRG_PVFtMjRACGIrB0NFQ_izvA9-eqCD0AMAVCMhwGuI8fhkOlYa1qaj5V_IV/s1600-h/3.jpg"><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5363691768440754514" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 70px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg82sm6MnKVle7yjk0xGabIEkr4YXPDWoRC3tL9gDr1OmtL-uHfqPeiDMXoYfztG-By8-qhz5fCq4sd5yKQRG_PVFtMjRACGIrB0NFQ_izvA9-eqCD0AMAVCMhwGuI8fhkOlYa1qaj5V_IV/s320/3.jpg" border="0" /></span></a></p><p align="center"><span style="font-size:130%;">(ചിത്രം : 3)</span></p><p align="justify"><span style="font-size:130%;"><strong>സ്റ്റെപ് 4</strong> : <strong>Compose mail</strong> എടുക്കുക. അവിടെ കാണുന്ന മെനുവിന്റെ കൂടെ ഇപ്പോള് ഇമേജ് ഇന്സേര്ട്ട് ചെയ്യാനുള്ള ടൂളും കാണാം. ( ചിത്രം 4)<br /></p></span><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGPG_9p1V_cZ7bh47ix-7g6M5MzuapSIWG04rMS0oTxtGQsFFMGbStxO3mwFWZBaOKS6juS8J4QKZArgY1lhC8Oalfj-krLrkS0nNydhSGvpvnjC3qAJhEIpxgukOn-NzKs2k8nmfVs4lr/s1600-h/4.jpg"><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5363691770693785250" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 74px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGPG_9p1V_cZ7bh47ix-7g6M5MzuapSIWG04rMS0oTxtGQsFFMGbStxO3mwFWZBaOKS6juS8J4QKZArgY1lhC8Oalfj-krLrkS0nNydhSGvpvnjC3qAJhEIpxgukOn-NzKs2k8nmfVs4lr/s320/4.jpg" border="0" /></span></a></p><p align="center"><span style="font-size:130%;">( ചിത്രം 4)</span></p><div align="justify"><span style="font-size:130%;"> സ്റ്റെപ് 5 : ഈ മെനുബട്ടണില് ( <span style="color:#990000;"><strong>Insert Image</strong></span>) താഴെകാണുന്ന രീതിയിലുള്ള (ചിത്രം 5) <span style="color:#cc0000;"><strong>Add an Image</strong></span> വിന്ഡോ കാണാം. അതിലെ <span style="color:#cc0000;"><strong>Choose File</strong></span> ബട്ടണ് ഉപയോഗിച്ച് ചിത്രങ്ങള് കമ്പ്യൂട്ടറില് നിന്നോ സൈറ്റുകളില് നിന്നോ സെലക്റ്റ് ചെയ്യാം.</span></div><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn41C-eyGOBy6L3rVxHoULkmSuXJoaT3fAXWP9P0avl3uHTN8atxIh4YG-C4JuKZqyROXdMO8mMiUNRKtpkphAtwQm5ghUEQc6m2NInIN8idwmSpYAvDnJEuW5fwQwlmV4myxCaaMFDrZJ/s1600-h/5.jpg"><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5363691779730683266" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 117px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn41C-eyGOBy6L3rVxHoULkmSuXJoaT3fAXWP9P0avl3uHTN8atxIh4YG-C4JuKZqyROXdMO8mMiUNRKtpkphAtwQm5ghUEQc6m2NInIN8idwmSpYAvDnJEuW5fwQwlmV4myxCaaMFDrZJ/s320/5.jpg" border="0" /></span></a></p><p align="center"><span style="font-size:130%;">(ചിത്രം 5) </span></p><div align="justify"><span style="font-size:130%;"><strong> സ്റ്റെപ് 6</strong> : ഏത് ചിത്രമാണ് മെയിലിലേക്ക് വേണ്ടിയത് എന്ന് നോക്കി ആ ചിത്രം സെലക്റ്റ് ചെയ്തതിനു ശേഷം (ചിത്രം 6) <span style="color:#cc0000;"><strong>Add Image</strong></span> ബട്ടണില് ക്ലിക്ക് ചെയ്യുക.<br /><br /></div></span><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLphbEmXICq2ic0LKyDlLNbd4Vnc_GjBAT88RzzstJEKL6CES8qJGrSCQmmTfiaQ9zkuYYJ01GQ7kaySpCT-211wvNflB7_mAJhhs1vnSvLxO_DnenMYCI2dpOuCjLaiT_ZI4f9Za-3qW8/s1600-h/6.jpg"><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5363691995596500050" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 210px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLphbEmXICq2ic0LKyDlLNbd4Vnc_GjBAT88RzzstJEKL6CES8qJGrSCQmmTfiaQ9zkuYYJ01GQ7kaySpCT-211wvNflB7_mAJhhs1vnSvLxO_DnenMYCI2dpOuCjLaiT_ZI4f9Za-3qW8/s320/6.jpg" border="0" /></span></a></p><p align="center"><span style="font-size:130%;">(ചിത്രം 6)</span></p><div align="justify"><span style="font-size:130%;"><strong> സ്റ്റെപ് 7</strong> : <strong><span style="color:#cc0000;">Add Image</span></strong> കൊടുത്ത ചിത്രം ഇപ്പോള് മെയിലില് കാണാന് സാധിക്കും. (ചിത്രം 7) ഇങ്ങനെ ആവിശ്യമായ ചിത്രങ്ങള് ചേര്ത്തതിനുശേഷം മെയില് അയക്കാം.<br /><br /></div></span><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiU8pZd6jJSFAWL1r9-zaDKi4oAyHi8CQ-vq4MrRuzQZP2tY7uJSiRd0K23Dkv_hAgPHWTAo9iP_wqzsk1ges93_arHjQx9vSRnZ86Rv1YhXuNuO33cL_l3HMn52RpQRx9VoQoXwWxQCS0/s1600-h/7.jpg"><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5363691998297562258" style="WIDTH: 303px; CURSOR: hand; HEIGHT: 320px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiU8pZd6jJSFAWL1r9-zaDKi4oAyHi8CQ-vq4MrRuzQZP2tY7uJSiRd0K23Dkv_hAgPHWTAo9iP_wqzsk1ges93_arHjQx9vSRnZ86Rv1YhXuNuO33cL_l3HMn52RpQRx9VoQoXwWxQCS0/s320/7.jpg" border="0" /></span></a></p><p align="center"><span style="font-size:130%;">(ചിത്രം 7) </span></p><div align="justify"><span style="font-size:130%;"> ഏതെങ്കിലും ചിത്രങ്ങള് ആവിശ്യമില്ലന്ന് തോന്നിയാല് ആ ചിത്രത്തോടൊപ്പം കാണുന്ന മെനുവിന്ഡോയിലെ (ചിത്രം 7) <strong><span style="color:#ff0000;">Remove</span></strong> എന്ന ബട്ടണ് ഉപയോഗിച്ച് ആ ചിത്രത്തെ മെയിലില് നിന്ന് നീക്കം ചെയ്യാം.<br /><br /></div></span>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com1tag:blogger.com,1999:blog-725485946854446277.post-60229723644572593882009-07-25T07:16:00.002+05:302009-07-25T07:25:13.542+05:30മെയിലില് ചിത്രങ്ങള് :outlook configuration<p align="center"><strong><span style="font-size:130%;">: outlook configuration:</span></strong></p><p align="justify"><span style="font-size:130%;">നിങ്ങളുടെ മെയില് ബോക്സുകളില് വരുന്ന മെയിലുകളില് ചിലത് ചിത്രങ്ങള് സഹിതം ആയിരിക്കും. അതുപോലുള്ള മെയില് അയിക്കാന് ആഗ്രഹവും ഉണ്ടായിരിക്കണം. പക്ഷേ മെയില് കമ്പോസ് ചെയ്യുമ്പോള് ചിത്രങ്ങള് മെയിലിലേക്ക് അറ്റാച്ച് ചെയ്യിക്കാനല്ലാതെ ഇന്സേര്ട്ട് ചെയ്യാനുള്ള ഓപ്ഷനുകളൊന്നും കാണാത്തതുകൊണ്ട് എന്തെങ്കിലും സോഫ്റ്റ്വെയറുകളുടെ സഹായത്തോടെ ആയിരിക്കും ചിത്രങ്ങള് മെയിലില് ചേര്ക്കുന്നതെന്ന് കരുതി കൂടുതലൊന്നും അതിനെക്കുറിച്ച് ചിന്തിക്കാന് മിനക്കെട്ടിട്ടില്ലായിരിക്കും. മൊക്രോസോഫ്റ്റ് ഔട്ട്ലുക്ക് (MS OUTLOOK) കോണ്ഫിഗര് ചെയ്താല് നിങ്ങള്ക്കും മെയിലില് കൂടി ചിത്രങ്ങള് അയക്കാം. ( ഔട്ട്ലുക്ക് കോന്ഫിഗര് ചെയ്യുന്നത് പടങ്ങള് മെയില് വഴി അയക്കാന് വേണ്ടിയല്ല. നിങ്ങള് ഓഫ് ലൈനില് ആയിരുന്നാലും നിങ്ങളുടെ ഇന്ബോക്സില് എത്തുന്ന മെയിലുകള് വായിക്കുക തുടങ്ങിയ സഹായമാണ് ഔട്ട്ലുക്ക് പ്രാഥമികമായി ചെയ്യുന്നത്. അതായത് ഒരു സ്റ്റോറേജ് മീഡിയ ആയി വര്ത്തിക്കുക എന്നുള്ളത്.)<br /><br />ഇനി എങ്ങനെയാണ് ഔട്ട്ലുക്ക് കോണ്ഫിഗര് ചെയ്യുന്നതെന്ന് നോക്കാം. yahoo മെയിലിനു വേണ്ടി എങ്ങനെയാണ് (yahoo.co.in) ഔട്ട്ലുക്ക് കോണ്ഫിഗര് ചെയ്യുന്നതെന്ന് നോക്കാം.<br /><br /><strong>സ്റ്റെപ് 1 :</strong> Tools മെനുവില് നിന്ന് E-mail Accounts എന്ന സബ് മെനുവില് ക്ലിക്ക് ചെയ്യുക. ക്ലിക്ക് ചെയ്യുമ്പോള് താഴെകാണുന്ന രീതിയിലുള്ള ഒരു വിന്ഡോ കാണാം. (outlook1.jpg)</span></p><p align="center"></p><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1HLp3kcZrYl4CMIP1SaQwlLT-yS19yj10ZHBnrOL2gPssh1kYBQL6d3Vb85GYadV32GXgTz3GsN-2IjP75L7gSO4ruMtFryvsXVG4-CZ_OWkQl4lSpvlfDatemD_Xj01vqU2SlcYg5kyr/s1600-h/_outlook1.jpg"><img id="BLOGGER_PHOTO_ID_5362025051886538098" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1HLp3kcZrYl4CMIP1SaQwlLT-yS19yj10ZHBnrOL2gPssh1kYBQL6d3Vb85GYadV32GXgTz3GsN-2IjP75L7gSO4ruMtFryvsXVG4-CZ_OWkQl4lSpvlfDatemD_Xj01vqU2SlcYg5kyr/s320/_outlook1.jpg" border="0" /></a></p><p align="center"><span style="color:#c0c0c0;">picture : outlook1.jpg</span></p><span style="font-size:130%;"><strong>സ്റ്റെപ് 2 :</strong> അതില് Add a new e-mail account എന്ന റേഡിയോ ബട്ടണ് സെലക്റ്റ് ചെയ്തിട്ട് Next ബട്ടണില് ക്ലിക്ക് ചെയ്യുക.<br /><br /><strong>സ്റ്റെപ് 3 :</strong> Server Type എന്ന വിന്ഡോയിലേക്ക് എത്തുമ്പോള് അഞ്ചു തരത്തിലുള്ള സെര്വര് ലിസ്റ്റ് ചെയ്തിരിക്കുന്നത് കാണാം. അതില് രണ്ടാമത്തെ സെര്വര് ടൈപ്പില് (POP3) സെലക്റ്റ് ചെയ്തതിനു ശേഷം NEXT ബട്ടണില് ക്ലിക്ക് ചെയ്യുമ്പോള് താഴെക്കാണുന്ന രീതിയിലുള്ള ഒരു വിന്ഡോ കാണാന് കഴിയും. (outlook2.jpg).</span><br /><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY8LsOJ9zUaP5YlSByEMDTbZ56By5EAII1KJ14QMOfEyG66oHSyauqkdwo-UBAbLJw1mwXdbHlitIWs-e785_oVh2f0v3W4X0rUryidfCg6wla0iUgTcK4FNruLcOb81bPocrpsopomDep/s1600-h/_outlook2.jpg"><img id="BLOGGER_PHOTO_ID_5362025059020565314" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY8LsOJ9zUaP5YlSByEMDTbZ56By5EAII1KJ14QMOfEyG66oHSyauqkdwo-UBAbLJw1mwXdbHlitIWs-e785_oVh2f0v3W4X0rUryidfCg6wla0iUgTcK4FNruLcOb81bPocrpsopomDep/s320/_outlook2.jpg" border="0" /></a></p><p align="center"><span style="color:#c0c0c0;">picture : outlook2.jpg</span></p><span style="font-size:130%;"><strong>സ്റ്റെപ് 4 :</strong> User Information :<br /><span style="color:#990000;">Your Name :</span> ഇവിടെ നിങ്ങളുടെ പേര് നല്ക്കുക<br /><span style="color:#990000;">E-mail Address :</span> ഇവിടെ നിങ്ങളുടെ ഇ-മെയില് അഡ്രസ് നല്കുക<br /><strong>Logon Information :</strong><br /><span style="color:#990000;">User Name :</span> ഈ മെയില് അഡ്രസിന്റെ @ നു മുമ്പുള്ള ഭാഗം ഇവിടെ യൂസര് നെയിമായി E-mail Address എന്റെര് ചെയ്യുമ്പോള് User Name ആയി ഇവിടെ കാണിക്കും<br /><span style="color:#990000;">Password :</span> ഇവിടെ നിങ്ങളുടെ ഇ-മെയില് പാസ്വേര്ഡ് നല്കുക.<br /><strong>Server Infomation :<br /></strong><span style="color:#990000;">Incoming Mail Server (POP3) :</span> <span style="color:#ff0000;"><strong>pop.mail.yahoo.co.in<br /></strong></span><span style="color:#990000;">Outgoing mail Server (SMTP) :</span> <span style="color:#ff0000;"><strong>smtp.mail.yahoo.co.in</strong></span><br />എന്നിങ്ങനെ പൂരിപ്പിക്കുക . ചിത്രം നോക്കുക (outlook3.jpg)</span><br /><br /><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1w6oVM2YfBmgqyxQdTjqJN-C-HSXuTKVeyaW34qcEF3kS5NDooFEi-C3NZk3U_Ladah1Rlx6CGDXnWgR_BYdBrPCHlyoXQtfhlH424lAcBMCt1HeUgt6gEJ2zG8SEwHErSNgWAz-Ji2oU/s1600-h/_outlook3.jpg"><img id="BLOGGER_PHOTO_ID_5362025067599234114" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1w6oVM2YfBmgqyxQdTjqJN-C-HSXuTKVeyaW34qcEF3kS5NDooFEi-C3NZk3U_Ladah1Rlx6CGDXnWgR_BYdBrPCHlyoXQtfhlH424lAcBMCt1HeUgt6gEJ2zG8SEwHErSNgWAz-Ji2oU/s320/_outlook3.jpg" border="0" /></a></p><p align="center"><span style="color:#c0c0c0;">picture : outlook3.jpg</span></p><span style="font-size:130%;"><strong>സ്റ്റെപ് 5 :</strong> മുകളിലെ ചിത്രത്തില് നോക്കിയാല് മോര് സെറ്റിംങ്ങ് (More settings....) എന്ന റ്റാബ് കാണാം. അതില് ക്ലിക്ക് ചെയ്യുമ്പോള് നാലു റ്റാബുകളുള്ള ഒരു വിന്ഡോകാണാം.<br /><strong>a. General tab</strong> ല് Mail account നു താഴെ pop.mail.yahoo.co.in എന്നു കാണാം. Other User Infomation ആവിശ്യമില്ല<br /><strong>b.</strong> രണ്ടാമത്തെ റ്റാബായ Out<strong>going Server</strong> ല് ഒന്നാമത്തെ ചെക് ബോക്സും (My outgoing server (SMTP) requires authentication) , റേഡിയോ (Use same settings as my incoming mail server) ബട്ടണും സെലക്ട് ചെയ്യുക.<br /><strong>c. Connection</strong> എന്ന മൂന്നാമത്തെ റ്റാബില് ഒരു മാറ്റവും വരുത്തേണ്ടതില്ല.<br /><strong>d. Advanced</strong> എന്ന നാലാമത്തെ റ്റാബില്<br /><span style="color:#990000;">Incoming Server (POP3)</span> : 110<br /><span style="color:#990000;">Outgoing Server (SMTP):</span> 25 നല്കുക.(ഡിഫാള്ട്ടായി ഇതു തന്നെ ആയിരിക്കും). ചിത്രം :outlook4.jpg</span><br /><br /><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGVVzskKAVwALWsreJqtMC-p-OQAPWfAjVzk1I-KjIVMKBRP0I5ho74UEB8HWfDW0L8KouUc_d3MB3ZXq0fd7N1i7TGxB0Oe8ZSDVM7_cqZ-NaZ0eRkXuGp_dRogZ7xXtkQHqMHA0-7-Ln/s1600-h/_outlook4.jpg"><img id="BLOGGER_PHOTO_ID_5362025071113842578" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 293px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGVVzskKAVwALWsreJqtMC-p-OQAPWfAjVzk1I-KjIVMKBRP0I5ho74UEB8HWfDW0L8KouUc_d3MB3ZXq0fd7N1i7TGxB0Oe8ZSDVM7_cqZ-NaZ0eRkXuGp_dRogZ7xXtkQHqMHA0-7-Ln/s320/_outlook4.jpg" border="0" /></a></p><p align="center"><span style="color:#c0c0c0;">picture : outlook4.jpg</span></p><span style="font-size:130%;"><strong>സ്റ്റെപ് 6 :</strong> മുകളില് കാണിച്ചിരിക്കുന്ന വിന്ഡോയിലെ OK ബട്ടണ് അടിക്കുമ്പോള് (outlook3.jpg) എന്ന വിന്ഡോ കാണാം. ആ വിന്ഡോയിലെ Next ബട്ടണില് ക്ലിക്ക് ചെയ്താല് താഴെകാണുന്ന രീതിയിലുള്ള ഒരു വിന്ഡോ കാണാന് സാധിക്കും. (outlook5.jpg).<br /></span><br /><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTKcghEMgkjs8UmdHRXXAYpvNI3K6a9yQATpn9UUXygj4HcxHC1fO6XixVsp0-Ot1WWMyKZfxSaaTc4bQ1zC-bQX8h7OzhrM50_C46ESp7sKRX_6ZNUNqoH4AiV5qeg_RaubWv5QIeoJeO/s1600-h/_outlook5.jpg"><img id="BLOGGER_PHOTO_ID_5362025074111693810" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 216px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTKcghEMgkjs8UmdHRXXAYpvNI3K6a9yQATpn9UUXygj4HcxHC1fO6XixVsp0-Ot1WWMyKZfxSaaTc4bQ1zC-bQX8h7OzhrM50_C46ESp7sKRX_6ZNUNqoH4AiV5qeg_RaubWv5QIeoJeO/s320/_outlook5.jpg" border="0" /></a></p><p align="center"><span style="color:#c0c0c0;">picture : outlook5.jpg</span></p><p><br /><span style="font-size:130%;"><strong><span style="color:#cc0000;">FINISH</span></strong> ബട്ടണില് ക്ലിക്ക് ചെയ്യുമ്പോഴേക്കും ഔട്ട്ലുക്ക് കോണ്ഫിഗര് ആവും.<br /></span><br /><br /><span style="font-size:130%;"><span style="color:#006600;"><strong>ഇനി മെയില് അയിക്കുന്നത് എങ്ങനെയെന്ന് നോക്കാം....</strong><br /></span><br /><strong>സ്റ്റെപ് 1:</strong> ഔട്ട് ലുക്കിന്റെ File - New - Mail Message ല് ക്ലിക്ക് ചെയ്യുമ്പോള് ഒരു വേര്ഡ് ഫയല് തുറന്നു വരും.<br /><strong>സ്റ്റെപ് 2:</strong> To... Cc ... Subject ഫീല്ഡുകള്ക്ക് താഴെ മാറ്ററിനു വേണ്ടിയുള്ള സ്ഥലം ഉണ്ട്. അവിടെ കര്സര് വച്ചതിനു ശേഷം Insert മെനുവില് നിന്ന് (outlook6.jpg) ചിത്രങ്ങള് സെലക്റ്റ് ചെയ്താല് ആ ചിത്രങ്ങള് മാറ്ററിനു വേണ്ടിയുള്ള സ്ഥലത്ത് വരും.<br /></span></p><p align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDZGZwbqqA-oiaifbSmXAO3GAJ3UHXizfeXtIkvbVqDSNG31xWdiM24ixpBn-JJlRciCj5n33mW0memcTwcSpEqd7UaeXU-ud5-BqojbBojjbX4mQxIMS0bmxPFw43ayPvv_nFpfjkbHpV/s1600-h/_outlook6.jpg"><img id="BLOGGER_PHOTO_ID_5362025355663394322" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 178px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDZGZwbqqA-oiaifbSmXAO3GAJ3UHXizfeXtIkvbVqDSNG31xWdiM24ixpBn-JJlRciCj5n33mW0memcTwcSpEqd7UaeXU-ud5-BqojbBojjbX4mQxIMS0bmxPFw43ayPvv_nFpfjkbHpV/s320/_outlook6.jpg" border="0" /></a></p><p align="center">picture : outlook6.jpg</p><p><br /><span style="font-size:130%;"><strong>സ്റ്റെപ് 3:</strong> ആവിശ്യമുള്ള ചിത്രങ്ങളും മെസേജുകളും ഇന്സേര്ട്ട്, ടൈപ്പ് ചെയ്തതിനു ശേഷം Send ബട്ടണില് (മുകളിലെ ചിത്രം നോക്കുക) ക്ലിക്ക് ചെയ്യുക. നിങ്ങളുടെ മെയില് സെന്ഡ് ആകുന്ന ഒരു ഇന്ഡിക്കേഷന് കാണാന് സാധിക്കും. മെയില് സെന്ഡ് ആയതായി മെസേജ് കാണിക്കുകയും ചെയ്യും.</span> </p><p></p><p><span style="color:#cccccc;">(ചിത്രങ്ങള് മെയിലില് കൂടി അയിക്കുക എന്നുള്ള കാര്യത്തിനു വേണ്ടി മാത്രമുള്ള വിവരങ്ങള് മാത്രമാണ് മുകളില് നല്കിയിരിക്കുന്നത്..... )</span><br /></p>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-78400577514938439142009-01-09T22:50:00.002+05:302009-01-09T23:13:18.340+05:30ഡേറ്റാഗ്രിഡ് സോര്ട്ടിംങ്ങ് : datagrid sortingxml ഫയലില് നിന്ന് ഡേറ്റാ എടുത്ത് ഡേറ്റാഗ്രിഡില് ഡിസ്പ്ലേ ചെയ്യുമ്പോള് എങ്ങനെയാണ് ഡേറ്റാ സോര്ട്ട് ചെയ്യുന്നത് എന്നുള്ള പ്രോഗ്രാം ആണ് താഴെക്കൊടുക്കുന്നത്. <strong>prayerrequest.xml</strong> എന്ന പേരില് ഒരു xml ഫയല് ഉണ്ടാക്കുന്നു.<br /><br /><br /><p><img id="BLOGGER_PHOTO_ID_5289345961238479090" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 447px; CURSOR: hand; HEIGHT: 403px; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia3XZzDGWVd1xwG3SbMOW_yv2F0i2uFL07VbpkigxNQnRofcmLYE045cbjIwspPkLfmx5Ktl_azl123DtqEOT-etULc4V5m0wUzYb74ZXCCcSvsKPG4YFe8MDNqqWx7L-Y9eRvfSn7XPLQ/s320/prayer+request+xml.jpg" border="0" /><?xml version="1.0" encoding="utf-8" ?><br /><span style="color:#ff9900;">[?xml version="1.0" encoding="utf-8"?]</span></p><p><span style="color:#ff9900;">[prayerrequest] </span></p><p><span style="color:#ff9900;">[requesters] </span></p><p><span style="color:#ff9900;">[name]shibu[/name]</span></p><p><span style="color:#ff9900;">[request]test data[/request]</span></p><p><span style="color:#ff9900;">[date]2002-Jan-03[/date] </span></p><p><span style="color:#ff9900;">[/requesters]</span><br />::</p><p>::</p><p>::</p><p>::</p><p> <span style="color:#cc6600;">[/prayerrequest]</span> </p><br /><span style="color:#999999;">നോട്ട് :</span> Xml ല് <span style="color:#ff6666;">[</span>നു പകരം<span style="color:#ff0000;"><</span> എന്നും <span style="color:#ff6666;">]</span> നു പകരം <span style="color:#ff0000;">></span> എന്നും ഉപയോഗിക്കുക..<br /><p></p>ഡേറ്റാഗ്രിഡിലേക്ക് ഡേറ്റാ സോര്ട്ട് ചെയ്യാനുള്ള കോഡ് താഴെ കൊടുക്കുന്നു.<br /><br /><br /><strong><span style="color:#cc0000;">{ </span></strong><br /><strong><span style="color:#cc0000;">DataSet ds = new DataSet(); </span></strong><br /><strong><span style="color:#cc0000;">ds.ReadXml(Server.MapPath("prayerrequest.xml")); </span></strong><br /><strong><span style="color:#cc0000;">DataView dv = new DataView(); </span></strong><br /><strong><span style="color:#cc0000;">dv = ds.Tables[0].DefaultView; </span></strong><br /><strong><span style="color:#cc0000;">dv.Sort = "request desc"; </span></strong><br /><strong><span style="color:#cc0000;">DataGrid1.DataSource = dv; </span></strong><br /><strong><span style="color:#cc0000;">DataGrid1.DataBind(); </span></strong><br /><strong><span style="color:#cc0000;">}</span></strong><br /><p><span style="color:#000099;">ReadXml ഉപയോഗ്ഗിച്ച് Xmlനെ ഡേറ്റാസെറ്റിലേക്ക് എടുത്തതിനു ശേഷം അത് ഡേറ്റാവ്യുവിലേക്ക് മാറ്റുന്നു. dv.Sort = "request desc"; ലെ request ഫീല്ഡ് നെയിമും desc സോര്ട്ടിംങ്ങ് ഓര്ഡറും ആണ്.</span></p><p><span style="color:#660000;"><strong>ഈ പ്രോഗ്രാമിന്റെ ഔട്ട്പുട്ട് :</strong></span></p><p></p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI8btLhrVXujP5vyABaqHmmUd5h2gj3xrWg5XfspWD77Kl76uHlaADiOLBqLdUdnq1td85JIdMPkz5l72pf7tTpk0uS9mH6kx6l_E9XErPSm3GXyFuTvmy9Orsx9UNFh9zicrK5O7MT8lr/s1600-h/output.jpg"><img id="BLOGGER_PHOTO_ID_5289345423572763522" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 312px; CURSOR: hand; HEIGHT: 212px; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI8btLhrVXujP5vyABaqHmmUd5h2gj3xrWg5XfspWD77Kl76uHlaADiOLBqLdUdnq1td85JIdMPkz5l72pf7tTpk0uS9mH6kx6l_E9XErPSm3GXyFuTvmy9Orsx9UNFh9zicrK5O7MT8lr/s320/output.jpg" border="0" /></a>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com1tag:blogger.com,1999:blog-725485946854446277.post-62004784328010289242009-01-09T22:34:00.004+05:302009-01-09T22:50:42.036+05:30ഹിറ്റ് കൌണ്ടര് : hit counterവെബ് സൈറ്റില് എത്ര ആളുകള് സന്ദര്ശനം നടത്തി , ഒരു പ്രത്യേക പേജ് എത്ര ആളുകള് കണ്ടു എന്ന് അറിയുന്നതിനു വേണ്ടിയാണ് ഹിറ്റ് കൌണ്ടറുകള് ഉപയോഗിക്കുന്നത് . ഇവിടെ മൂന്നു രീതികളിലാണ് ഹിറ്റ് കൌണ്ടറുകള് നിര്മ്മിച്ചിരിക്കുന്നത്.(ഇതില് ഒന്നാമത്തെ രീതിയ്ക്ക് ഒരു പോരായ്മയുണ്ട് .അതൊരു വലിയ പോരായ്മ തന്നെയാണ് )<br /><br /><br /><br /><br /><br /><strong>1. Global.asax ഫയല് ഉപയോഗിച്ച് </strong><br /><br /><br /><strong>2. Xml ഉപയോഗിച്ച് </strong><br /><br /><br /><strong>3. SQL ഉപയോഗിച്ച്</strong><br /><br /><br /><br /><br /><br />ഏത് പേജില് , എവിടെയാണ് ഹിറ്റ് കൌണ്ടര് കാണിക്കേണ്ടത് , അവിടെ <strong><span style="color:#ff0000;">lbl_counter</span></strong> എന്ന പേരില് ഒരു ലേബല് വയ്ക്കുക.<br /><br /><br /><br /><br /><br /><strong>1. Global.asax ഫയല് ഉപയോഗിച്ച്<br /></strong>Global.asax ഫയല് ഉപയോഗിച്ച് ഹിറ്റ് കൌണ്ടര് നിര്മ്മിച്ചാല് സിസ്റ്റം (സെര്വ്വര്) റിസ്റ്റാര്ട്ട് ആയിക്കഴിഞ്ഞാല് Global.asax ഫയലില് കൊടുത്തിരിക്കുന്ന വേരിയബളിന്റെ വില ആയിരിക്കും ഹിറ്റ് കൌണ്ടര് നമ്പര് ആയി വീണ്ടും വരുന്നത്. കാരണം ..Code in the global.asax is compiled when the web application is built for the first time. എന്താണ് global.asax ??The global.asax file is used to add applicatuon level logic and processing. The global.asax file resides in the root directory of an ASP.Net application.At run time ,global.asax is parsed and compiled into a dynamically generated .Net framework class derived from the HttpApplication base class.<br /><br /><br /><br /><br /><br /><span style="color:#990000;">Global.asax</span> ഫയലിന്റെ<br /><br /><br /><strong>Application_Start</strong> ഭാഗത്ത് <strong><span style="color:#cc0000;">Application.Add("count",0);</span></strong> എന്നെഴുതുക.<br /><br /><br /><strong>Session_Start</strong> ല് <strong><span style="color:#ff0000;">Application["count"] = Convert.ToString(Convert.ToInt32(Application["count"])+1); </span></strong>എന്നും എഴുതുക. (ചിത്രം കാണുക)<br /><br /><br /><br /><img id="BLOGGER_PHOTO_ID_5289343111136998002" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 402px; CURSOR: hand; HEIGHT: 203px; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDqlkMdL2YVpPC0u0L3-yBDXheTcTKlpaf3n9suHFM8fFyO2uUyjztckhHP1_Dci50MBr1aw-i7Qo_4XuygM9xypCnzgBmm-3s7hhfqmOc0aQpOh-I54P6lDznEQFp8H_nPL2kB8x8oCCw/s320/global.asax+file.jpg" border="0" /><br /><br />ഫോമിന്റെ <strong>പേജ് ലോഡില്</strong> താഴെക്കാണുന്ന കോഡ് എഴുതുക :<br /><br /><strong><span style="color:#cc0000;">lbl_counter.Text = Application["count"].ToString();</span></strong><br /><br /><strong><span style="color:#cc0000;"></span></strong><br /><br /><br /><br /><br /><p><strong>2. Xml ഉപയോഗിച്ച് :</strong></p><p><strong></strong>ആദ്യം <strong>counter.xml</strong> എന്ന പേരില് ഒരു xml നിര്മ്മിക്കുക.(ചിത്രം നോക്കുക)<br /></p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtp-66nNaFhW6YenqojXZuwl1nFMKxUNrGS_94taIlao782r2BP-FH8c0j2pfmeFRPYLiUHbLhQhyphenhyphenNJyHh4oL4z5gyL9icvOLm5xJEUi4VZF133SOSnFqJXVxrFgv47OmZgbP1CqxebI7K/s1600-h/counter+xml.jpg"><img id="BLOGGER_PHOTO_ID_5289342139460699746" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 212px; CURSOR: hand; HEIGHT: 53px; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtp-66nNaFhW6YenqojXZuwl1nFMKxUNrGS_94taIlao782r2BP-FH8c0j2pfmeFRPYLiUHbLhQhyphenhyphenNJyHh4oL4z5gyL9icvOLm5xJEUi4VZF133SOSnFqJXVxrFgv47OmZgbP1CqxebI7K/s320/counter+xml.jpg" border="0" /></a> പേജ് ലോഡില് താഴെക്കാണുന്ന കോഡ് എഴുതുക . </p><p><strong><span style="color:#cc0000;">{</span></strong></p><p><strong><span style="color:#cc0000;">XmlDocument xmldoc = new XmlDocument(); </span></strong></p><p><strong><span style="color:#cc0000;">xmldoc.Load(Server.MapPath("counter.xml")); </span></strong></p><p><strong><span style="color:#cc0000;">DataSet ds = new DataSet(); </span></strong></p><p><strong><span style="color:#cc0000;">ds.ReadXml(Server.MapPath("counter.xml")); </span></strong></p><p><strong><span style="color:#cc0000;">lbl_counter.Text = ds.Tables[0].Rows[0].ItemArray[0].ToString(); </span></strong></p><p><strong><span style="color:#cc0000;">XmlNode xnode = xmldoc.SelectSingleNode("//counter/number"); </span></strong></p><p><strong><span style="color:#cc0000;">xnode.InnerText = Convert.ToString(Convert.ToInt32(lbl_counter.Text) + Convert.ToInt32(1)); </span></strong></p><p><strong><span style="color:#cc0000;">xmldoc.Save(Server.MapPath("counter.xml"));</span></strong></p><p><strong><span style="color:#cc0000;">}<br /></span></strong></p><p><strong>3. SQL ഉപയോഗിച്ച് ::</strong></p><p><strong><span style="color:#ff6666;">number</span> എന്ന കോളം മാത്രമായി <span style="color:#ff6666;">counter </span>എന്ന ടേബിള് ആദ്യം നിര്മ്മിക്കുക. (<span style="color:#ff6600;">Column Name : number ; Data Type : int</span>)</strong></p><p><strong>പേജ് ലോഡില് താഴെക്കാണുന്ന കോഡ് എഴുതുക </strong></p><p><span style="color:#cc0000;"><strong>{</strong></span></p><p><span style="color:#cc0000;"><strong>SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=shibu;Integrated Security=True"); </strong></span></p><p><span style="color:#cc0000;"><strong>SqlDataAdapter ada = new SqlDataAdapter(); </strong></span></p><p><span style="color:#cc0000;"><strong>con.Open(); </strong></span></p><p><span style="color:#cc0000;"><strong>ada.SelectCommand = new SqlCommand("select number from counter", con); SqlDataReader sdr = ada.SelectCommand.ExecuteReader();<br />sdr.Read(); </strong></span></p><p><span style="color:#cc0000;"><strong>lbl_counter.Text= sdr.GetValue(0).ToString(); </strong></span></p><p><span style="color:#cc0000;"><strong>sdr.Close();</strong></span></p><p><span style="color:#cc0000;"><strong>Int32 num = (Convert.ToInt32(lbl_counter.Text) + Convert.ToInt32(1));<br /><span style="color:#009900;">//update the column</span> </strong></span></p><p><span style="color:#cc0000;"><strong>ada.SelectCommand = new SqlCommand("update counter set number=" + num + " where number=" + lbl_counter.Text + "", con); </strong></span></p><p><span style="color:#cc0000;"><strong>ada.SelectCommand.ExecuteNonQuery();<br />con.Close();</strong></span></p><p><span style="color:#cc0000;"><strong>}</strong></span></p><p><strong></strong></p><p><strong></strong></p><p><br /></p>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com1tag:blogger.com,1999:blog-725485946854446277.post-57360658098604296852008-12-19T13:54:00.003+05:302008-12-19T14:01:45.252+05:30XML reading (ASP.Net using c#) :.<br /><span style="font-size:130%;">XML read ചെയ്യാന് വേണ്ടി ഉപയോഗിക്കുന്ന കോഡ് :</span> (XML ഫോര്മാറ്റ് <a href="http://dotnetapptips.blogspot.com/2008/12/xml-writting-aspnet-using-c.html"><strong>XML writting (ASP.Net using c#)</strong></a>എന്ന ബ്ലോഗില് കൊടുത്തിട്ടുണ്ട്.)<br /><span style="font-size:130%;"></span><br /><strong><span style="font-size:130%;">public void readthexmldata()</span></strong><br /><strong><span style="font-size:130%;color:#ff0000;">{</span></strong><br /><strong><span style="font-size:130%;color:#ff0000;">DataSet ds = new DataSet(); </span></strong><br /><strong><span style="font-size:130%;color:#ff0000;">ds.Clear();</span></strong><br /><span style="font-size:130%;"><span style="color:#c0c0c0;">//പുതിയ ഒരു ഡേറ്റാസെറ്റ് </span></span><br /><span style="font-size:130%;"><strong><span style="color:#ff0000;">ds.ReadXml(Server.MapPath("prayerrequest.xml"));</span></strong> </span><br /><span style="font-size:130%;"><span style="color:#c0c0c0;">// ReadXml ഉപയോഗിച്ച് prayerrequest.xml ഫയലിലെ ഫയല് ലൊക്കേഷനില് നിന്ന് റീഡ് ചെയ്യുന്നു ആപ്ലിക്കേഷന് ഫോള്ഡറില് തന്നെയാണ് prayerrequest.xml സേവ് ചെയ്തിരിക്കുന്നതു കൊണ്ടാണ് Server.MapPath ഉപയോഗിച്ചത്</span></span><br /><span style="font-size:130%;"><strong><span style="color:#ff0000;">DataView dv = new DataView(); </span></strong></span><br /><strong><span style="font-size:130%;color:#ff0000;">dv = ds.Tables[0].DefaultView; </span></strong><br /><span style="font-size:130%;"><strong><span style="color:#ff0000;">dv.Sort = "date desc";</span></strong> </span><br /><span style="font-size:130%;"><span style="color:#c0c0c0;">// DataView ഉപയോഗിച്ച് date വച്ച് XML ലെ സോര്ട്ട് ചെയ്യുന്നു</span> <strong><span style="color:#ff0000;">dg_prayerrequest.DataSource = dv; </span></strong></span><br /><span style="font-size:130%;"><strong><span style="color:#ff0000;">dg_prayerrequest.DataBind();</span></strong> </span><br /><span style="font-size:130%;color:#c0c0c0;">// ഡേറ്റാഗ്രിഡിലേക്ക് ബൈന്ഡ് ചെയ്യിക്കുന്നു</span><br /><span style="font-size:130%;">}</span><br /><span style="font-size:130%;"></span><br /><span style="font-size:130%;">XML റൈറ്റ് ചെയ്തതിനു ശേഷം readthexmldata() കോള് ചെയ്താല് ഡേറ്റാഗ്രിഡിലേക്ക് XML കാണാം.</span><br /><span style="font-size:130%;"></span><br /><span style="font-size:130%;">ഡേറ്റാഗ്രിഡിന്റ്ന്റെ AllowPaging="True" ആണങ്കില് PageIndexChanged ല് താഴെകൊടുത്തിരിക്കുന്നകോഡ് ഉപയോഗിക്കാം:</span><br /><span style="font-size:130%;"></span><br /><span style="font-size:130%;"><strong>protected void dg_prayerrequest_PageIndexChanged(object source, DataGridPageChangedEventArgs e)</strong> </span><br /><span style="font-size:130%;color:#cc0000;"><strong>{ </strong></span><br /><span style="font-size:130%;color:#cc0000;"><strong>dg_prayerrequest.CurrentPageIndex = e.NewPageIndex; </strong></span><br /><span style="font-size:130%;color:#cc0000;"><strong>readthexmldata(); </strong></span><br /><span style="color:#cc0000;"><span style="font-size:130%;"><strong>}</strong> </span></span><br /><span style="font-size:130%;"></span><br /><span style="font-size:130%;">.</span>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-88762859896769813882008-12-19T13:30:00.007+05:302008-12-19T13:52:32.110+05:30XML writting (ASP.Net using c#).<br /><br /><br /><br /><br /><br /><span style="font-size:130%;">പ്രയര് റിക്വസ്റ്റിനു വേണ്ടി തയ്യാറാക്കുന്ന XML ഫയല് ആണ് ഇത്.(prayerrequest.xml)<br /><span style="color:#cc0000;"><?xml version="1.0" encoding="utf-8"?></span><br /><strong><?xml version="1.0" encoding="utf-8"?></strong><br /><strong><span style="color:#ff0000;"><prayerrequest></span></strong><br /></span><span style="font-size:130%;"><strong>{?xml version="1.0" encoding="utf-8"?><br />{prayerrequest><br />{requesters><br />{name>shibu</name><br />{request>test data</request><br />{date>2002-Jan-03</date><br />{/requesters><br />{/prayerrequest></strong><strong><span style="color:#660000;"><requesters></span></strong> </span><br /><span style="font-size:130%;"><strong><span style="color:#cccccc;">[ { നു പകരം < ഉപയോഗിക്കുക]</span></strong><br /><span style="color:#cc0000;"><strong><name></strong></span><strong></strong>ഈ XML ഫയലിലേക്ക് അടുത്ത പ്രയര് റിക്വസ്റ്റ് റൈറ്റ് ചെയ്യാന് പോവുകയാണ്.<br /><br /><br /><br /><br /><br /></span><span style="font-size:130%;"><img id="BLOGGER_PHOTO_ID_5281409228672843922" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 131px; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpyWUR2G-M7rVpIznGMNi0HWU9dR1lmE4MqqsFCdzUDtDGL71c1GkCWJxCy-vkQfpeVTlcwFG35xf3hWobVFdqkly69Ydw9oEBQGW7TGpYoRv1FLW82CiLdPilJZDI8r2NQ9miBouZjlLz/s320/prayer+request+form.jpg" border="0" /><br /><strong><em><span style="color:#cc0000;">.Net 2005 code :</span></em></strong><br /><strong><em><span style="color:#cc0000;"></span></em></strong><br />protected void btn_submit_Click(object sender, EventArgs e)<br />{<br />try<br />{<br />if (txt_name.Text == "" txt_request.Text == "")<br />{<br />lbl_status.Text = "Please complete the form.";<br />}<br />else<br />{<br />XmlDocument xmldoc = new XmlDocument();<br />xmldoc.Load(Server.MapPath("prayerrequest.xml"));<br /><br />DateTime dd;<br />dd = DateTime.Now.Date;<br />String dd2;<br />dd2 = dd.ToString("yyyy-MMM-dd");<br /><br />XmlElement xmlrequest = xmldoc.CreateElement("requesters");<br />XmlElement xmlname = xmldoc.CreateElement("name");<br />XmlElement xmlreq = xmldoc.CreateElement("request");<br />XmlElement xmldate = xmldoc.CreateElement("date");<br /><br />xmlname.InnerText = txt_name.Text.Trim();<br />xmlreq.InnerText = txt_request.Text.Trim();<br />xmldate.InnerText = dd2;<br /><br />xmlrequest.AppendChild(xmlname);<br />xmlrequest.AppendChild(xmlreq);<br />xmlrequest.AppendChild(xmldate);<br /><br />xmldoc.DocumentElement.AppendChild(xmlrequest);<br /><br />xmldoc.Save(Server.MapPath("prayerrequest.xml"));<br /><br />txt_name.Text = ""; txt_request.Text = "";<br />lbl_status.Text = "Your prayer request successfully added";<br />lbl_status.Text = "";<br />}<br />}<br />catch<br />{<br />lbl_status.Text = "Sorry, unable to process request. Please try again.";<br />}<br /><br />}<br /><br /><br /><strong><span style="color:#ff0000;">.Net 2008 code :</span></strong><br /><br />protected void btn_submit_Click(object sender, EventArgs e)<br />{<br />try<br />{<br />if (txt_name.Text == "" txt_request.Text == "")<br />{<br />lbl_status.Text = "Please complete the form.";<br />}<br />else<br />{<br />XDocument xmldoc = XDocument.Load(Server.MapPath("prayerrequest.xml"));<br /><br />DateTime dd;<br />dd = DateTime.Now.Date;<br />String dd2;<br />dd2 = dd.ToString("yyyy-MMM-dd");<br /><br />xmldoc.Element("prayerrequest").Add(new XmlElement("requesters", new XElement("name", txt_name.Text), new XElement("request", txt_request.Text), new XElement("date", dd2)));<br />xmldoc.CreateElement("prayerrequest").AppendChild(new XmlElement("requesters", new XmlElement("name", txt_name.Text), new XmlElement("request", txt_request.Text), new XmlElement("date", dd2)));<br /><br />txt_name.Text = ""; txt_request.Text = "";<br />lbl_status.Text = "Your prayer request successfully added";<br />readthexmldata();<br />lbl_status.Text = "";<br />}<br />}<br />catch<br />{<br />lbl_status.Text = "Sorry, unable to process request. Please try again.";<br />}<br /><br />}<br /><br /></span><br />.ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com1tag:blogger.com,1999:blog-725485946854446277.post-11473288953862717552008-09-04T04:50:00.000+05:302008-09-04T05:13:42.041+05:30how to save and search the pictures from the database(vb.net windows applications) :ഡേറ്റാബേസിലേക്ക് ചിത്രങ്ങള് സേവ് ചെയ്യുന്നത് :(vb.net windows ap<strong><span style="font-size:130%;">ഡേറ്റാബേസിലേക്ക് ചിത്രങ്ങള് സേവ് ചെയ്യുന്നത് :(vb.net windows applications)</span></strong><br /><strong><span style="font-size:130%;"></span></strong><br /><br /><br />shibu എന്ന ഡേറ്റാബേസില് stuphoto എന്ന് ഒരു ടേബിള് ഉണ്ടാക്കിയിരിക്കുന്നു.slno(int,primarykey),regno(int) , stuname(varchar) ,stuclass(varchar) ,stuphoto (image) എന്നീ ഫീല്ഡുകളാണ് ഈ ടേബിളില് ഉള്ളത്.<br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0yww2j1_hVFya85CereHtS9T2Pf_IEd9PoU4R74wjeFXutB9MORBNaTkX9CcwFXIxckMHz4_X9PBei5_zsxVGz99IGvM1nojPy4G74yAOJTrpELCsDN9CakBwKpafO5aIfhDP9aqmRNi_/s1600-h/stuphoto+db.jpg"><img id="BLOGGER_PHOTO_ID_5241940973119093554" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0yww2j1_hVFya85CereHtS9T2Pf_IEd9PoU4R74wjeFXutB9MORBNaTkX9CcwFXIxckMHz4_X9PBei5_zsxVGz99IGvM1nojPy4G74yAOJTrpELCsDN9CakBwKpafO5aIfhDP9aqmRNi_/s320/stuphoto+db.jpg" border="0" /></a><br /><div></div>Form ഡിസൈന് ചെയ്തിരിക്കുന്നത് ചിത്രത്തില് നോക്കുക<br /><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL85H437LOKfBwtEBrA_h77dsDdhnfigr7QP2tTsHyzXcB6Q0v5Sh26JpKw9FmIa0vwnbR_XNz-KFUUD2qjagj0x467SJs2AknKAQzfYTL8oUl1eKoSEqzpU6bWIIuUJ94S5t6ZiTdtJnZ/s1600-h/picture+saving.jpg"><img id="BLOGGER_PHOTO_ID_5241940053354841234" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL85H437LOKfBwtEBrA_h77dsDdhnfigr7QP2tTsHyzXcB6Q0v5Sh26JpKw9FmIa0vwnbR_XNz-KFUUD2qjagj0x467SJs2AknKAQzfYTL8oUl1eKoSEqzpU6bWIIuUJ94S5t6ZiTdtJnZ/s320/picture+saving.jpg" border="0" /></a><br /><br /><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL85H437LOKfBwtEBrA_h77dsDdhnfigr7QP2tTsHyzXcB6Q0v5Sh26JpKw9FmIa0vwnbR_XNz-KFUUD2qjagj0x467SJs2AknKAQzfYTL8oUl1eKoSEqzpU6bWIIuUJ94S5t6ZiTdtJnZ/s1600-h/picture+saving.jpg"></a><strong>പ്രോഗ്രാം :</strong> </div><div><br />NEW ബട്ടണില് ക്ലിക്ക് ചെയ്യുമ്പോള് സീരിയല് നമ്പര് ഓട്ടോ ജനറേറ്റ് ചെയ്യുന്നു.Browse ബട്ടണില് ക്ലിക്ക് ചെയ്ത് ഫോമിലെ pictureBox ല് പടം വരുത്തുന്നു.എന്നിട്ട് സേവ് ബട്ടണില് ക്ലിക്ക് ചെയ്യുമ്പോള് ഡേറ്റാസ് ഡേറ്റാബേസില് സേവ് ആകുന്നു.സ്റ്റുഡന്റ് നെയിം ലിസ്റ്റ് ബോക്സില് സ്റ്റുഡന്റ് നെയിം ഡിസ്പ്ലേ ആകുന്നു. ഡേറ്റാ എഡിറ്റ് ചെയ്യാന് സ്റ്റുഡന്റ് നെയിം ലിസ്റ്റ് ബോക്സിലെ ഒരു പേര് സെലക്ട് ചെയ്തിട്ട് SEARCH ബട്ടണില് ക്ലിക്ക് ചെയ്താല് അനുബന്ധമായ വിവരങ്ങള് ഫോമിലെ ഫീല്ഡുകളില് കാണിക്കും.EDIT ബട്ടണില് ക്ലിക്ക് ചെയ്തിട്ട് ഡേറ്റാ എഡിറ്റ് ചെയ്ത് സേവ് ചെയ്യാം.ഡിലീറ്റ് ചെയ്യാന് DELETE ബട്ടണില് ക്ലിക്ക് ചെയ്യുക. </div><div> </div><div><strong>കോഡിങ്ങ് :</strong></div><strong></strong></div><div> </div><div><div><strong>Imports System.Data.SqlClient<br />Imports System.IO</strong><br /><br /><strong><span style="color:#009900;">Public Class Form1</span></strong><br /><strong> Dim con As New SqlConnection("Data Source=.;Initial Catalog=shibu;Integrated Security=True")<br /> Dim formmode As String</strong></div><div><span style="color:#cccccc;">formmode ഉപയോഗിക്കുന്നത് New ഉം EDIT ഉം തിരിച്ചറിയുന്നതിനു വേണ്ടിയാണ്. New<br /> ല് ക്ലിക്ക് ചെയ്യുമ്പോള് formmode = "new" ആകുന്നു EDIT ല് ക്ലിക്ക് ചെയ്യുമ്പോള് formmode = "edit" ആകുന്നു.സേവ് ചെയ്യുമ്പോള് ഈ ഫോം മോഡിന് അനുസരിച്ചാണ് ഇന്സേര്റ്റണ് നടക്കുന്നത്.</span></div><span style="color:#cccccc;"></span></div><span style="color:#cccccc;"></span><br /><p><span style="color:#cccccc;"></span> </p><p><strong>browse ബട്ടണില് ക്ലിക്ക് ചെയ്യുമ്പോള് പടം PictureBox1 ലേക്ക് വരാനുള്ള കോഡ്..<br /> OpenFileDialog വഴിയാണ് PictureBox1 ലേക്ക് പടങ്ങള് കൊണ്ടുവരുന്നത്</strong></p><p><strong> Private Sub btn_browse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_browse.Click</strong><br /> <span style="color:#990000;">With OpenFileDialog1<br /> .InitialDirectory = "C:\Documents and Settings\shibu\My Documents\My Pictures"<br /> .Filter = "AllFiles*.*"<br /> End With<br /> If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then<br /> With PictureBox1</span></p><p><span style="color:#990000;"> .Image = Image.FromFile(OpenFileDialog1.FileName)<br /> .SizeMode = PictureBoxSizeMode.StretchImage<br /> .BorderStyle = BorderStyle.Fixed3D<br /> End With<br /> End If<br /></span><strong> End Sub</strong></p><p><span style="color:#cccccc;"><span style="color:#000000;"><strong>Private Sub btn_new_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_new.Click<br /></strong></span> <span style="color:#990000;">Call fieldclear()<br /> Call fieldunlock()<br /> Call newid()<br /> txt_regno.Focus()<br /> formmode = "new"<br /></span><span style="color:#000000;"> <strong>End Sub</strong></span></span></p><p><span style="color:#cccccc;"><span style="color:#000000;"><strong></strong></span></span> </p><p><span style="color:#cccccc;"><strong> </strong><span style="color:#000000;"><strong>Public Sub fieldclear()</strong><br /> <span style="color:#990000;"> txt_slno.Clear()<br /> txt_regno.Clear()<br /> txt_stuname.Clear()<br /> txt_class.Clear()<br /></span> <strong> End Sub</strong></span></span></p><p><span style="color:#cccccc;"><span style="color:#000000;"></span></span> </p><p><span style="color:#cccccc;"><strong><span style="color:#000000;">ഓട്ടോ ജനറേറ്റ് ആയി സീരിയല് നമ്പര് ഉണ്ടാകുന്ന കോഡ്.NEW ബട്ടണില് ഈ കോഡ് വിളിച്ചിട്ടുണ്ട്</span></strong></span></p><p><span style="color:#cccccc;"><span style="color:#000000;"><strong>Public Sub newid()<br /></strong></span> <span style="color:#660000;">Dim cmd As New SqlCommand("select max(slno) from stuphoto", con)<br /> Dim dr As SqlDataReader<br /> con.Open()<br /> dr = cmd.ExecuteReader<br /> If dr.Read Then<br /> If dr(0).ToString = DBNull.Value.ToString Then<br /> txt_slno.Text = 1<br /> Else<br /> txt_slno.Text = dr(0) + 1<br /> End If<br /> End If<br /> dr.Close()<br /> con.Close()<br /></span><strong><span style="color:#000000;"> End Sub<br /></span> </strong></p><span style="color:#000000;"><strong>Private Sub btn_save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_save.Click<br /></strong></span> <span style="color:#660000;"> If formmode = "new" Then<br /> Call savepicture()<br /> Call fieldclear()<br /> Call fieldlock()<br /> Else<br /> Call rowdelete()<br /> Call savepicture()<br /> Call fieldclear()<br /> Call fieldlock()<br /> End If<br /></span><span style="color:#000000;"><strong> End Sub</strong></span><br /><p><span style="color:#000000;"><strong></strong></span> </p><p><strong><span style="color:#000000;">Public Sub savepicture()</span><br /></strong> <span style="color:#990000;"> Try<br /> Dim memstream As New MemoryStream<br /> Me.PictureBox1.Image.Save(memstream, PictureBox1.Image.RawFormat)<br /> Dim stupicture() As Byte = memstream.GetBuffer<br /> Dim cmd As New SqlCommand("select * from stuphoto", con)<br /> Dim myadapter As New SqlDataAdapter(cmd)<br /> Dim myset As New DataSet<br /> Dim myrow As DataRow<br /> con.Open()<br /> myadapter.Fill(myset)<br /> con.Close()<br /> myrow = myset.Tables(0).NewRow<br /> myrow(0) = Val(txt_slno.Text)<br /> myrow(1) = txt_regno.Text<br /> myrow(2) = txt_stuname.Text<br /> myrow(3) = txt_class.Text<br /> myrow(4) = stupicture<br /> myset.Tables(0).Rows.Add(myrow)<br /> Dim cb As New SqlCommandBuilder(myadapter)<br /> con.Open()<br /> myadapter.Update(myset)<br /> con.Close()<br /> PictureBox1.Image = Nothing<br /> lb_stunamefill()<br /> Catch ex As Exception<br /> MessageBox.Show(ex.Message)<br /> End Try</span><br /> <span style="color:#000000;"> End Sub</span></p><br /><strong><span style="color:#000000;">ഡേറ്റാസെറ്റ് വച്ച് ഡേറ്റാബേസിലെ സ്റ്റുഡന്റ് നെയുമുകള് ലിസ്റ്റ് ബോക്സിലേക്ക് കൊണ്ടുവരുന്നതിനുള്ള കോഡ്</span></strong><br /><p><span style="color:#000000;"><strong>Public Sub lb_stunamefill()<br /></strong> <span style="color:#990000;"> Dim cmd As New SqlCommand("select slno,stuname from stuphoto", con)<br /> Dim myadapter As New SqlDataAdapter(cmd)<br /> Dim myset As New DataSet<br /> con.Open()<br /> myadapter.Fill(myset)<br /> con.Close()<br /> With lb_stuname<br /> .DataSource = myset.Tables(0)<br /> .DisplayMember = "stuname"<br /> .ValueMember = "slno"<br /> End With<br /></span><strong> End Sub</strong></span></p><p><span style="color:#000000;"><strong><br /> Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br /></strong> <span style="color:#990000;"> Call lb_stunamefill()<br /> Call fieldlock()<br /></span><strong> End Sub</strong></span></p><p><strong><span style="color:#000000;"></span></strong> </p><p><br /> <strong><span style="color:#000000;"> Private Sub btn_search_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_search.Click</span></strong><br /> <span style="color:#990000;">If lb_stuname.SelectedIndex < 0 Then<br /> MessageBox.Show("no images from the database")<br /> Else<br /> Dim cmd As New SqlCommand("select * from stuphoto", con)<br /> Dim myadapter As New SqlDataAdapter(cmd)<br /> Dim myset As New DataSet<br /> con.Open()<br /> myadapter.Fill(myset)<br /> con.Close()<br /> Dim arrpicture() As Byte = CType(myset.Tables(0).Rows(lb_stuname.SelectedIndex)("stuphoto"), Byte())<br /> Dim ms As New MemoryStream(arrpicture)<br /> With PictureBox1<br /> .Image = Image.FromStream(ms)<br /> .SizeMode = PictureBoxSizeMode.StretchImage<br /> .BorderStyle = BorderStyle.Fixed3D<br /> End With<br /> ms.Close()<br /> txt_slno.Text = myset.Tables(0).Rows(lb_stuname.SelectedIndex)("slno").ToString<br /> txt_regno.Text = myset.Tables(0).Rows(lb_stuname.SelectedIndex)("regno").ToString<br /> txt_stuname.Text = myset.Tables(0).Rows(lb_stuname.SelectedIndex)("stuname").ToString<br /> txt_class.Text = myset.Tables(0).Rows(lb_stuname.SelectedIndex)("stuclass").ToString<br /> End If<br /></span> <strong><span style="color:#000000;"> End Sub</span></strong></p><br /><strong><span style="color:#000000;">Private Sub btn_delete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_delete.Click</span></strong><br /> <span style="color:#990000;">Call rowdelete()<br /> Call fieldclear()</span><br /><strong><span style="color:#000000;"> End Sub</span></strong><br /><p><strong><span style="color:#000000;"></span></strong> </p><p> <strong><span style="color:#000000;">Public Sub fieldlock()<br /></span></strong> <span style="color:#990000;">txt_regno.ReadOnly = True<br /> txt_stuname.ReadOnly = True<br /> txt_class.ReadOnly = True<br /></span><strong><span style="color:#000000;"> End Sub</span></strong></p><strong><span style="color:#000000;"><p><br /> Public Sub fieldunlock()<br /></span></strong> <span style="color:#990000;">txt_regno.ReadOnly = False<br /> txt_stuname.ReadOnly = False<br /> txt_class.ReadOnly = False<br /></span><strong><span style="color:#000000;"> End Sub</span></strong></p><p><strong><span style="color:#000000;"></span></strong> </p><p><strong><span style="color:#000000;"> Public Sub rowdelete()</span></strong><br /> <span style="color:#990000;">Dim cmd As New SqlCommand("select * from stuphoto", con)<br /> Dim myadapter As New SqlDataAdapter(cmd)<br /> Dim myset As New DataSet<br /> Dim cbd As New SqlCommandBuilder(myadapter)<br /> con.Open()<br /> myadapter.Fill(myset)<br /> con.Close()<br /> myset.Tables(0).Rows(lb_stuname.SelectedIndex).Delete()<br /> con.Open()<br /> myadapter.UpdateCommand = cbd.GetDeleteCommand<br /> myadapter.Update(myset)<br /> con.Close()<br /></span> <strong><span style="color:#000000;"> End Sub</span></strong></p><p><strong><span style="color:#000000;"></span></strong> </p><p><strong><span style="color:#000000;">Private Sub btn_edit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_edit.Click</span></strong><br /> <span style="color:#990000;">fieldunlock()<br /> formmode = "edit"<br /></span> <strong><span style="color:#000000;">End Sub</span></strong><br /><br /><strong><span style="color:#006600;">End Class</span></strong></p><br /></span><br /><br /><br /></span>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-63310713274352517342008-07-29T22:58:00.000+05:302008-07-29T23:20:21.341+05:30സബ് റിപ്പോര്ട്ട് റ്റോട്ടല് മെയിന് റിപ്പോര്ട്ടിലേക്ക് : (S/W application)<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAc2xKT9PBOjYlinYI9-pX5nS-ThnLJ623xtb_mvW8FeQccMoBtfa-y38SxBDp83gXeeprnU54J30LvWh0EkaRFf3xFFAp6_q039EjhtFUH4zlz4zuIcRrtoKQoNVOkFc8GPg4qw7jWcR7/s1600-h/Presentation1.jpg"></a><br /><br />ക്രിസ്റ്റല് റിപ്പോര്ട്ടിലെ സബ് റിപ്പോര്ട്ട് റ്റോട്ടല് മറ്റൊരു സബ് റീപ്പോര്ട്ടിലോ മെയിന് റിപ്പോര്ട്ടിലോവിളിക്കാവുന്നതാണ്.മെയിന് റിപ്പോര്ട്ടിലാണ് സബ് റിപ്പോര്ട്ട് (സബ് റിപ്പോര്ട്ടുകളുടെ) റ്റോട്ടല്കാണിക്കേണ്ടതെങ്കില് സബ് റിപ്പോര്ട്ടിലെ വേരിയബിള് (Formula Field) മെയിന് റിപ്പോര്ട്ടിലെ Report Footer ലോPage Footer ലോ ഉപയോഗിക്കണം.(ഇവിടെ പറയുന്ന ഉദാഹരണത്തില് രണ്ട് സബ് റിപ്പോര്ട്ടുകളുടെറ്റോട്ടലുകളുടെ വെത്യാസം മൂന്നാമത്തെ റിപ്പോര്ട്ടില് കാണിക്കുന്നു.)<br /><br /><strong><span style="color:#cc0000;">CrystalReport DataType :</span></strong><br />താഴെക്കാണിച്ചിരിക്കുന്ന പട്ടികയില് നിന്ന് ക്രിസ്റ്റല് റിപ്പോര്ട്ടിലെ ഡേറ്റാ ടൈപ്പ് എന്തല്ലാമാണന്ന് മനസ്സിലാക്കാം.<br /><br /><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAc2xKT9PBOjYlinYI9-pX5nS-ThnLJ623xtb_mvW8FeQccMoBtfa-y38SxBDp83gXeeprnU54J30LvWh0EkaRFf3xFFAp6_q039EjhtFUH4zlz4zuIcRrtoKQoNVOkFc8GPg4qw7jWcR7/s1600-h/Presentation1.jpg"><img id="BLOGGER_PHOTO_ID_5228491540082810450" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 494px; CURSOR: hand; HEIGHT: 375px; TEXT-ALIGN: center" height="240" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAc2xKT9PBOjYlinYI9-pX5nS-ThnLJ623xtb_mvW8FeQccMoBtfa-y38SxBDp83gXeeprnU54J30LvWh0EkaRFf3xFFAp6_q039EjhtFUH4zlz4zuIcRrtoKQoNVOkFc8GPg4qw7jWcR7/s320/Presentation1.jpg" width="404" border="0" /></a> <strong><span style="color:#cc0000;">Variable Declaration :</span></strong></p><p>Field Explorer ല് നിന്ന് Formula Field സില് നിന്ന് New എടുത്ത് Formula Field ന് പേര് നല്കുക.എന്നിട്ട് Use Expert / Use Editor ല് click ചെയ്യുക. Use Expet/Editor (Alt+ X ) ല് click ചെയ്താല് Expet/Editor വിന്ഡോ വരും.അവിടെ വേരിയബിള് ഡിക്ലയര് ചെയ്യുക.<br /><strong>shared numbervar totincome;</strong> (താഴത്തെ ചിത്രം നോക്കുക) </p><p><strong>totincome :={#RTotal0};</strong></p><p>(വേരിയബിള് ഡിക്ലയര് ചെയ്തതിനു ശേഷം ; എന്ന് ഉപയോഗിക്കണം)<br /><br /></p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX0S6ednoHmTggd1Tz3uIjy-uj1iHzzbcJFPPNtrDXyL9Ttw2SQnitnIn2Y3bWyyK9tlxU1cc0VpGOsp5wHBaKgJ0VYFR93dZrvFm2-jai-5XyY97v2YkksN-uSAkXzwxHgqs2ZU4Yx8xx/s1600-h/Presentation2.jpg"><img id="BLOGGER_PHOTO_ID_5228490228494417554" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 350px; TEXT-ALIGN: center" height="357" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX0S6ednoHmTggd1Tz3uIjy-uj1iHzzbcJFPPNtrDXyL9Ttw2SQnitnIn2Y3bWyyK9tlxU1cc0VpGOsp5wHBaKgJ0VYFR93dZrvFm2-jai-5XyY97v2YkksN-uSAkXzwxHgqs2ZU4Yx8xx/s320/Presentation2.jpg" width="443" border="0" /></a> </p><p>totincome എന്ന് വേരിയബിള് numbervar ഡേറ്റാറ്റൈപ്പില് shared ആയി ഡിക്ലയര് ചെയ്തിരിക്കുകയാണ്.shared ആയി ഡിക്ലയര് ചെയ്തെങ്കില് മാത്രമേ മറ്റ് സബ് റിപ്പോര്ട്ടില് totincome എന്ന വേരിയബിള് ഉപയോഗിക്കാന് പറ്റുകയുള്ളു.ഇവിടെ totincome എന്ന വേരിയബിളിലേക്ക് ഈ റിപ്പോര്ട്ടിലെ (incomereport) amount കോളത്തീലെ റ്റോട്ടല് പറഞ്ഞിരിക്കുകയാണ്.( Field Explorer ലെ Running Total Fields വഴിയാണ് RTotal0 എടുത്തിരിക്കുന്നത്.)</p><p></p><p>INCOME REPORT(ഒന്നാമത്തെ സബ് റിപ്പോര്ട്ട്) ല് ചെയ്തിരിക്കുന്നതുപോലെ EXPENDITURE REPORTലും(രണ്ടാമത്തെ സബ് റിപ്പോര്ട്ട്) totexp എന്ന പേരില്shared ആയി വേരിയബിള് ഡിക്ലയര് ചെയ്യുന്നു.</p><p><strong>shared numbervar totexp; totexp:={#RTotal0};</strong></p><p>(INCOME REPORT ലെ Formula Field ന്റെ പേര് incomeformula എന്നും EXPENDITURE REPORT ലെ Formula Field ന്റെ പേര് expformula എന്നുമാണ് നല്കിയിരിക്കുന്നത്.Formula Field ന്റെ പേരാണ്സബ് റിപ്പോര്ട്ടുകളില് ഇവയുടെ റ്റോട്ടല് കാണാന് ഉപയോഗിക്കുന്നത്.)</p><p></p><p>മൂന്നാമത്തെ സബ് റിപ്പോര്ട്ടില് വീണ്ടും Formula Field ല് വേരിയബിള് ഡിക്ലയര് ചെയ്യുന്നു.ഇവിടെ മൂന്ന്മൂന്ന് Formula Field ഉണ്ടാക്കുന്നു.inc എന്ന Formula Field ല് ഒന്നാമത്തെ സബ് റിപ്പോര്ട്ടിലെ വേരിയബിള്പറഞ്ഞുകൊടുക്കുന്നു. </p><div></div><div><strong>shared numbervar totincome;</strong></div><div><strong></strong></div><div>exp എന്ന Formula Field ല് രണ്ടാമത്തെ സബ് റിപ്പോര്ട്ടിലെ വേരിയബിള് പറഞ്ഞു കൊടുക്കുന്നു. </div><div></div><div><strong>shared numbervar totexp;</strong></div><div><strong></strong></div><div>balformula എന്ന Formula Field ല് ഒന്നാമത്തേയും രണ്ടാമത്തേയും സബ് റിപ്പോര്ട്ടിലെ റ്റോട്ടലിന്റെ വെത്യാസംകാണിക്കുന്നു.</div><div></div><div><strong>shared numbervar totincome; </strong></div><div><strong>shared numbervar totexp;</strong></div><div><strong>shared numbervar totbal;</strong></div><div><strong>totbal :=totincome-totexp</strong><br /><br /></div><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrS-yoCQ9eDO0Cw4z9KxKUD8BgbT9XWYTNvVWZLOEJkqGktDFClzxX1_x0uEyDs32Q606UGI3_ngMOKWamxPXx0yn4ROWrvr-s9W6qhhmsTYcIMt2LTWyswTRGMp1ejL8kqMNCLesUyoUl/s1600-h/Presentation3.jpg"><img id="BLOGGER_PHOTO_ID_5228489609117706226" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrS-yoCQ9eDO0Cw4z9KxKUD8BgbT9XWYTNvVWZLOEJkqGktDFClzxX1_x0uEyDs32Q606UGI3_ngMOKWamxPXx0yn4ROWrvr-s9W6qhhmsTYcIMt2LTWyswTRGMp1ejL8kqMNCLesUyoUl/s320/Presentation3.jpg" border="0" /></a> മൂന്നാമത്തേ സബ് റീപ്പോര്ട്ടില് (മുകളിലത്തെ ചിത്രത്തിലെ) TOTAL INCOME നു നേരെ inc എന്ന് Formula Field വയ്ക്കൂന്നു.TOITAL EXPENDITURE നു നേരെ expഎന്ന് Formula Field വയ്ക്കൂന്നു.BALANCE നു നേരെ balformula എന്ന Formula Field യും വയ്ക്കുന്നു.</div><div><br /><br /></div><div><br />സബ്റിപ്പോര്ട്ടില് നമ്മള് പറഞ്ഞിരിക്കുന്ന വേരിയബിള് (Formula Field) മറ്റൊരു റിപ്പോര്ട്ടില് (സബ് ) കിട്ടണമെങ്കില്വേരിയബിള് (Formula Field) ഏത് സബറിപ്പോര്ട്ടില് ആണോ അസൈന് ചെയ്യുന്നത് ആ സബ് റിപ്പോര്ട്ടില്Formula Field ഉപയോഗിച്ചിരിക്കണം.മാത്രമല്ല ഏത് സബ് റിപ്പോര്ട്ടിലാണോ ഈ വേരിയബിള് ഉപയോഗിക്കുന്നത്അവിടെ വേരിയബിള് അതേ പേരില് തന്നെ ഒരിക്കല് കൂടി പറഞ്ഞു കൊടുക്കാണം.അതായത് സബ് റിപ്പോര്ട്ട് ഒന്നില്shared numbervar totexp; ആയി പറയുന്ന വേരിയബിളിലെ totexp ന്റെ വില സബ് റിപ്പോര്ട്ട് മൂന്നില് കിട്ടണമെങ്കില്സബ് റിപ്പോര്ട്ട് മൂന്നിലെ Formula Field ല് shared numbervar totexp; എന്ന് ഒരിക്കല് കൂടി പറഞ്ഞ് കൊടുക്കണം.<br /><br /><br /><br /><div></div></div>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com5tag:blogger.com,1999:blog-725485946854446277.post-54620890226898291402008-07-28T22:51:00.000+05:302008-07-28T23:13:24.843+05:30Tutorials --- site address : Subjects<strong></strong><br /><span style="color:#cccccc;">(Plz use right button.. Open in New Window)</span><br /><strong></strong><br /><strong>PHYSICS :</strong><br /><a href="http://www.physicsforums.com/">http://www.physicsforums.com/</a><br /><a href="http://physicsmathforums.com/">http://physicsmathforums.com/</a><br /><a href="http://scienceworld.wolfram.com/physics/">http://scienceworld.wolfram.com/physics/</a><br /><a href="http://www.intute.ac.uk/sciences/physics/">www.intute.ac.uk/sciences/physics/</a><br /><a href="http://physuna.phs.uc.edu/suranyi/Modern_physics/Lecture_Notes/lecture_notes.html">http://physuna.phs.uc.edu/suranyi/Modern_physics/Lecture_Notes/lecture_notes.html</a><br /><a href="http://www.physicsforfree.com/">http://www.physicsforfree.com/</a><a href="http://theory.ueinnipeg.ca.physics/">http://theory.ueinnipeg.ca.physics/</a><br /><a href="http://library.thinkquest.org/20138/ch_indexSt.html">http://library.thinkquest.org/20138/ch_indexSt.html</a><br /><br /><strong>CHEMISTRY :</strong><br /><a href="http://en.wikipedia.org/wiki/Chemistry">http://en.wikipedia.org/wiki/Chemistry</a><br /><a href="http://preparatorychemistry.com/">http://preparatorychemistry.com/</a><br /><a href="http://www.chem1.com/acad/webtext/virtualtextbook.html">www.chem1.com/acad/webtext/virtualtextbook.html</a><br /><a href="http://library.thinkquest.org/19957/">http://library.thinkquest.org/19957/</a><br /><a href="http://www.chemguide.co.uk/">http://www.chemguide.co.uk/</a><a href="http://www.klte.hu/~lenteg/animate.html">www.klte.hu/~lenteg/animate.html</a> (Chemistry Animations)<br /><a href="http://scienceworld.wolfram.com/chemistry/">http://scienceworld.wolfram.com/chemistry/</a><br /><a href="http://www.worldofmolecules.com/">http://www.worldofmolecules.com/</a><br /><a href="http://www.chemhelper.com/">http://www.chemhelper.com/</a><a href="http://www.chem4kids.com/">http://www.chem4kids.com/</a><br /><a href="http://www.chemistry-drills.com/">http://www.chemistry-drills.com/</a><br /><a href="http://www.chemthes.com/">http://www.chemthes.com/</a><br /><a href="http://www.chemsoc.org/viselements/pages/pertable_fla.htm">www.chemsoc.org/viselements/pages/pertable_fla.htm</a> (periodic table)<a href="http://www.touchspin.com/chem/DisplayTable.html">www.touchspin.com/chem/DisplayTable.html</a> (periodic table)<br /><br /><strong>BIOLOGY :</strong><br /><a href="http://www.estrellamountain.edu/faculty/farabee/biobk/biobooktoc.html">www.estrellamountain.edu/faculty/farabee/biobk/biobooktoc.html</a><br /><a href="http://www.users.adelphia.net/~lubehawk/BioHELP!/biotopcs.html">www.users.adelphia.net/~lubehawk/BioHELP!/biotopcs.html</a><br /><a href="http://web.mit.edu/esgbio/www/">http://web.mit.edu/esgbio/www/</a><a href="http://www.waybuilder.net/free-ed/Science/Biology/GenBio/GenBio02_TBK.asp">www.waybuilder.net/free-ed/Science/Biology/GenBio/GenBio02_TBK.asp</a><br /><a href="http://tolweb.org/tree/phylogeny.html">http://tolweb.org/tree/phylogeny.html</a><br /><a href="http://www.cellsalive.com/">http://www.cellsalive.com/</a><br /><a href="http://www.biology-online.org/">http://www.biology-online.org/</a><br /><a href="http://froggy.lbl.gov/virtual/">http://froggy.lbl.gov/virtual/</a><br /><a href="http://www.life.uiuc.edu/plantbio/cell/">www.life.uiuc.edu/plantbio/cell/</a><br /><a href="http://www.exploratorium.edu/memory/braindissection/index.html">www.exploratorium.edu/memory/braindissection/index.html</a><br /><br /><strong>HISTORY :</strong><br /><a href="http://www.1911encyclopedia.org/">http://www.1911encyclopedia.org/</a><br /><a href="http://www.sparknotes.com/history/">www.sparknotes.com/history/</a><br /><a href="http://www.bartleby.com/67/">www.bartleby.com/67/</a><a href="http://www.historyguide.com/">http://www.historyguide.com/</a><br /><a href="http://www.wsu.edu/~dee/">www.wsu.edu/~dee/</a> (world civilisation)<br /><a href="http://www.kamat.com/kalranga/itihas/history.htm">www.kamat.com/kalranga/itihas/history.htm</a><br /><a href="http://www.hindhistory.com/">http://www.hindhistory.com/</a><br /><a href="http://india_resource.tripod.com/sahistory.html">http://india_resource.tripod.com/sahistory.html</a><br /><a href="http://www.boloji.com/history/index.htm">www.boloji.com/history/index.htm</a><br /><br /><strong>GEOGRAPHY AND CIVICS :</strong><br /><strong>Geography:</strong><br /><a href="http://www.geohive.com/">http://www.geohive.com/</a><br /><a href="http://www.atlapedia.com/">http://www.atlapedia.com/</a><br /><a href="https://www.cia.gov/cia/publications/factbook/index.html">https://www.cia.gov/cia/publications/factbook/index.html</a><br /><a href="http://lcweb2.loc.gov/frd/cs/cshome.html">http://lcweb2.loc.gov/frd/cs/cshome.html</a><br /><a href="http://www.nationsonline.org/oneworld/">www.nationsonline.org/oneworld/</a><br /><a href="http://members.aol.com/bowermanb/101.html">http://members.aol.com/bowermanb/101.html</a><br /><a href="http://www.infoplease.com/ipa/A0873835.html">www.infoplease.com/ipa/A0873835.html</a><br /><a href="http://www.ilike2learn.com/ilike2learn/geography.asp">www.ilike2learn.com/ilike2learn/geography.asp</a><br /><br /><strong>Civics :</strong><br /><a href="http://www.llrx.com/features/indian.htm">www.llrx.com/features/indian.htm</a><br /><a href="http://goidirectory.nic.in/">http://goidirectory.nic.in/</a><a href="http://www.loc.gov/law/guide/india.html">www.loc.gov/law/guide/india.html</a><br /><br /><strong>MATHEMATICS :</strong><br /><a href="http://math.uakron.edu/~dpstory/mpt_home.html">http://math.uakron.edu/~dpstory/mpt_home.html</a><br /><a href="http://www.webmath.org/">http://www.webmath.org/</a><br /><a href="http://www.mathforum.org/dr.math/">www.mathforum.org/dr.math/</a><br /><a href="http://math.uakron.edu/~dpstory/e-calculus.html">http://math.uakron.edu/~dpstory/e-calculus.html</a><br /><a href="http://eqworld.ipmnet.ru/en/solutions/ode.htm">http://eqworld.ipmnet.ru/en/solutions/ode.htm</a><br /><a href="http://www.math.hmc.edu/calculus/tutorials/">www.math.hmc.edu/calculus/tutorials/</a><br /><a href="http://www.cis.upenn.edu/~wlif/AlgComp3.html">http://www.cis.upenn.edu/~wlif/AlgComp3.html</a><br /><a href="http://www.math.gatech.edu/~cain/textbooks/onlinebooks.html">www.math.gatech.edu/~cain/textbooks/onlinebooks.html</a><br /><a href="http://mathworld.wolfram.com/">http://mathworld.wolfram.com/</a><br /><br /><strong>COMMERCE :</strong><br /><a href="http://www.principlesofaccounting.com/">http://www.principlesofaccounting.com/</a><br /><a href="http://www.futureaccountant.com/">http://www.futureaccountant.com/</a><br /><a href="http://www.incometaxindia.gov.in/">http://www.incometaxindia.gov.in/</a><br /><a href="http://incometax.indlaw.com/">http://incometax.indlaw.com/</a><br /><a href="http://finance.indiamart.com/taxation/">http://finance.indiamart.com/taxation/</a><br /><a href="http://www.econlib.org/">http://www.econlib.org/</a><br /><a href="http://www.mhhe.com/economics/frankb/student_index.mhtml">http://www.mhhe.com/economics/frankb/student_index.mhtml</a><br /><br /><strong>STATISTICS :</strong><br /><a href="http://sofia.fhda.edu/gallery/statistics/index.html">http://sofia.fhda.edu/gallery/statistics/index.html</a><br /><a href="http://davidmlane.com/hyperstst/index.html">http://davidmlane.com/hyperstst/index.html</a><br /><a href="http://www.statsoft.com/textbook/stathome.html">http://www.statsoft.com/textbook/stathome.html</a><br /><br /><strong>BUSINESS ORGANISATION :</strong><br /><a href="http://www.personal.kent.edu/~mhogue/HRM.htm">http://www.personal.kent.edu/~mhogue/HRM.htm</a><br /><a href="http://www.managerialmarketing.com/">http://www.managerialmarketing.com/</a><br /><a href="http://ollie.dcccd.edu/mrkt2370/book/mrktbook.htm">http://ollie.dcccd.edu/mrkt2370/book/mrktbook.htm</a><br /><br /><span style="color:#cccccc;">(only information ; use u r own risk )</span>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-22482634097941874022008-07-25T23:07:00.000+05:302008-07-25T23:20:15.161+05:30Tutorials --- site address :<span style="font-size:130%;"><strong></strong></span><br /><span style="color:#cccccc;"><strong>(Plz use right button.. Open in New Window)</strong><br /></span><span style="font-size:130%;"><strong></strong></span><br /><span style="font-size:130%;"><strong>HTML</strong></span><br /><a href="http://www.htmlhelp.com/"><span style="font-size:130%;">www.htmlhelp.com</span></a><br /><a href="http://www.htmlgoodies.com/"><span style="font-size:130%;">www.htmlgoodies.com</span></a><br /><a href="http://www.pagersource.com/"><span style="font-size:130%;">www.pagersource.com</span></a><br /><br /><span style="font-size:130%;"><strong>PHP</strong></span><br /><a href="http://www.php.net/"><span style="font-size:130%;">www.php.net</span></a><br /><a href="http://www.phpbuilder.com/"><span style="font-size:130%;">www.phpbuilder.com</span></a><br /><a href="http://www.php-resources.com/"><span style="font-size:130%;">www.php-resources.com</span></a><br /><a href="http://www.phpfreaks.com/"><span style="font-size:130%;">www.phpfreaks.com</span></a><br /><br /><span style="font-size:130%;"><strong>.Net</strong></span><br /><a href="http://www.asp.net/"><span style="font-size:130%;">www.asp.net</span></a><br /><a href="http://www.worldofasp.net/"><span style="font-size:130%;">www.worldofasp.net</span></a><br /><a href="http://www.programmingtutorials.com/asp.net.aspx"><span style="font-size:130%;">www.programmingtutorials.com/asp.net.aspx</span></a><br /><a href="http://samples.gotdotnet.com/quickstart.aspplus/"><span style="font-size:130%;">http://samples.gotdotnet.com/quickstart.aspplus/</span></a><br /><a href="http://www.msdn.microsoft.com/asp.net/articles"><span style="font-size:130%;">www.msdn.microsoft.com/asp.net/articles</span></a><br /><a href="http://www.dotnetjunkies.com/"><span style="font-size:130%;">www.dotnetjunkies.com</span></a><br /><a href="http://www.codeproject.com/aspnet/"><span style="font-size:130%;">www.codeproject.com/aspnet/</span></a><br /><a href="http://www.learnasp.com/"><span style="font-size:130%;">www.learnasp.com</span></a><br /><a href="http://www.aspnet.4guysfromrolla.com/"><span style="font-size:130%;">www.aspnet.4guysfromrolla.com</span></a><br /><a href="http://www.functionx.com/csharp"><span style="font-size:130%;">www.functionx.com/csharp</span></a><br /><a href="http://www.example-code.com/"><span style="font-size:130%;">www.example-code.com</span></a><br /><a href="http://www.dotnetspider.com/"><span style="font-size:130%;">www.dotnetspider.com</span></a><br /><a href="http://www.rustemsoft.com/"><span style="font-size:130%;">www.rustemsoft.com</span></a><br /><a href="http://www.datagridgirl.com/"><span style="font-size:130%;">www.datagridgirl.com</span></a><br /><br /><span style="font-size:130%;"><strong>JAVA,JSP</strong></span><br /><a href="http://www.sun.com/javascript/"><span style="font-size:130%;">www.sun.com/javascript/</span></a><br /><a href="http://www.javascriptworld.co/"><span style="font-size:130%;">www.javascriptworld.co</span></a><span style="font-size:130%;"> </span><br /><a href="http://www.javascript.com/"><span style="font-size:130%;">www.javascript.com</span></a><br /><br /><span style="font-size:130%;"><strong>XML</strong></span><br /><a href="http://www.xml.org/"><span style="font-size:130%;">www.xml.org</span></a><br /><a href="http://www.toxml.com/"><span style="font-size:130%;">www.toxml.com</span></a><br /><a href="http://www.xmlinfo.com/"><span style="font-size:130%;">www.xmlinfo.com</span></a><br /><a href="http://www.xmlpitstop.com/"><span style="font-size:130%;">www.xmlpitstop.com</span></a><br /><br /><span style="font-size:130%;"><strong>PERL</strong></span><br /><a href="http://www.perl.org/"><span style="font-size:130%;">www.perl.org</span></a><br /><a href="http://www.perlmonks.com/"><span style="font-size:130%;">www.perlmonks.com</span></a><br /><a href="http://www.theperlreview.com/"><span style="font-size:130%;">www.theperlreview.com</span></a><br /><a href="http://www.perlcast.com/"><span style="font-size:130%;">ww.perlcast.com</span></a><br /><br /><span style="font-size:130%;"><strong>All Languages</strong></span><br /><a href="http://www.w3c.org/"><span style="font-size:130%;">www.w3c.org</span></a><br /><a href="http://www.w3schools.com/"><span style="font-size:130%;">www.w3schools.com</span></a><br /><a href="http://www.webdeveloper.com/"><span style="font-size:130%;">www.webdeveloper.com</span></a><br /><a href="http://www.programmersheaven.com/"><span style="font-size:130%;">www.programmersheaven.com</span></a><br /><a href="http://www.opendeveloper.com/"><span style="font-size:130%;">www.opendeveloper.com</span></a><br /><a href="http://www.programmingtutorials.com/"><span style="font-size:130%;">www.programmingtutorials.com</span></a><br /><br /><span style="font-size:130%;"><strong>Interview Questions:</strong></span><br /><a href="http://www.techpreparation.com/"><span style="font-size:130%;">www.techpreparation.com</span></a><br /><a href="http://www.t-mug.org/Interview_Net.aspx"><span style="font-size:130%;">www.t-mug.org/Interview_Net.aspx</span></a><br /><a href="http://www.interviews.com/"><span style="font-size:130%;">www.interviews.com</span></a><br /><a href="http://www.auinterview.com/"><span style="font-size:130%;">ww.auinterview.com</span></a><br /><a href="http://www.c/#friends.com"><span style="font-size:130%;">www.c#friends.com</span></a><br /><a href="http://msconline.maconstate.edu/tutorials"><span style="font-size:130%;">http://msconline.maconstate.edu/tutorials</span></a><br /><a href="http://www.megasolutions.net/qs/Ado_Net_Interview_Question.aspx"><span style="font-size:130%;">www.megasolutions.net/qs/Ado_Net_Interview_Question.aspx</span></a><br /><a href="http://kmr4u.tripod.com/dotnetfaq.html"><span style="font-size:130%;">http://kmr4u.tripod.com/dotnetfaq.html</span></a><br /><a href="http://kmr4u.tripod.com/dotnetlinks.htm"><span style="font-size:130%;">http://kmr4u.tripod.com/dotnetlinks.htm</span></a><br /><br /><span style="font-size:130%;"><strong>Code Translator :</strong></span><br /><a href="http://www.carlosag.net/Tools?CodeTranslator/Default.aspx"><span style="font-size:130%;">www.carlosag.net/Tools?CodeTranslator/Default.aspx</span></a><br /><br /><span style="font-size:130%;"><strong>e-books :</strong></span><br /><a href="http://hreecomputerbooks.com/"><span style="font-size:130%;">http://hreecomputerbooks.com/</span></a><br /><a href="http://www.freetechbooks.com/"><span style="font-size:130%;">www.freetechbooks.com</span></a><br /><span style="font-size:130%;"></span><br /><span style="font-size:130%;"></span><br /><span style="color:#cccccc;">(only information ; use u r own risk )</span><br /><br /><br /><span style="font-size:130%;"></span>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com0tag:blogger.com,1999:blog-725485946854446277.post-37337793640916582762008-07-24T10:10:00.000+05:302008-07-24T10:21:56.447+05:30Job sites :<strong><span style="font-size:130%;color:#cccccc;"> </span></strong><br /><strong><span style="font-size:130%;color:#cccccc;"></span></strong><br /><strong><span style="font-size:130%;color:#cccccc;">(Plz use right button.. Open in New Window)</span></strong><br /><br /><a href="http://www.monsterindia.com/"><span style="font-size:130%;"><strong>www.monsterindia.com</strong></span></a><br /><a href="http://www.clickjobs.com/"><span style="font-size:130%;"><strong>www.clickjobs.com</strong></span></a><br /><a href="http://www.naukri.com/"><span style="font-size:130%;"><strong>www.naukri.com</strong></span></a><br /><a href="http://www.jobsomega.com/"><span style="font-size:130%;"><strong>www.jobsomega.com</strong></span></a><br /><a href="http://www.jobscafe.com/"><span style="font-size:130%;"><strong>www.jobscafe.com</strong></span></a><br /><a href="http://www.clickscareer.com/"><span style="font-size:130%;"><strong>www.clickscareer.com</strong></span></a><br /><a href="http://www.jobsdream.com/"><span style="font-size:130%;"><strong>www.jobsdream.com</strong></span></a><br /><a href="http://www.timesjobs.com/"><span style="font-size:130%;"><strong>www.timesjobs.com</strong></span></a><br /><br /><span style="font-size:130%;color:#ff9900;"><strong><em>Middle-East :</em></strong></span><br /><span style="font-size:130%;"><strong><br /></strong></span><a href="http://www.careercentre.ae/"><span style="font-size:130%;"><strong>www.careercentre.ae</strong></span></a><br /><a href="http://www.godubai.com/jobs"><span style="font-size:130%;"><strong>www.godubai.com/jobs</strong></span></a><br /><a href="http://www.e-search.com/"><span style="font-size:130%;"><strong>www.e-search.com</strong></span></a><br /><a href="http://www.careeruae.net/"><span style="font-size:130%;"><strong>www.careeruae.net</strong></span></a><br /><a href="http://www.jobs-me.com/"><span style="font-size:130%;"><strong>www.jobs-me.com</strong></span></a><br /><a href="http://www.tagirecruitment.com/"><span style="font-size:130%;"><strong>www.tagirecruitment.com</strong></span></a><br /><a href="http://www.kogcareers.com/"><span style="font-size:130%;"><strong>www.kogcareers.com</strong></span></a><br /><a href="http://www.kershawleonard.net/"><span style="font-size:130%;"><strong>www.kershawleonard.net</strong></span></a><br /><a href="http://www.talentdubai.com/"><span style="font-size:130%;"><strong>www.talentdubai.com</strong></span></a><br /><a href="http://www.bacme.com/"><span style="font-size:130%;"><strong>www.bacme.com</strong></span></a><br /><a href="http://www.clarendonparker.com/"><span style="font-size:130%;"><strong>www.clarendonparker.com</strong></span></a><br /><a href="http://www.iqselection.com/"><span style="font-size:130%;"><strong>www.iQselection.com</strong></span></a><br /><a href="http://www.hyderconsulting.com/"><span style="font-size:130%;"><strong>www.hyderconsulting.com</strong></span></a><br /><a href="http://www.jobscan.ae/"><span style="font-size:130%;"><strong>www.jobscan.ae</strong></span></a><br /><a href="http://www.peoplesource-me.com/"><span style="font-size:130%;"><strong>www.peoplesource-me.com</strong></span></a><a href="http://www.charterhouseme.ae/"><span style="font-size:130%;"><strong>www.charterhouseme.ae</strong></span></a><br /><a href="http://www.mindfieldresources.com/"><span style="font-size:130%;"><strong>www.mindfieldresources.com</strong></span></a><br /><span style="font-size:130%;"><strong>http:\\sosrecruitment.net</strong></span><br /><a href="http://www.ecg.ae/careers"><span style="font-size:130%;"><strong>www.ecg.ae\careers</strong></span></a><br /><a href="http://www.careerlinedubai.com/"><span style="font-size:130%;"><strong>www.careerlinedubai.com</strong></span></a><br /><a href="http://www.jobtrackme.com/"><span style="font-size:130%;"><strong>www.jobtrackme.com</strong></span></a><br /><a href="http://www.synergy.ae/"><span style="font-size:130%;"><strong>www.synergy.ae</strong></span></a><br /><a href="http://www.futurefocusdubai.com/"><span style="font-size:130%;"><strong>www.futurefocusdubai.com</strong></span></a><br /><a href="http://www.naukridubai.com/"><span style="font-size:130%;"><strong>www.naukridubai.com</strong></span></a><br /><a href="http://www.tensor.ae/"><span style="font-size:130%;"><strong>www.tensor.ae</strong></span></a><br /><a href="http://www.rajunited.ae/"><span style="font-size:130%;"><strong>www.rajunited.ae</strong></span></a><br /><a href="http://www.interfaceuae.com/"><span style="font-size:130%;"><strong>www.interfaceuae.com</strong></span></a><br /><a href="http://www.adeccome.com/"><span style="font-size:130%;"><strong>www.adeccome.com</strong></span></a><br /><a href="http://www.jobs-me.com/"><span style="font-size:130%;"><strong>www.jobs-me.com</strong></span></a><br /><a href="http://www.faircomhr.com/"><span style="font-size:130%;"><strong>www.faircomhr.com</strong></span></a><br /><a href="http://www.hruae.com/"><span style="font-size:130%;"><strong>www.hruae.com</strong></span></a><br /><a href="http://www.dulscojobs.com/"><span style="font-size:130%;"><strong>www.dulscojobs.com</strong></span></a><br /><a href="http://www.teledatame.com/"><span style="font-size:130%;"><strong>www.teledatame.com</strong></span></a><br /><a href="http://www.haya.com/"><span style="font-size:130%;"><strong>www.haya.com</strong></span></a><br /><a href="http://www.alignrecruitment.com/"><span style="font-size:130%;"><strong>www.alignrecruitment.com</strong></span></a><br /><a href="http://www.careermideast.com/"><span style="font-size:130%;"><strong>www.careermideast.com</strong></span></a><br /><strong></strong><br /><br /><strong><span style="color:#cccccc;">(only information ; use u r own risk )</span></strong>ഷിബു മാത്യു ഈശോ തെക്കേടത്ത്http://www.blogger.com/profile/02854026187041493461noreply@blogger.com1