<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7044132808532711075</id><updated>2012-01-16T02:32:14.320-08:00</updated><category term='Vista'/><category term='CLR'/><category term='IIS 7'/><category term='VisualStudio 2010'/><category term='net'/><category term='AJAX'/><category term='ReportViewer'/><category term='XML'/><category term='VisualStudio 2008'/><category term='ASP.NET'/><category term='ADO.NET'/><category term='C#'/><category term='DataSet Editor'/><category term='SERVICE BROKER'/><category term='AntiXSS'/><category term='IIS 6'/><category term='IE8'/><category term='SQL SERVER'/><category term='TeamFoundation Server'/><category term='UrlScan'/><category term='JavaScript'/><category term='SSIS'/><category term='DEP'/><category term='.NET'/><category term='cross-page postback'/><title type='text'>Kuido tehnokajam</title><subtitle type='html'>ASP.NET, MS SQL SERVER, SSIS, C#, VisualStudio, CLR</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kuidoveeb.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default?start-index=101&amp;max-results=100'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>101</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8738279931085308961</id><published>2012-01-12T07:47:00.000-08:00</published><updated>2012-01-16T02:32:14.329-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AntiXSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>AntiXSS 4.2 teegi uuendamisprobleem</title><summary type='text'>Võib juhtuda, et AntiXSS library 4.2 mis 10.jaanuaril 2012 veaparandusteatega välja tuli hakkab rakenduses peale värskendamist kisama:
..AntiXSS ..  The located assembly's manifest definition does not match the assembly reference ..ja probleemist ei saa lahti ei viidete(reference) eemaldamise ega värskendamisega

Üks veapõhus võib olla see, et teegi seadetes































on </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8738279931085308961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8738279931085308961'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2012/01/antixss-42-teegi-uuendamisprobleem.html' title='AntiXSS 4.2 teegi uuendamisprobleem'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-v01Jv7y-nvQ/Tw7_uHzLSjI/AAAAAAAAANQ/qpf4IdeZ1ac/s72-c/AntiXSS40.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8779536016102537797</id><published>2011-12-30T03:52:00.000-08:00</published><updated>2011-12-30T03:53:17.163-08:00</updated><title type='text'>Räsitabeli kollisioonirünnak</title><summary type='text'>On avastatud , et POST parameetrid, mida sirvik serverise tagasi saadab võimaldavad spetsiaalselt koostatult põhjustada (mitte ainult ASP.NET vaid ka teistes keeltes) teenustõkestusründe veebiserverile.


Paigalduspakket tuli üsna nobedalt välja, pikemalt kirjutab Scott Guthrie oma kajamis.

Samas ka hea põhjus lisaks üle kontrollida, kas veebilehel on vaja ViewState säilitada.
ViewState </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8779536016102537797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8779536016102537797'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/12/rasitabeli-kollisioonirunnak.html' title='Räsitabeli kollisioonirünnak'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1509717276396016657</id><published>2011-11-11T10:42:00.000-08:00</published><updated>2011-11-11T10:42:11.883-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='net'/><title type='text'>netstat -obf</title><summary type='text'>Käsurealt:

netstat -obf 

Näeb midagi programeerjale arusaadavat, mis programmid ja kuhu võrku nad sul arvutist ühenduvad

netstat -obf 5

paneb iga 5 sekundi järel küsima</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1509717276396016657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1509717276396016657'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/11/netstat-obf.html' title='netstat -obf'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-24661696631324219</id><published>2011-11-04T09:12:00.000-07:00</published><updated>2011-11-04T11:58:34.897-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><title type='text'>Named Template tegemine XSL abil</title><summary type='text'>Kui on XML dokumendis samas struktuuriga tippe mida vaja teise dokumenti teisendada sobis selleks named
template kasutamine. Lähtedokumendis selline osa sees mida vaja teisendada:

&lt;DocumentParties&gt;
      &lt;BuyerParty context="partner"&gt;
        &lt;PartyCode&gt;RISMA&lt;/PartyCode&gt;
        &lt;Name&gt;RISMA Peremarket AS&lt;/Name&gt;
      &lt;/BuyerParty&gt;
      &lt;OrderParty context="partner"&gt;
        &lt;PartyCode&gt;RISMA_200</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/24661696631324219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/24661696631324219'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/11/named-template-tegemine-xsl-abil.html' title='Named Template tegemine XSL abil'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1600019126696984567</id><published>2011-10-21T06:22:00.000-07:00</published><updated>2011-10-21T06:22:36.530-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VisualStudio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><title type='text'>Tühik ja reavahe XSL stylesheedil põhjustavad veateate xsl:attribute korral</title><summary type='text'>XSL stylesheedi rakendamisel annab VisualStudio2010 vea

Attribute and namespace nodes cannot be added to the parent element after a text, comment, pi, or sub-element node has already been added 
Vea põhjuseks võivad olla ka reavahetus/tühikud elementide vahel

    &lt;Invoice languageId="" templateId="" channelId="" factoring="" regNumber="" serviceId="" channelAddress=""&gt;         
        &lt;xsl:</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1600019126696984567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1600019126696984567'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/10/tuhik-ja-reavahe-xsl-stylesheedile.html' title='Tühik ja reavahe XSL stylesheedil põhjustavad veateate xsl:attribute korral'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6108919254407588582</id><published>2011-08-26T00:08:00.000-07:00</published><updated>2011-08-26T00:08:36.644-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Andmebaasi ühel väljal andmete uuendamise keelamise käsu süntaks</title><summary type='text'>Vaja keelata, et üks andmebaasi roll ei saa muuta tabeli ühte välja
Süntaks siis selline:

DENY UPDATE(COMMENT) ON OBJECT::DBO.APPLICATION TO TENANT 

Keelab andmete muutmise (UPDATE) tabeli APPLICATION väljal COMMENT andmebaasi rollile TENANT
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6108919254407588582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6108919254407588582'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/08/andmebaasi-uhel-valjal-andmete.html' title='Andmebaasi ühel väljal andmete uuendamise keelamise käsu süntaks'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4102379228545341389</id><published>2011-06-07T14:23:00.000-07:00</published><updated>2011-06-07T14:52:40.089-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Trigeri pinu</title><summary type='text'>Mõnikord vaja teada, mis protseduur või SQL lausend põhjustab trigeri käivitamise
Trigeri pinu(trigger call-stack) teadasaamiseks saab kasutada DBCC INPUTBUFFER funktsiooni.

DML trigeri koodinäide

-- Püüame objekti ID kinni, kust trigeri väljakutse tehti DBCC INPUTBUFFER funktsiooni jaoks
DECLARE @temp2 NVARCHAR(4000), @temp NVARCHAR(MAX), @reqid INT
SET @reqid = ( SELECT request_id FROM </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4102379228545341389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4102379228545341389'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/06/trigeri-pinu.html' title='Trigeri pinu'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-7902834129388590750</id><published>2011-03-20T15:12:00.000-07:00</published><updated>2011-03-20T15:22:14.356-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ReportViewer'/><title type='text'>Dataseti sisseandmine ReportViewer 2010 aruandele</title><summary type='text'>ReportViewer 2010-ga loodud aruandele on Datasettide sisseandmine programmi koodis tehtud lihtsamaks. Aruande dataseti dünaamiliseks etteandmiseks piisab tema nime teadmisestC# koodis aruandele koodi külgepanek käib nii //Kuna on ReportViewer2010 aruanne siis datasource külge panemine käib läbi DatSeti nime "DataSetApplications"                            </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7902834129388590750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7902834129388590750'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/03/dataseti-sisseandmine-reportviewer-2010.html' title='Dataseti sisseandmine ReportViewer 2010 aruandele'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-iMwRhX-Y0kA/TYZ9QOL6zII/AAAAAAAAAMw/5EaZQQcR9HE/s72-c/ReportViewer2010.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2246136498032087609</id><published>2011-02-07T02:45:00.001-08:00</published><updated>2011-02-07T02:48:46.905-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Teksti jagamine stringimassiiviks</title><summary type='text'>muutujas htext on reavahetustega tekstesimene ridateine ridakolmas ridaMasiivi saab temast teha, hea lihtne kirjutadastring[] slehed = htext.Split(new string[] { "\r\n", "|" }, StringSplitOptions.RemoveEmptyEntries);"\r\n", "|" on realõpu tunnused, ehk massiiviks tehakse ka stringesimene rida|teine rida|kolmas rida</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2246136498032087609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2246136498032087609'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2011/02/teksti-jagamine-stringimassiiviks.html' title='Teksti jagamine stringimassiiviks'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6541988557238089311</id><published>2010-12-21T00:58:00.000-08:00</published><updated>2010-12-21T05:28:07.703-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>https päring SQL serveri CLR protseduurist</title><summary type='text'>Igasugu asju võimaldatakse ka andmebaasis teha CLR-iga aga kui vaja teha sertifikaadikindel https postitus võib seda teha nii.Et serveri sertifikaatide veateadetest lahti saada tuleb kasutadaServicePointManager.ServerCertificateValidationCallback meetodi ülekirjutamistusing System.Security.Cryptography.X509Certificates;using System.Net.Security;using System.Net;using System.IO;private static bool</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6541988557238089311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6541988557238089311'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/12/https-paring-sql-serveri-clr.html' title='https päring SQL serveri CLR protseduurist'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2884805185911122622</id><published>2010-10-29T07:37:00.000-07:00</published><updated>2010-11-04T07:34:01.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>AjaxToolkit NotBot extender näitab osadele BruteForce tööriistadele trääsa</title><summary type='text'>Alates ASP.NET 3.5 versioonist ka Ajax NotBot extender olemas. Kasutada saab näiteks BruteForce tööriistade vastu, mis salasõnade äraarvamisega süsteemi sisse pääseda püüavad.Päringute arve piiramine(RequestRateLimiting) aitab ka siin nagu tavaliselt alati.Peale extenderi vormile lohistamist saab mängida peamiselt kolme parameetrigaResponseMinimumDelaySeconds="3"  tähendab seda, et peale </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2884805185911122622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2884805185911122622'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/10/ajaxtoolkit-notbot-extender-naitab.html' title='AjaxToolkit NotBot extender näitab osadele BruteForce tööriistadele trääsa'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4987099588987567126</id><published>2010-10-22T14:59:00.000-07:00</published><updated>2010-10-22T15:24:55.048-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7'/><title type='text'>applicationHost.config faili asukoht 32-bitistel arvutitel</title><summary type='text'>Asub siinC:\Windows\System32\inetsrv\configKui hakkad IIS7 all näiteks web.config faili RequestFiltering sektsioonisisse kirjutama ja pistab kisama, a'laThis configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4987099588987567126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4987099588987567126'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/10/applicationhostconfig-faili-asukoht-32.html' title='applicationHost.config faili asukoht 32-bitistel arvutitel'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1880701367009286502</id><published>2010-10-11T06:58:00.000-07:00</published><updated>2010-11-04T23:55:45.171-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Kuupäeva pp.kk.aaaa formaadipööramine</title><summary type='text'>Ei meeldi .NET-ile pp.kk.aaaa kuupäeva formaat, igalt poolt võib hakata exceptioneid pilduma, usaldusväärsust lisab fikseeritud formaatidega tüübipööraminestring kuupaevatekst="23.10.2010";DateTime arvekuupaev;string[] formaat = new string[4];formaat[0] = "yyyy-MM-dd"; //.NET standardformaatformaat[1] = "MM.dd.yyyy";formaat[2] = "dd.MM.yyyy"; //meie kullakallis pp.kk.aaaaformaat[3] = "yyyyMMdd"; </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1880701367009286502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1880701367009286502'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/10/kuupaeva-ppkkaaaa-formaadipooramine.html' title='Kuupäeva pp.kk.aaaa formaadipööramine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-916063296782228040</id><published>2010-10-05T07:29:00.000-07:00</published><updated>2012-01-12T07:49:02.645-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AntiXSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>GetSafeHtmlFragment AntiXSS 4.0 Librarys on nüüd Sanitizer klassis</title><summary type='text'>Valget nimekirja kasutavas Anti-Cross Site Scripting Library V4.0
http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=f4cd231b-7e06-445b-bec7-343e5884e651
on GetSafeHtmlFragment meetod nüüd Sanitizer klassis endise AntiXss klassi asemel.
Sanitizer klassi meetodid GetSafeHtml ja GetSafeHtmlFragment vaatavad sisendit
Principle of Inclusions põhimõtte järgi ja kui leitakse midagi, mis </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/916063296782228040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/916063296782228040'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/10/getsafehtmlfragment-antixss-40.html' title='GetSafeHtmlFragment AntiXSS 4.0 Librarys on nüüd Sanitizer klassis'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3004797090191129556</id><published>2010-09-29T00:36:00.000-07:00</published><updated>2010-09-29T00:50:44.565-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>MS10-070 ASP.NET Padding Oracle turvapaik muudab IIS7 peal ScriptResource.axd ja WebResource.axd pöördumise URL-i pikemaks</title><summary type='text'>Peale patchi rakendamist, ei pruugi veebirakendus enam töödatahttp://www.dt.ee/blog/kood/net/2010/09/kriitilise-tahtsusega-turvapaik-aspnet-jaoksMuudatus, mis patchiga tuleb on see, et kui kasutad RequestFilteringi siis suurenda MaxUrli pikkust. WebResource.axd ja ScriptResource.axd poole pöördumised on nüüd pikemad&lt;location path="WebResource.axd"&gt;  &lt;system.webServer&gt;   &lt;security&gt;    &lt;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3004797090191129556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3004797090191129556'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/09/ms10-070-aspnet-padding-oracle.html' title='MS10-070 ASP.NET Padding Oracle turvapaik muudab IIS7 peal ScriptResource.axd ja WebResource.axd pöördumise URL-i pikemaks'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1996437896821507757</id><published>2010-09-21T00:39:00.000-07:00</published><updated>2010-09-21T22:54:39.917-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Pimesüstimisautomaadi takistamine veateate edastamise juhusliku viivitamisega</title><summary type='text'>Blind Injection (pimesüstimine) on meetod kus serverisse saadud päringu vastusest ei loe otse välja sind huvitavat infot vaid selle teadasaamiskes tuleb kasutada meetodid, kus näiteks kontrollitakse, kas veateade tuli või ei tulnud.Pimesüstimise erijuhtum on ajaliselt vastuse saabumise mõõtmine.Mõned SQL pimesüstimise meetodid on mul kirjeldatud Arvutimaailma artikliswww.am.ee/sqlRündaja elu saab</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1996437896821507757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1996437896821507757'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/09/pimesustimisautomaadi-takistamine.html' title='Pimesüstimisautomaadi takistamine veateate edastamise juhusliku viivitamisega'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2702830643570920750</id><published>2010-08-19T07:02:00.000-07:00</published><updated>2010-08-19T16:23:56.821-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Mitte iga pakkfaili op.süsteemi käsurea käsku ei saa SQL SERVER-i tööna jooksutada</title><summary type='text'>Vaja näiteks andmebaasi tööna käima tõmmata pakkfail.Seadistab SQL Server Agent-i alt töö ära Type = Operating System (CmdExec)  ja tõmbab pakkfaili sisu Command aknasse sisse (asja mõte kustutada D:\TEMP kataloogist kõid PDF ja DOC failid)d:cd \tempdel *.pdfdel *.docaga töö jooksutamisel tuleb selline viga etteThe process could not be created for step 1 of job 0x... (reason: 5).  The step </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2702830643570920750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2702830643570920750'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/08/mitte-iga-pakkfaili-opsusteemi-kasurea.html' title='Mitte iga pakkfaili op.süsteemi käsurea käsku ei saa SQL SERVER-i tööna jooksutada'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8334681172836416640</id><published>2010-08-17T01:07:00.000-07:00</published><updated>2010-08-17T01:19:38.974-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE8'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>pages smartNavigation="True" IE8-ga enam ei tööta</title><summary type='text'>Juba alates .NET 2.0 on smartNavigation="True" direktiiv ebasoovitav aga ASP.NET 4.0 ja IE8 teeb nüüd web.config failis pages sektsioonis smartNavigation="True" kasutamise võimatuks, kuna IE8 sirvides veebilehed enem ei tööta ja loobivad erinevaid vigu ette.Samas Firefox, Opera, Safari ei kobise smartNavigation="True" peale midagi.Lahendus on kasutada uuemat direktiivi </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8334681172836416640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8334681172836416640'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/08/pages-smartnavigationtrue-ie8-ga-enam.html' title='pages smartNavigation=&quot;True&quot; IE8-ga enam ei tööta'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3348021786011157596</id><published>2010-08-06T10:22:00.000-07:00</published><updated>2010-08-06T10:32:15.035-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='VisualStudio 2010'/><title type='text'>VisualStudio 2010 debugeri käima ajamine JavaScripti jaoks IE8-ga</title><summary type='text'>Kui mingil põhjusel ei debugi JavaScripti VisualStudio 2010 all ja oled kontrollinud,et nii IE8 seadetest Options -&gt; Advanced -&gt; Browsing -&gt; märkeruut "Disable Script debugging" on maha võetud ja VisualStudio2010 Solution Property Pages -&gt; Start Options on degugimine märgitud nii nagu vaja aga ikka keeldub JavaScripti silumast võib abi olla sõna"debugger" kirjutamisest otse JavaScripti koodi no </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3348021786011157596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3348021786011157596'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/08/javascripti-debugeri-kaima-ajamine-ie8.html' title='VisualStudio 2010 debugeri käima ajamine JavaScripti jaoks IE8-ga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4196220667482246269</id><published>2010-06-08T03:20:00.000-07:00</published><updated>2010-06-08T04:09:54.844-07:00</updated><title type='text'>ScriptManageri  EnableHistory="true" töötamine IE8 peal</title><summary type='text'>Kõik nagu õieti tehtud&lt;asp:scriptmanager id="ScriptManager1" runat="server" enablehistory="true" enablesecurehistorystate="true" &gt;&lt;/asp:scriptmanager&gt;aga IE8 peal hakkab kisama selliseid vigu, kollane hüüumärk all vasaskus servasSys.InvalidOperationException: For the history feature to work in IE, the page must have an iFrame element with id '__historyFrame' pointed to a page that gets its title </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4196220667482246269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4196220667482246269'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/06/scriptmanageri-enablehistorytrue.html' title='ScriptManageri  EnableHistory=&quot;true&quot; töötamine IE8 peal'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5783756145503662383</id><published>2010-06-02T05:19:00.000-07:00</published><updated>2010-06-02T06:55:26.458-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADO.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>DBCC FREEPROCCACHE kaudu läbi ADO.NET kaudu salvestatud protseduuri jooksutamisele vungi sisseandmine</title><summary type='text'>Kui selline juhtum, et tõmbad salvestautd protseduuri Management Studio kaudu käima töötab asi kiiresti. Sama asi aga ASP.NET rakenduses läbi ADO.NET välja kutsudes jube aeglane, põhimõtteliselt ei töötagi siis saab asjale vunki juurde anda, kui MS SQL SERVER-is korra protseduuride vahemälu tühjaks tõmmataDBCC FREEPROCCACHEHoiatatakse küll, et ärge kasutage aga lõpptulemusena saad ka läbi ADO.NET</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5783756145503662383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5783756145503662383'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/06/dbcc-freeproccache-kaudu-labi-adonet.html' title='DBCC FREEPROCCACHE kaudu läbi ADO.NET kaudu salvestatud protseduuri jooksutamisele vungi sisseandmine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4933486550385107566</id><published>2010-05-18T01:08:00.000-07:00</published><updated>2010-05-18T06:28:15.549-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 6'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7'/><title type='text'>ConnectionString seadete ülevõtmine virtuaalkataloogide puhul</title><summary type='text'>On veebirakendus ja IIS-i peale teed samale rakendusele juurde VirtualDirectory kuhu paned samast rakendusest teise koopia käima kui Virtuaalrakenduse (Virtual Application). Vaja aga, et VirtualDirectorys olev rakendus võtaks teise andmebaasi külge. Kui seda teha "location" parameetriga  260     &lt;location path="DEMO"&gt;          261         &lt;connectionStrings&gt;  263 &lt;add name="TkConnectionString" </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4933486550385107566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4933486550385107566'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/05/connectionstring-seadete-ulevotmine.html' title='ConnectionString seadete ülevõtmine virtuaalkataloogide puhul'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8865474010902548766</id><published>2010-04-08T08:29:00.000-07:00</published><updated>2010-04-09T08:39:08.321-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE8'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>IE-l on Request.UrlReferrer null JavaScriptiga ümbersuunamise puhul</title><summary type='text'>IE9 puhul lubatakse juba muudatust aga kui vaja teha nii, et ekraanile tuleb JavaScripti alert kast ja peale seda minnakse teisele veebilehelestring scriptString = "&lt;script type=text/javascript&gt; alert('"Uuele lehele "');window.location='UusLeht.aspx';&lt;/script&gt;";window.location='UusLeht.aspx' teeb ümbersuunamistlisame JavaScripti dünaamiliselt leheleif (!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8865474010902548766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8865474010902548766'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/04/ie-l-on-requesturlreferrer-null.html' title='IE-l on Request.UrlReferrer null JavaScriptiga ümbersuunamise puhul'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6523687482374361097</id><published>2010-03-16T05:39:00.000-07:00</published><updated>2010-03-16T06:18:03.436-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ReportViewer'/><title type='text'>Fondi tingimuslik muutmine ReportViewer controlis</title><summary type='text'>Vaja näiteks mingil tingimusel väljatrükil teksti paksus kirjas näidata. Asi  muidu lihtne, vastava Controli koha peal võtad Properties ja Fontja klikid Fx nupule, kogu edasine tarkus selles, et fondi nimi tuleb panna jutumärkide "" vahele=IIf(Fields!GUARANTEE_MONEY.Value &gt; Fields!GUARANTEE_MONEY_PAID.Value,"Bold","Normal")Kui jutumärke ei pane saad kompileerimisel veateateThe FontWeight </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6523687482374361097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6523687482374361097'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/03/fondi-tingimuslik-muutmine-reportviewer.html' title='Fondi tingimuslik muutmine ReportViewer controlis'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_onv2sEMG8eA/S598_kimhNI/AAAAAAAAAL4/q7BQ2VY-FyY/s72-c/ReportViewerFont.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3851853191913400103</id><published>2010-03-10T00:50:00.000-08:00</published><updated>2010-03-10T01:02:08.057-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Kustutamine tabelmuutujast SELF-CORRELATED päringuga</title><summary type='text'>Süntaks selline, et viitamisel tuleb tabelmuutuja nimi panna [  ]   kandiliste sulgude sisseDELETE FROM @lepingud WHERE EXISTS( SELECT OP_LOG.CONTRACTS_ID FROM dbo.OP_LOGWHERE OP_LOG.TEXT_TITLES_ID = 49 AND OP_LOG.CONTRACTS_ID = [@lepingud].CONTRACTS_ID )</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3851853191913400103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3851853191913400103'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/03/kustutamine-tabelmuutujast-self.html' title='Kustutamine tabelmuutujast SELF-CORRELATED päringuga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4270690873660734192</id><published>2010-03-05T01:26:00.000-08:00</published><updated>2010-03-05T01:37:17.346-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>LinkedServeri konfigureerimine ilma IP aadressita</title><summary type='text'>Kui kaks SQL SERVER-it vaja omavahel kokku panna siis saab Linked Serveri teha IP aadressi põhiselt. Management Studio alt Server Objects -&gt; Linked Servers -&gt; New ja LinkedServeri nimeks paned IP aadressi.Aga saab ka nii, et IP aadressi asemel võid kasutada näiteks nime, hea siis kui IP aadress peaks muutuma ei pea koodis tabelite juurde pöördumisi ümber kirjutama.Mudida tuleb Windows Serveril </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4270690873660734192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4270690873660734192'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/03/linkedserveri-konfigureerimine-ilma-ip.html' title='LinkedServeri konfigureerimine ilma IP aadressita'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-7266851737684482106</id><published>2010-03-01T09:12:00.000-08:00</published><updated>2010-03-05T01:26:24.526-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ReportViewer'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ReportVieweri andmetabeli sorteerimine .NET 3.5 korral</title><summary type='text'>Selline asi tuli seoses LINQ-iga ReportVieweril välja, et kui paneb dünaamiliselt ReportViewerileDataSource külge siis sai seal ka .NET2.0 korral kohe andmeid sorteeridadsReportsTableAdapters.RAPORT_KUIDO_STableAdapter ta = new dsReportsTableAdapters.RAPORT_KUIDO_STableAdapter();dsReports.RAPORT_KUIDO_SDataTable tb = new dsReports.RAPORT_KUIDO_SDataTable();ta.Fill(tb, begin, end);ja panid andmed </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7266851737684482106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7266851737684482106'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/03/reportvieweri-andmetabeli-sorteerimine.html' title='ReportVieweri andmetabeli sorteerimine .NET 3.5 korral'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8194091470029211658</id><published>2010-01-29T07:49:00.000-08:00</published><updated>2010-02-13T13:08:12.797-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 6'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='UrlScan'/><title type='text'>UrlScan ja IIS6 Enable default content page</title><summary type='text'>Üks asi juhtub, kui kasutad ISAPI filtrit UrlScan "valge nimekirja" režiimis ning kui annad seadistustes ette nimekirja lubatud faili laienditest mida IIS töödelda võib. ASP.NET rakenduse puhul näiteks:[AllowExtensions].png.jpg.gif.aspxsiis tekib robleem juhul, kui sul on IIS-i alt konfigureeritudWeb Site properties -&gt; Documents ja seal märgitudmärkeruut Enable default content page ja vaikimisi </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8194091470029211658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8194091470029211658'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/01/urlscan-ja-iis6-enable-default-content.html' title='UrlScan ja IIS6 Enable default content page'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-9114136077960020059</id><published>2010-01-27T03:40:00.000-08:00</published><updated>2010-01-27T05:44:19.986-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 6'/><category scheme='http://www.blogger.com/atom/ns#' term='UrlScan'/><title type='text'>UrlScan [AllowExtensions] ja CSS erinevate sirvikute korral</title><summary type='text'>Kui võtta UrlScani nimeline ISAPI veebifilter IIS6-e peale kasutusele ja määrata seadistuses, et töötame "Valge nimekirjaga" UseAllowExtensions=1 , ehk lubame ainult teatud laienditega faile alla tirida [AllowExtensions].gif.aspx.csssiis CSS failidega selline asi, et nende töötlemine sõltub sirvikust ja sellest, kas tegu on serveri või sirviku poolse kaskkaalaadistikuga (CSS).Flock 2.5.2, Firefox</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/9114136077960020059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/9114136077960020059'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/01/urlscan-allowextensions-ja-css.html' title='UrlScan [AllowExtensions] ja CSS erinevate sirvikute korral'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3291057466864254481</id><published>2010-01-25T02:41:00.000-08:00</published><updated>2010-01-25T02:48:57.414-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Otsi stringi SQL SERVER-i andmebaasist</title><summary type='text'>Kui enam meeles pole, mida kuhugi sai andmebaasi pandud siis otsimisel abiks järgnev skript:set nocount onDECLARE @pikkus INT, @rowID INT, @maxRowID INT, @sql NVARCHAR(4000), @searchValue NVARCHAR(100)SET @searchValue = 'ei tööta'  --seda otsitakseDECLARE @statements TABLE (rowID INT, SQLL NVARCHAR(MAX) COLLATE DATABASE_DEFAULT)CREATE TABLE #results (tableName NVARCHAR(250) COLLATE </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3291057466864254481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3291057466864254481'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/01/otsi-stringi-sql-serevr-i-andmebaasist.html' title='Otsi stringi SQL SERVER-i andmebaasist'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4834298679777480652</id><published>2010-01-21T03:21:00.000-08:00</published><updated>2010-04-08T12:13:34.257-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Request.UrlReferrer abil päringuketramise takistamine "Valge" nimekirja põhiselt</title><summary type='text'>Kui ei taha, et kõiksugu päringuketramist kasutavad vahendid (otsimootorid ja häkkerautomaadid) hakkavad sinu veebirakendust susima ja seal auke leidma võib kasutadameetodit, kus näiteks MasterPage sees kontrollid UrlReferrer sisu "Valge" nimekirja alusel.protected void Page_Load(object sender, EventArgs e){   if (!((this.Request.UrlReferrer.ToString().Contains("RakenduseRoll"))     || (</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4834298679777480652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4834298679777480652'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/01/requesturlreferrer-abil.html' title='Request.UrlReferrer abil päringuketramise takistamine &quot;Valge&quot; nimekirja põhiselt'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6741679113566852232</id><published>2010-01-13T01:39:00.000-08:00</published><updated>2010-01-14T02:28:52.380-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE8'/><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7'/><title type='text'>requestFiltering maxQueryString ja Sys.WebForms.PageRequestManager is null or not an object viga</title><summary type='text'>Selline hea tahtmine, et piirame IIS7 peal requestFilteringiga päringu pikkust mida IIS7 vastu võtabKui juhtub, et  IE8 hakkab veebilehele vasakul allääres näitama kollast hüüumärgiga kolmnurkatekstiga "Valmis, kuid lehel on tõrkeid" (Firefox 3.5.7, Opera 10.10 ja Safari 4.0.4 ei näita midagi kahtlast)ning kui selle hüüumärgiga kolmnurga peal topeltlikkida tuleb </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6741679113566852232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6741679113566852232'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/01/requestfiltering-maxquerystring-ja.html' title='requestFiltering maxQueryString ja Sys.WebForms.PageRequestManager is null or not an object viga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_onv2sEMG8eA/S02YefkFwtI/AAAAAAAAALQ/WDkQF0phMmI/s72-c/IIS7MaxQueryString.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-7412408696116676953</id><published>2010-01-05T00:54:00.000-08:00</published><updated>2010-03-16T06:20:15.371-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQLSERVER loginid nõrkade salakoodidega</title><summary type='text'>Otsib välja need SQL SERVER-i loginid, mille salakood on etteantud nimekirjas või salakoodiks on kasutajatunnus või kasutajatunnus pööratultKäivitage skript ning olge loov, julm ja metoodiline nõrkuste ravimisel. Ärge halastage kellelegi !! USE [master]DECLARE @WeakPwdList TABLE(WeakPwd NVARCHAR(255) COLLATE DATABASE_DEFAULT )--Nõrkade salakoodide nimekiri--@@Name on selleks, et testida kas </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7412408696116676953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7412408696116676953'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2010/01/sqlserver-loginid-norkade-salakoodidega.html' title='SQLSERVER loginid nõrkade salakoodidega'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5295398206708166489</id><published>2009-12-30T01:32:00.000-08:00</published><updated>2010-01-04T05:52:16.697-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Kes, kuna, kuidas, milleks ja kust (IP aadressiga) on andmebaasi küljes</title><summary type='text'>Abiks järgnev päringSELECT dm_exec_sessions.session_id, dm_exec_sessions.status, dm_exec_sessions.login_name, dm_exec_sessions.original_login_name, dm_exec_connections.net_transport, dm_exec_connections.connect_time, dm_exec_sessions.login_time, dm_exec_connections.protocol_type, dm_exec_connections.client_net_address, dm_exec_connections.client_tcp_port, dm_exec_connections.auth_scheme, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5295398206708166489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5295398206708166489'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/12/kes-kuna-kuidas-ja-kust-ip-aadressiga.html' title='Kes, kuna, kuidas, milleks ja kust (IP aadressiga) on andmebaasi küljes'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5498681164842158749</id><published>2009-12-18T02:31:00.000-08:00</published><updated>2009-12-18T02:51:35.078-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>GridView TemplateField veeru päise muutmine nii, et sortimine jääks alles</title><summary type='text'>TemplateFieldil võib päise ja sorteerimise kirjeldada niiKui vaja nüüd veeru päise teksti dünaamiliselt muuta nii, et sorteerimise võimalus alles jääkssiis tee eraldi HeaderTemplate, kuhu poeta Linkbutton, mille CommandName on "Sort" ja CommandArgument on see andmebaasi väli mille järgi sorteerida tahadKui nüüd vaja päise teksti muuta, saad teha nii kusjuures sortimine jääb allesprotected void </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5498681164842158749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5498681164842158749'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/12/gridview-templatefield-veeru-paise.html' title='GridView TemplateField veeru päise muutmine nii, et sortimine jääks alles'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_onv2sEMG8eA/Sytb4fzoXsI/AAAAAAAAAKo/rfqbt0oO2jU/s72-c/tavalinetempplate.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4888946272820286074</id><published>2009-12-04T00:22:00.000-08:00</published><updated>2009-12-05T10:02:05.152-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>II astme SQL süstimise tõkestamine reapiiranguga</title><summary type='text'>Üks viis kuidas tõkestada SCRIPT, IFRAME, FORM, BODY ja muude murdskriptimisvõimaluste lisamist andmebaasi on panna string tüüpi väljade peale reapiirangud näiteks LIKE operandi kasutadesALTER TABLE [dbo].[HD_PROBLEMS] WITH CHECK ADD CONSTRAINT [CK_HD_PROBLEMS_SQL_INJECTION] CHECK ((NOT [problemDescription] LIKE '%&lt;_%'))   Siin LIKE '%&lt;_%' tähendab kõik stringid kus &lt; järel on mingi character </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4888946272820286074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4888946272820286074'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/12/ii-astme-sql-sustimise-tokestamine.html' title='II astme SQL süstimise tõkestamine reapiiranguga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_onv2sEMG8eA/Sxqfq8CebpI/AAAAAAAAAKc/lB2FANl2HUc/s72-c/njectcheck.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2157527082487204125</id><published>2009-11-26T23:50:00.000-08:00</published><updated>2009-12-03T05:47:14.861-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>String tüüpi muutuja polsterdamine SQL süstimise vastu</title><summary type='text'>Kui ei pääse üle ega ümber sellest, et vaja dünaamiline SQL kirjutada ja sp_executesql kasutada ei saa siis string tüüpi muutujad (VARCHAR, NVARCHAR, CHAR jne) polsterda järgmiselt:REPLACE(@otsiparam,'''','''''') ning enne ja pärast seda veel kolmed ülakomadnäiteks niimoodi:DECLARE @os NVARCHAR(MAX)SET @otsiparam=LTRIM(RTRIM(ISNULL(@otsiparam,'')) --juhuks, kui tühikud ees ja taga võivad </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2157527082487204125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2157527082487204125'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/11/stringi-polsterdamine-sql-sustimise.html' title='String tüüpi muutuja polsterdamine SQL süstimise vastu'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6552537503000443940</id><published>2009-11-18T23:54:00.000-08:00</published><updated>2012-01-05T13:04:19.520-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Võõra XmlNode panemine teise XmlDocument -i sisse</title><summary type='text'>Kõik XmlNode tüüpi asjad on konkreetselt seotud selle XmlDocument-iga, mille külge nad tehti.

Kui nüüd tahta "võõrast" XmlNode panna teise XmlDocument-i sisse tuleb see importida

//algne XmlDocument
XmlDocument res = new XmlDocument();
XmlElement elem = res.CreateElement("SkoorResult");
res.AppendChild(elem);

// see "nd" on nüüd see "võõras" node, mille kuskilt mujalt saame
TimeZoneInfo </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6552537503000443940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6552537503000443940'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/11/voora-xmlnode-panemine-teise.html' title='Võõra XmlNode panemine teise XmlDocument -i sisse'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4690770708344513780</id><published>2009-11-05T13:16:00.000-08:00</published><updated>2009-11-05T13:30:30.638-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Veebilehe ViewState suuruse näitaja Firefoxile</title><summary type='text'>Selline kaval asi on olemas:https://addons.mozilla.org/en-US/firefox/addon/5956Kui avad mingi ASPX lehe, rehkendab lehe allaäärde veebilehe ViewState suuruse.ViewState on teatavasti see info, mida IIS lehele kaasa paneb, et seal veebilehe elementide "mälu" hoida. Mida suurem ViewState seda "paksem" leht, mida väiksem ViewState seda nobedamini leht kohale tiritakse.Veebirakenduse puhul tegemist </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4690770708344513780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4690770708344513780'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/11/veebilehe-viewstate-suuruse-naitaja.html' title='Veebilehe ViewState suuruse näitaja Firefoxile'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_onv2sEMG8eA/SvNDS1nNgwI/AAAAAAAAAGY/C9tAA_kHy20/s72-c/command.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2957612693818830956</id><published>2009-10-28T08:47:00.001-07:00</published><updated>2009-11-07T12:32:37.202-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Ära näita sirviku JavaScriptile küpsiseid</title><summary type='text'>kui sul seda vaja ei ole, ehk lisa web.config faili rida httpOnlyCookies="true"saad murdskriptimise vastu võidelda, sirviku Javascript ei pääse enam küpsisele ligi (sõltub sirvikust ja selle versioonist)ja kui vaja ka et küpsised läheksid läbi SSL-i võid panna ka selle jupi juurderequireSSL="true"</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2957612693818830956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2957612693818830956'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/10/ara-naita-baruseri-javascriptile.html' title='Ära näita sirviku JavaScriptile küpsiseid'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_onv2sEMG8eA/Suho9jW_ivI/AAAAAAAAAGQ/TFImKPULOxQ/s72-c/IDvorm.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4294017429728083868</id><published>2009-10-23T08:45:00.000-07:00</published><updated>2009-10-23T09:29:45.105-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>XML andmete näitamine TreeView ja XmlDataSourcega</title><summary type='text'>Andmebaasis on XML väli kuhu paneb sisse igasugu andmeid, peamiselt logimisinfot mille jaoks iga kord tabelisse eraldi tulpa teha ei viitsi. XML andmete stuktuur kuidas kunagimõnel rohkemmõnel vähemja tulevikus võib vajadusel juurde lisada.Ekraanil hierarhiliste andmete näitamiseks sobib hästi TreeView nimeline control, XML andmed salvestab XmlDataSourceTähele peab panema, et XmlDataSource on </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4294017429728083868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4294017429728083868'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/10/xml-andmete-naitamine-treeview-ja.html' title='XML andmete näitamine TreeView ja XmlDataSourcega'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_onv2sEMG8eA/SuHQuVEXAPI/AAAAAAAAAFY/qBToo0V2bpE/s72-c/xml1.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3028871994076671339</id><published>2009-10-20T00:29:00.000-07:00</published><updated>2009-10-20T01:20:16.364-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>GridView tulba peitmine andmebaasi välja põhjal</title><summary type='text'>Kui vaja teha mingi PIVOT päring andmebaasist või üldse juhtudel kus andmebaasist võib iga kord erinevate tulpade arvuga Tabular Data Stream (TDS) vastu tulla ning vaja seda ekraanil kuvada nii, et mõnda tulpa ei näitaks siis üks asja lahendus on GridView kasutamine AutoGenerateColumns="True" seadistusega.Kuna GridView sisse saab teha igasugu tüüpi tulpasid siis põhimõte on see, et kontrollime, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3028871994076671339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3028871994076671339'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/10/gridview-tulba-peitmine-andmebaasi.html' title='GridView tulba peitmine andmebaasi välja põhjal'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-161368826847007289</id><published>2009-10-14T00:31:00.000-07:00</published><updated>2009-10-14T00:41:58.577-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>BULK INSERT tekstifailist CLR-i kasutades</title><summary type='text'>Sai kogemata SQLSERVER 2008 Web Edition maha müüdud ja siis avastatud, et Integration Services selle versiooni sees ei olegi. Kokkuvõttes tuleb asjad ise teha ja loeme nüüd BULK INSERT käsuga otse tekstifailist:using System;using System.Data;using System.Data.SqlClient;using System.Data.SqlTypes;using Microsoft.SqlServer.Server;public partial class StoredProcedures{ [</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/161368826847007289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/161368826847007289'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/10/bulk-insert-tekstifailist-clr-i.html' title='BULK INSERT tekstifailist CLR-i kasutades'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2709676441628214079</id><published>2009-10-09T03:07:00.000-07:00</published><updated>2009-10-09T10:37:08.947-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Andmebaasi tööde ülevaade</title><summary type='text'>Selleks, et mingi SQL SERVER Agent-i töö käiks peab1. Töö ise olema lubatud2. Töö enda plaanur olema lubatudKuna mõnikord unustad selle märkeruudu "Enabled" peale sättida siis abiks SP mis teeb ülevaate SQL Agenti andmebaasi töödest.ENABLED väli näitab kas töö on peatatudSCHEDULE_ENABLED väli näitab kas töö plaanur on peatatud[dbo].[SQLSERVERAGENTDATETIME_KUIDO] funktsiooni ma olen </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2709676441628214079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2709676441628214079'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/10/andmebaasi-toode-seis.html' title='Andmebaasi tööde ülevaade'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8069373474140319046</id><published>2009-10-01T01:25:00.000-07:00</published><updated>2009-10-09T11:19:06.688-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>XML välja sisu ilusaks ajamine peale sql:variable-ga mudimist</title><summary type='text'>Selline juhtum, kui on vaja SQL SERVER-i XML muutujat vahepeal muuta no näiteksDECLARE @aop XML, @lep INT, @relcon NVARCHAR(2000)SET @relcon=''+CAST(@contractId AS NVARCHAR(20))+''SET @lep = @aop.value('/RELATED_CONTRACT[1]', 'INT')IF @lep IS NULL --KUI RELATED_CONTRACT on puudu, lisame vastava NODESET @aop.modify('insert text{sql:variable("@relcon")} as last into (/Options)[1]')kui nüüd SQL </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8069373474140319046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8069373474140319046'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/10/xml-valja-sisiu-ilusaks-ajamine-peale.html' title='XML välja sisu ilusaks ajamine peale sql:variable-ga mudimist'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_onv2sEMG8eA/SsRp8LuUq9I/AAAAAAAAAFI/5r9TAUohPyo/s72-c/ILUSXML.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-7923228151280512477</id><published>2009-09-21T07:17:00.001-07:00</published><updated>2009-10-09T10:48:55.748-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Delegaadil põhinev andmevahetus usercontrolite vahel</title><summary type='text'>Tegelikult ei soovitata nii teha aga kui harva tuleb sellised asju ette siis hea lihtne meeles pidada.Definitsioonide nimetused võivad siis postituses segamini olla.Veebilehel on mitu usercontroli ja tahad, et näiteks kui GridView peal klikid seda Select nuppu siis tahad, et selle tulemusena mingil teisel usercontrolil midagi juhtuks.Gridview Select nupu saab teha niimoodiUsercontroli </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7923228151280512477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7923228151280512477'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/09/delegaadil-pohinev-andmevahetus.html' title='Delegaadil põhinev andmevahetus usercontrolite vahel'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_onv2sEMG8eA/SreLHOmoxhI/AAAAAAAAAEo/6ujmd0Imubg/s72-c/eventdelegate.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6331699471902768343</id><published>2009-08-25T03:08:00.001-07:00</published><updated>2009-08-25T03:10:16.123-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>GridView ridade kokkusummeerimine Contentpage ja UpdatePanel-i sees .NET Framework 3.5 SP1</title><summary type='text'>Kui on Masterpage sees asp:Content lehekülg mille see on UpdatePanel ja selle sees GridView võib juhtuda, etGridView RowDataBound kutsutakse kaks korda välja, kusjuures mõnel serveril töötab korralikult mõnel aga mitte, täitsa kuidas juhtub.Kui nüüd summerida GridView RowDataBound eventis mingeid väärtusi kokku võib saada topelt tulemuse ja juhtub see täiesti suvaliselt            if (</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6331699471902768343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6331699471902768343'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/08/gridview-ridade-kokkusummeerimine_25.html' title='GridView ridade kokkusummeerimine Contentpage ja UpdatePanel-i sees .NET Framework 3.5 SP1'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1986586250538631179</id><published>2009-07-29T05:46:00.001-07:00</published><updated>2010-11-04T07:32:03.339-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Sys.Net.WebRequest klassiga kliendi sertifikaadi küsimine kasutades Request.ClientCertificate meetodit</title><summary type='text'>Vaja lisada andmete sisestusvormile nupp, millega saab osa vormil nõutavaid andmeid lugeda ID-kaardi pealt, kuid nii, et vormi teistele väljadele sisestatud info jääks peale ID-kaardilt andmete lugemist alles(ei tee tervele lehele Postbacki). See asi on võimalik lahendada .NET 3.5 AJAX-i Sys.Net.WebRequest klassi kasutadesVorm näiteks selline, kus isikukoodi, ees- ja perekonnanime võib lugeda </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1986586250538631179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1986586250538631179'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/07/xmlhttprequest-kliendi-sertifikaadi_29.html' title='Sys.Net.WebRequest klassiga kliendi sertifikaadi küsimine kasutades Request.ClientCertificate meetodit'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_onv2sEMG8eA/SnBFKwkhfiI/AAAAAAAAAEY/QtcWFQ4UcsI/s72-c/IDvorm.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8332791579980419435</id><published>2009-07-23T03:34:00.000-07:00</published><updated>2009-07-23T05:54:54.941-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ReportViewer'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>URL RequestFiltering koos ReportViewer Controliga IIS7 peal</title><summary type='text'>IIS7 on veebirakendustele selline tore sisseehitatud võimalus filtreerida GET päringuid URL andmete järgi, ehk rakenduse web.config failis, saab requestFiltering filtering osas ära määrata, kui pikk  saab olla maksimaalneURL ja kui pikk saab olla QUERYSTRING. Aitab näiteks SQL injektsiooni rünnakute vastu.Kui on ka kasutusel ReportViewer aruannete tegemiseks, tuleb arvestada, et see ReportViewer </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8332791579980419435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8332791579980419435'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/07/url-requestfiltering-koos-reportviewer.html' title='URL RequestFiltering koos ReportViewer Controliga IIS7 peal'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_onv2sEMG8eA/Smg_zzUIYwI/AAAAAAAAAEA/nN3p88NIr44/s72-c/KYBKodu.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6219910990740086381</id><published>2009-07-22T01:56:00.001-07:00</published><updated>2009-07-22T01:59:57.936-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Muutujat kasutava SQL päringu kiirendamine OPTION(RECOMPILE) kasutamisega</title><summary type='text'>Üks päring millega päev otsa vaeva nägin. Tehtud täitsa mõistlik SP, mille sees üks päringDECLARE @apref VARCHAR(1)SET @apref='C'SELECT ACCOUNT.ID FROM DBO.ACCOUNT WHERE NOT EXISTS( SELECT fd.[inv_no] FROM [dbo].[Cust_ Ledger Entry] fd WHEREfd.[inv_no] =  @apref+CAST(ACCOUNT.ID AS VARCHAR(30)) ) AND ACCOUNT.W_SENT IS NOT NULLmis töötab aga jube aegalseltkui päring muuta lihtsalt ilma muutuja </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6219910990740086381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6219910990740086381'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/07/muutujat-kasutava-sql-paringu_22.html' title='Muutujat kasutava SQL päringu kiirendamine OPTION(RECOMPILE) kasutamisega'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-7248254862057743661</id><published>2009-07-03T02:46:00.000-07:00</published><updated>2009-11-17T06:48:50.985-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='VisualStudio 2008'/><title type='text'>Andmebaasi stuktuuri kaitsmine VIEW DEFINITION õiguse keelamisega PUBLIC rollil</title><summary type='text'>Iga kasutaja, mis MS SQL SERVER-il tehakse ja kellele antakse ligipääs mingile andmebaasile pannaks vaikimisi ka selle andmebaasi PUBLIC rolli. Mille tulemusena saab kasutaja näha, mis protseduurid ja tabelid selles andmebaasis olemas on, ehk näha andmebaasi struktuuri kirjeldust.Rakenduse toimimiseks ei pruugi aga andmebaasi struktuuri kirjelduse teada olemine üldse vajalik olla. Seda saab </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7248254862057743661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7248254862057743661'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/07/andmebaasi-kaitsmine-view-definition.html' title='Andmebaasi stuktuuri kaitsmine VIEW DEFINITION õiguse keelamisega PUBLIC rollil'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4846599830811929585</id><published>2009-06-10T03:44:00.001-07:00</published><updated>2010-02-08T02:19:50.314-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ReportViewer'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7'/><title type='text'>ReportVieweri kasutamine IIS7 ja Windows Server 2008 korral</title><summary type='text'>Kui ReportVieweri väljatrükil ekraanil on "tühi" või ei tule üldse ettesiis asja tööle seadmiseksVariant A:tuleb IIS Magnageriga (Application Pools) rakenduse basseini Managed Pipeline Mode seada "Classic" pealeVariant B tuleb basseini Intergated Mode korral rakenduse HandlerMappings menüüst käsitsi Add Managed Handler menüüpunkti abil ReportVieweri handler lisada, selleks:Request Path ja Name </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4846599830811929585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4846599830811929585'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/06/reportvieweri-kasutamine-iis7-ja.html' title='ReportVieweri kasutamine IIS7 ja Windows Server 2008 korral'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_onv2sEMG8eA/Si-PrQ8IdlI/AAAAAAAAADw/qlsLoeVCm7Q/s72-c/ReportViewer.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1653566845944140865</id><published>2009-05-29T07:33:00.001-07:00</published><updated>2009-05-29T07:35:56.671-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL SERVER UDF funktsiooni teksti sisust parameetri vaikeväärtuse teadasaamine</title><summary type='text'>Kui süsteemis on kasutusel meetod, kus mingi asja käitumine sõltub näiteks UDF funkstiooni parameetri väärtusest ja nüüd vaja teadasaada, kuidasmoodi see parameeter on seatud saab kasutada sellistFunktsiooni päis ise, mille parameetrit teada tahameALTER FUNCTION [dbo].[VIITENUMBER]( @lepingu_nr INT, @arvenumber BIGINT, @meetod TINYINT=0 )RETURNS NVARCHAR(30)AS...ja siin @meetod TINYINT=0 </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1653566845944140865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1653566845944140865'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/05/sql-server-udf-funktsiooni-tekstist.html' title='SQL SERVER UDF funktsiooni teksti sisust parameetri vaikeväärtuse teadasaamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2039239500260419171</id><published>2009-05-21T07:59:00.001-07:00</published><updated>2009-05-22T07:26:02.824-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL SERVER-i tabeli struktuuri kirjeldus koos väljade kirjeldusega</title><summary type='text'>Kui sul on SQL SERVER-i tabel ja tabeli väljadele on lisatud kirjeldused siis see päring teeb välja nimi / kirjeldus väljavõtteDECLARE @tabel NVARCHAR(128)SET @tabel= 'TABELINIMI'SELECT sc.column_name, CAST(extended_properties.value AS NVARCHAR(1000)) AS [description]FROM (SELECT isc.column_name , c.[object_id], c.column_idFROM information_schema.columns iscINNER JOIN sys.columns c ON </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2039239500260419171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2039239500260419171'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/05/sql-server-i-tabeli-struktuuri.html' title='SQL SERVER-i tabeli struktuuri kirjeldus koos väljade kirjeldusega'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1128501792188577809</id><published>2009-05-20T06:56:00.001-07:00</published><updated>2009-05-22T07:36:24.533-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL SERVER-ile ligipääsu piiramine IP aadressi põhiselt EVENTDATA() XML andmeid kasutades</title><summary type='text'>Kui on ASP.NET veebirakendus istub serveril koos teiste SQL SERVER baasi kasutavate rakendustega ja SQL SERVER-i port on väljast lahti kuid enda rakendusel pöördumine andmebaasi käib ainult läbi veebirakenduse  võib kasutada SQL SERVER-i LOGON trigerit, et piirata mujalt rakenduse andmebaasile ligipääsu. DDL LOGON trigeris uurib, kust ühenduti ja seejärel otsustab. Mõjub ainult nendele SQL </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1128501792188577809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1128501792188577809'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/05/sql-server-ile-ligipaasu-piiramine-ip.html' title='SQL SERVER-ile ligipääsu piiramine IP aadressi põhiselt EVENTDATA() XML andmeid kasutades'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3183739834623343664</id><published>2009-05-13T23:33:00.001-07:00</published><updated>2009-05-14T05:23:55.800-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 6'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>IIS6 ReturnUrl, automaatne edasisuunamine tuvastamiseks</title><summary type='text'>Veebirakendusel on mitu sisselogimislehekülge näiteksloginTen.aspxloginEmp.aspxja tahad nagu saada logida saidile veebilehelt XXXXX\loginTen.aspxaga brauser pöörab URL-i hoopis XXXX\loginEmp.aspx?ReturnUrl=%2floginTen.aspxSee juhtub siis, kui rakenduse Web.Config seadistada nii, et kõik audentimata kasutajad on keelatud, sel juhul IIS suuneb edasi"forms loginUrl" toodud lehe peale&lt;authentication </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3183739834623343664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3183739834623343664'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/05/iis6-automaatne-returnurl.html' title='IIS6 ReturnUrl, automaatne edasisuunamine tuvastamiseks'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6238507365890835707</id><published>2009-05-08T06:48:00.001-07:00</published><updated>2009-05-20T07:24:18.262-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADO.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>XML muutuja tagastamine MS SQL SERVER-i salvestatud protseduurist</title><summary type='text'>Isegi siin on omapärad, on salvestatud protseduur, kust tagastatakse ka XML tüüpi muutujaSalvestatud protseduur iseALTER PROCEDURE [dbo].[HOUSE_DEP_KUIDO_U] @teenuse_id NCHAR(5), @genarved XML=NULL OUTPUT  --seda tahame kätte saada--siin annab @genarved muutujale väärtuseDECLARE @arved TABLE (account_id BIGINT PRIMARY KEY)INSERT INTO @arved (account_id) VALUES(13)INSERT INTO @arved (account_id) </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6238507365890835707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6238507365890835707'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/05/xml-muutuja-tagastamine-mss-sql-server.html' title='XML muutuja tagastamine MS SQL SERVER-i salvestatud protseduurist'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6740103032634278325</id><published>2009-05-08T05:30:00.003-07:00</published><updated>2009-05-08T06:33:08.714-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Javascripti alert aken UpdatePaneli sees</title><summary type='text'>Kui peale mingit toimingut vaja näidata ekraanil JavaScripti kinnitusakent aga lehel kasutame UpdatePanel-it siis selle UpdatePaneli seesJavaScript alert käib niimoodiString scriptString ="";string alertText = "Reaalsus on kestev illusioon";// siin script language=""javascript"" on olulinescriptString = @"&lt;script language=""javascript""&gt; alert('" + alertText + "');&lt;/script&gt;";if (!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6740103032634278325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6740103032634278325'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/05/javascripti-alert-aken-updatepaneli_08.html' title='Javascripti alert aken UpdatePaneli sees'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5228682260743149306</id><published>2009-05-06T07:22:00.001-07:00</published><updated>2009-05-06T23:03:31.948-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE8'/><category scheme='http://www.blogger.com/atom/ns#' term='VisualStudio 2008'/><title type='text'>IE8-ga VisualStudio2008-s debugimisel "kaovad" sessioonimuutujad httpCookies requireSSL="true" puhul</title><summary type='text'>kui web.config failis see rida juures&lt;httpCookies requireSSL="true" /&gt;siis VisualStudio2008 ja IE8-ga debugides hakkavad sessioonimuutujad "kaduma". Lähevad erinevasse lõime või toimub pöördumine asünkroonselt. Ilmeb siis, kui veebileht pöördub mingis teises DLL-s oleva meetodi poole, mis neid sessioonimuutujaid näpib.Debugimise ajaks kommenteeri web.configist antud rida väljaBlogged with the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5228682260743149306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5228682260743149306'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/05/ie8-ga-visualstudio2008-s-debugimisel.html' title='IE8-ga VisualStudio2008-s debugimisel &quot;kaovad&quot; sessioonimuutujad httpCookies requireSSL=&amp;quot;true&amp;quot; puhul'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2281453676761420715</id><published>2009-04-28T01:23:00.001-07:00</published><updated>2009-04-28T01:23:48.736-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>Räsi arvutav CLR funktsioon MS SQL SERVERILE</title><summary type='text'>using System;using System.Data;using System.Data.SqlClient;using System.Data.SqlTypes;using Microsoft.SqlServer.Server;using System.Security.Cryptography;public partial class UserDefinedFunctions{    [Microsoft.SqlServer.Server.SqlFunction]    public static byte[] ArvutaRasi(SqlString sona) //STRINGINA ANNAB teksti sisse    {        System.Text.ASCIIEncoding encoding = new </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2281453676761420715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2281453676761420715'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/rasi-arvutav-clr-funktsioon-ms-sql.html' title='Räsi arvutav CLR funktsioon MS SQL SERVERILE'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-6699413627619119281</id><published>2009-04-27T02:07:00.001-07:00</published><updated>2009-05-14T00:10:51.107-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Kuupäevad SQL SERVERIS</title><summary type='text'>Kui vaja võtta DATETIME kuupäevast ära millisekundidALTER FUNCTION [dbo].[SEKUNDID_AINULT] ( @kuupaev DATETIME )RETURNS DATETIMEAS  /* Lõikab sisseantud kuupäevast maha millisekundid */BEGINDECLARE @a_data DATETIMEDECLARE @c CHAR(19)SET @c=CONVERT(CHAR(19),@kuupaev,126 ) --ISO8601 formaatSET @a_data = CAST(@c AS DATETIME)RETURN @a_dataENDKui vaja ainult kuupäeva:ALTER FUNCTION [dbo].[</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6699413627619119281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/6699413627619119281'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/kuupaevad-sqlserveris.html' title='Kuupäevad SQL SERVERIS'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-7395252175307449070</id><published>2009-04-23T03:39:00.001-07:00</published><updated>2009-04-23T03:46:39.528-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>XML muutujaga pakettmuudatuse (Batch Update) sooritamine</title><summary type='text'>Ühekaupa SQL SERVER-is ridu muuta on SQL SERVER-ile väga piinarikaskui vaja portsu ridadega andmebaasis midagi teha siis saab kasutada XML muutujat selle asja tegemiseksEkraanil mingi asp:TreeNode element, kus saab linnukesega ära märkida, et muuda nüüd selle rea andmeidKõigepealt teeb valmis XML muutuja, mille annab andmebaasi protseduuri sisseusing System.Xml;XmlDocument xdoc = new XmlDocument(</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7395252175307449070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7395252175307449070'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/xml-muutujaga-batch-update-sooritamine.html' title='XML muutujaga pakettmuudatuse (Batch Update) sooritamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1124865959418612605</id><published>2009-04-20T23:01:00.000-07:00</published><updated>2009-04-21T13:02:30.310-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Kirjutame ja loeme Windows Serveri Application logisse kasutades LINQ-i</title><summary type='text'>Aeg-ajlat ika viskab vigu ja mõtekas need veateated kuskilegi kirja panna, et hiljem saaks uurida mis süsteemis tegelikult juhtus. Täiesti võimalik on kasutada selleks Windows Serveri EventLog-iKõigepealt teeb eelnevalt käsitsi ühe vastava võtme REGEDIT-iga Windows ServerisseHKEY_LOCAL_MACHINE -&gt; System -&gt; CurrentControlSet -&gt; Services -&gt; EventLog -&gt; Application ja seal paremklõps hiirega Add New</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1124865959418612605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1124865959418612605'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/kirjutame-ja-loeme-ms-server-i.html' title='Kirjutame ja loeme Windows Serveri Application logisse kasutades LINQ-i'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8825314050237050656</id><published>2009-04-20T22:47:00.000-07:00</published><updated>2009-04-21T13:03:44.423-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL SERVER Agent kuupäeva funktsioon</title><summary type='text'>Kui lugeda andmeid SQL SERVER Agent tabelitest, MSDB andmebaasist siis kuupäeva ja kellaaeg on antud seal INT väärtuste kujul, et nüüd nendest asjadest mõistlikku kuupäeva saada võib kasutada järgmist funktsiooni mis genereerib kellaaja lähtudes tabeli date ja time numbritestCREATE FUNCTION [dbo].[SQLSERVERAGENTDATETIME_KUIDO] (@agentdate INT, @agenttime INT)RETURNS DATETIMEASBEGINDECLARE @Result</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8825314050237050656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8825314050237050656'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/sql-server-agent-kuupaeva-funktsioon.html' title='SQL SERVER Agent kuupäeva funktsioon'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2237002637734562784</id><published>2009-04-20T06:18:00.001-07:00</published><updated>2009-04-20T06:31:12.891-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Veebilehe laadimisaja suurendamine</title><summary type='text'>Kui juhtub nii, et veebilehe tegemiseks kulub tavalisest rohkem aega ja pillub lõpuks veateadetSystem.Web.HttpException Request timed outSel juhul kui miski muu enam ei aita tuleb seda veebilehe tegemise aega suuendadaServer.ScriptTimeout = 600; // sätib aja 5 minuti pealeBlogged with the Flock Browser</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2237002637734562784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2237002637734562784'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/veebilehe-laadimisaja-suurendamine.html' title='Veebilehe laadimisaja suurendamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3487106226514305648</id><published>2009-04-16T03:39:00.001-07:00</published><updated>2009-04-16T03:42:02.359-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>System.Net.Mail MailMessage.BodyEncoding läheb hieroglüüfe täis</title><summary type='text'>Saadad ülalminitud asjaga e-posti ja kui võtad Outlookiga kirja lahti ja Vasta tuleb pilt sellineasja saab kord kui Unicode kodeering asendada ANSI 1252-ga//email.BodyEncoding = Encoding.Unicode; //see paneb Outlooki hieroglüüfid sisseemail.BodyEncoding = System.Text.Encoding.GetEncoding(1252);email.IsBodyHtml = false;Blogged with the Flock Browser</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3487106226514305648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3487106226514305648'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/systemnetmail-mailmessagebodyencoding.html' title='System.Net.Mail MailMessage.BodyEncoding läheb hieroglüüfe täis'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_onv2sEMG8eA/SecLb4lHubI/AAAAAAAAADo/JjS8ClHNYgg/s72-c/hiero.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5555207010209280676</id><published>2009-04-07T05:28:00.001-07:00</published><updated>2009-04-21T13:11:38.942-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADO.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQLConnectionPooli tühjendamine</title><summary type='text'>Juhul, näiteks, kui muudame SQL SERVER Logini parameetreid, näiteks Default Language siis võib juhtuda, et saame veateateResetting the connection results in a different state than the initial login. The login fails. Login failed for user 'MINE_KUULE'. A severe error occurred on the current command. The results, if any, should be discarded.Põhjuseks on SQL Connection Pooli(basseini) olemasolu, mis</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5555207010209280676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5555207010209280676'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/04/sqlconnectionpooli-tuhjendamine.html' title='SQLConnectionPooli tühjendamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5662903208087808995</id><published>2009-03-26T08:31:00.001-07:00</published><updated>2009-03-26T09:06:01.977-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE8'/><category scheme='http://www.blogger.com/atom/ns#' term='ReportViewer'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ASP.NET ReportViewer Controli kasutamine koos IE8-ga</title><summary type='text'>IE8 on väljas ja kui on ASP.NET-is kasutusel ReportViewer Contol siis tekib sinna ka printeri ikoonkui nüüd tahta seda välja trükkida, võib ilmuda IE8 ActiveX paigaldamise hoiatusteade ja kui see paigaldamine ära teha ja siis uuesti trükkida proovida võib ilmuda veateade "Unable to load client print protocol".Selle asja saab sisevõrgus korda IE8 sätete seadmisega:Edasisätime veebilehelubatud </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5662903208087808995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5662903208087808995'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/aspnet-reportviewer-controli-kasutamine.html' title='ASP.NET ReportViewer Controli kasutamine koos IE8-ga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_onv2sEMG8eA/ScuhzM59CwI/AAAAAAAAACo/V2y1AWBV8sA/s72-c/juhtpaneel.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2569597666010529737</id><published>2009-03-26T02:36:00.001-07:00</published><updated>2009-03-26T02:36:14.170-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>CustomValidator  args.IsValid = false; ja ei mitte kui midagi muud</title><summary type='text'>Et mitte korduvalt sama reha peale astuda siis puust ja punaselt, et kui kasutad veebilehe peal CustomValidatoritsiis tema ServerValidate eventis tuleb väära asja teada andmiseks kasutada args.IsValid = false;    protected void CustomValidatorSolver_ServerValidate(object source, ServerValidateEventArgs args)    {        if (this.DropDownListTeostaja.SelectedValue == "-1")        {            </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2569597666010529737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2569597666010529737'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/customvalidator-argsisvalid-false-ja-ei.html' title='CustomValidator  args.IsValid = false; ja ei mitte kui midagi muud'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1013882515718548770</id><published>2009-03-24T23:49:00.001-07:00</published><updated>2009-04-21T12:54:39.589-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Kasutaja andmebaasi rollide leidmine</title><summary type='text'>Vaja teada, kas andmebaasi kasutaja on mingis andmebaasi rollis. Kätte saab alloleva funktsiooniga.SELECT [dbo].[IS_WORKER_ROLE_KUIDO_S]('AKE', 'KAMPUS_WORKER')Mida tähele panna on see, et SQL2005/2008 ei kobise midagi selle kohta, kui kasutajal pole õigusi süsteemsete tabelite teatud ridade lugemiseks. Libisetakse lihtsalt üle ja mingit infot ei pritsita.Kui kasutajal ULLE-l pole andmebaasis DBO</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1013882515718548770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1013882515718548770'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/kasutaja-andmebaasi-rollide-leidmine.html' title='Kasutaja andmebaasi rollide leidmine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_onv2sEMG8eA/ScnbKt1wPWI/AAAAAAAAACI/IK5bbTImoXA/s72-c/juhtpaneel.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1776715503298031065</id><published>2009-03-24T00:21:00.001-07:00</published><updated>2010-09-18T11:51:23.427-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vista'/><category scheme='http://www.blogger.com/atom/ns#' term='DEP'/><title type='text'>Andmetäite vältimise pealepeanemine Vista peal ehk DEP</title><summary type='text'>Andmetäite vältimine ehk DEP on lühidalt lahti seletatud siinhttp://windowshelp.microsoft.com/Windows/et-EE/help/186de3d0-01af-4d4c-981d-674637d2f4bf1061.mspxja sügavamalt siinhttp://support.microsoft.com/kb/875352Kuidas seda maha ja peale panna on kirjeldatudhttp://windowshelp.microsoft.com/Windows/en-US/help/1d9bb9b4-f6ba-466d-ac2b-7b8c4f8361611033.mspxKui on eestikeelne Vista siis piltlikult </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1776715503298031065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1776715503298031065'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/andmetaite-kaitse-pealepeanemine-vista.html' title='Andmetäite vältimise pealepeanemine Vista peal ehk DEP'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_onv2sEMG8eA/SciKMxzC1wI/AAAAAAAAABY/z6_Bp3XFRJ8/s72-c/juhtpaneel.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-873370696713126335</id><published>2009-03-22T23:42:00.001-07:00</published><updated>2009-03-22T23:54:55.761-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ASP.NET CollapsiblePanelExtender</title><summary type='text'>Kõigepealt tuleb ASPX lehe peal muuta DOCTYPE ära&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" &gt;Vaja selleks, et IE asjast aru saaks, muud(Flock, Safari, Opera, Firefox) töötavad kastandardse&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;määranguga aga IE tahab XHTML-i (on siis tegu hullumeelsuse või geniaalsusega ?)Extenderiga </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/873370696713126335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/873370696713126335'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/aspnet-collapsiblepanelextender.html' title='ASP.NET CollapsiblePanelExtender'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1923292896853220310</id><published>2009-03-18T03:35:00.001-07:00</published><updated>2009-03-18T03:35:05.843-07:00</updated><title type='text'>Veebilehe validaatorite grupi seadmine</title><summary type='text'>Vaja näiteks, et kõik usercontroli validaatorid oleksid samas grupis    public void seaValidaatorGrupp(string vgrupp){    foreach (BaseValidator vali in this.Page.Validators)    {          vali.ValidationGroup = vgrupp;    }}   Blogged with the Flock Browser</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1923292896853220310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1923292896853220310'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/veebilehe-validaatorite-grupi-seadmine.html' title='Veebilehe validaatorite grupi seadmine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2781739788192477966</id><published>2009-03-05T22:51:00.001-08:00</published><updated>2009-04-21T12:58:03.640-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL SERVER 2005 süsadminnid ja CONTROL SERVER rollis olevad loginid</title><summary type='text'>Algallikas:http://www.sqlservercentral.com/blogs/brian_kelley/archive/2009/02/24/detecting-when-a-login-has-implicit-access-to-a-database.aspxSELECT sp1.[name] [Login], 'sysadmin role' [Method]FROM sys.server_principals sp1  JOIN sys.server_role_members srm   ON sp1.principal_id = srm.member_principal_id  JOIN sys.server_principals sp2   ON srm.role_principal_id = sp2.principal_idWHERE sp2.NAME =</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2781739788192477966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2781739788192477966'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/sql-server-2005-susadminnid-ja-control.html' title='SQL SERVER 2005 süsadminnid ja CONTROL SERVER rollis olevad loginid'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3547376123481785693</id><published>2009-03-04T07:21:00.001-08:00</published><updated>2009-06-09T02:31:03.757-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ASP.NET web.config faili krüptimine</title><summary type='text'>Käima ajamiseks tuli päev otsa guugeldada. Tänud lõpuks nendele meestelehttp://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/88b15d6b-9baa-4f4d-8942-137185bfdf56/ASP.NET-i Veebirakendusel või WebServicel vaja turvalisuse tõstmiseks ConnectionStrings osa ära krüptidaKäima sain sellise asjaga, kasutame RSA-d1. Loome Machine level eksporditava RSA key containeriaspnet_regiis on programm </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3547376123481785693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3547376123481785693'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/03/aspnet-webconfig-faili-kruptimine.html' title='ASP.NET web.config faili krüptimine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4622167857993821379</id><published>2009-02-26T00:21:00.001-08:00</published><updated>2009-08-14T07:33:54.831-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL2005 ASP.NET WebService-t kasutava CLR protseduuri tegemine VisualStudio2008-ga</title><summary type='text'>Selline keerulisem juhtum, et käiakse nagu uni peale, et tahetakse saada arvet PDF kujul ka e-postiga aga mul see arve trükk tehtud VisualStudio2008 ReportVieweriga, ehk RDLC fail ASP.NET veebirakenduse küljes ja nüüd tahetakse seda sama asja saada e-posti peale. Aga arveid on sadu ja tuleb ka igale eraldi saata ning kui nüüd hakata veebis ootama, kuni need tuhat arvet valmis tehakse ja minema </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4622167857993821379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4622167857993821379'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/02/sql2005-aspnet-webservice-t-kasutava.html' title='SQL2005 ASP.NET WebService-t kasutava CLR protseduuri tegemine VisualStudio2008-ga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_onv2sEMG8eA/SaZoKFBE-pI/AAAAAAAAABQ/0BwV6A9ynOM/s72-c/KampusInvoice.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5922278939794618013</id><published>2009-02-23T00:54:00.001-08:00</published><updated>2009-04-21T12:56:41.777-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>SQL2005 CLR meetodi dünaamiline väljakutsumine teisest CLR meetodist</title><summary type='text'>Kuna kulus kaks päeva teadasaamiseks, kuidas asju teha ei saa nüüd siis nüüd puust ja punaseltCLR tegemine SQL2005 tuleb teha .NET Framework Versiooniga 2.0 kuna LINQ-i SQL2005 veel ei tunneEhk probleem, et teeme ühe ASSEMBLY ja selles sees olevast meetodist on vaja pöörduda teise ASSEMBLY meetodite poole.SQL2005 lubab välja kutsuda ainult SQLSERVER-i enda sisse laetud ASSEMBLY-sid. Võimalus </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5922278939794618013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5922278939794618013'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/02/sql2005-clr-meetodi-dunaamiline.html' title='SQL2005 CLR meetodi dünaamiline väljakutsumine teisest CLR meetodist'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4459087804047797888</id><published>2009-02-22T11:15:00.001-08:00</published><updated>2009-10-09T11:03:57.209-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Kuidas leida ülesse kõik ühte tüüpi elemendid aspx veebilehe pealt</title><summary type='text'>No on vaja ülesse leida kõik usercontrolid või mida iganes aspx veebilehe pealtSiin üks näide, kuida ülesse leida kõik teatud interface kasutavad usercontrolid antud näites/// &lt;summary&gt;/// leiame kõik antud lehel olevad ICVPublishView interfacega olevad asjad ülesse/// &lt;/summary&gt;/// &lt;returns&gt;&lt;/returns&gt;private List&lt;ETISUserControls.Views.ICVPublishView&gt; FindICVPublishViewUserControls(){List&lt;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4459087804047797888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4459087804047797888'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/02/kuidas-leida-ulesse-koik-uhte-tuupi.html' title='Kuidas leida ülesse kõik ühte tüüpi elemendid aspx veebilehe pealt'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-3106063266939487974</id><published>2009-02-18T03:57:00.001-08:00</published><updated>2009-11-20T08:01:41.631-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SERVICE BROKER'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SERVICE BROKERI-s protseduuri käivitamine</title><summary type='text'>Kui paned SERVICE BROKERI tööle ja ei saa aru, mis ta tööle ei lähe siis üle ka kontrolida, kuids sul asi on ülesse ehitatud.QUEUE PROCEDURE_NAME on asi mis tuleb selgeks tehaKui vaja, et saadaks sõnumi "saatmise" peale tuleb teha üks QUEUE ja panna serviced sama QUEUEd kasutamaKui saadad sama serveri piires, siis WITH ENCRYPTION = OFF, muidu ei pruugi töötadaCREATE MESSAGE TYPE [KAMPUS_INVOICE] </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3106063266939487974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/3106063266939487974'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/02/service-brokeri-s-protseduuri.html' title='SERVICE BROKERI-s protseduuri käivitamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1345446990014845650</id><published>2009-02-06T07:28:00.000-08:00</published><updated>2009-04-07T22:43:08.704-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>GridView footeri dünaamiline määramine</title><summary type='text'>// kui paned olemasolevale gridview-le tulpasid juurdefor (int i = 0; i &lt; majasi.Length; i++){ //see miskipärast ei tööta this.GridViewKulud.Columns[i+2].FooterText = String.Format("{0:F2}",Convert.ToDecimal(tulpsummad.FindByText(majasi[i]).Value));//see töötab                   this.GridViewKulud.FooterRow.Cells[i + 2].Text = String.Format("{0:F2}", Convert.ToDecimal(tulpsummad.FindByText(majasi</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1345446990014845650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1345446990014845650'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/02/gridview-footeri-dunaamilinle-maaramine.html' title='GridView footeri dünaamiline määramine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-170520204452491238</id><published>2009-01-28T06:17:00.001-08:00</published><updated>2009-01-28T06:17:20.003-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>SqlDataSource Timeouti muutmine</title><summary type='text'>Selecting event kinni püüda ja siis muutathis.SqlDataSourceKohataotlused.Selecting += new SqlDataSourceSelectingEventHandler(SqlDataSourceKohataotlused_Selecting);void SqlDataSourceKohataotlused_Selecting(object sender, SqlDataSourceSelectingEventArgs e){    e.Command.CommandTimeout = 600;}   Blogged with the Flock Browser</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/170520204452491238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/170520204452491238'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/01/sqldatasource-timeouti-muutmine.html' title='SqlDataSource Timeouti muutmine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2573929628693745844</id><published>2009-01-19T02:07:00.001-08:00</published><updated>2009-01-19T02:09:38.498-08:00</updated><title type='text'>asp:FileUpload faili pööramine Image-ks ja bitijadaks</title><summary type='text'>Vaja laadida pilt ülesse ja panna andmebaasi aga enne andmebaasi pistmist nõutud pildi mudimineusing System.Drawing;using System.IO;//teeme FileUpload failist Imagebyte[] image = new byte[0];if (this.FileUploadCVPicture.HasFile) //midagi on ülesse laetud{    if (FileUploadCVPicture.PostedFile.ContentType.Contains("image/")) //on tegu pildiga    {          //loeme striimist asja pildiks          </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2573929628693745844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2573929628693745844'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/01/fileupload-pramine-image-ks-ja-tagasi.html' title='asp:FileUpload faili pööramine Image-ks ja bitijadaks'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1253645240544565152</id><published>2009-01-01T11:09:00.000-08:00</published><updated>2010-03-25T07:43:09.626-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL UPDATE Table-Valued muutujaga</title><summary type='text'>@tvpEditedCategories on siin SQL2008 table-valued muutuja, sama süntaks ka table-valued funktsioonigaUPDATE dbo.CategoriesSET Categories.CategoryName = ec.CategoryNameFROM dbo.Categories INNER JOIN @tvpEditedCategories AS ecON dbo.Categories.CategoryID = ec.CategoryID;Pikem tekst siin:http://msdn.microsoft.com/en-us/library/bb675163.aspxKui vaja kahe tabelmuutuja vahel UPDATE teha siis see käib </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1253645240544565152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1253645240544565152'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2009/01/sql-update-table-valued-muutujaga.html' title='SQL UPDATE Table-Valued muutujaga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1219731606531964217</id><published>2008-12-30T00:54:00.001-08:00</published><updated>2009-04-21T12:55:45.280-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>SQL2005 XML TIMESTAMP byte[] konvertimine C#</title><summary type='text'>Kui teed andmebaasi tabelist for XML TYPE päringu ja seal sees on ka timestamp väli siis tulemus on näiteks selline&lt;CvNodeElement CfPers_CVId="3" Title="Haridustee" CfLangCode="et-EE" CfClassId="1" CfClassSchemeId="49"&gt;  &lt;Node ExpSkillsId="23" IsPublic="0" Timestamp="AAAAAAATo9I=" Pers_CV_CfPers_ExpSkillsId="16" Text="2005 TTÜ" /&gt;  &lt;Node ExpSkillsId="21" IsPublic="0" Timestamp="AAAAAAATo9o=" </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1219731606531964217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1219731606531964217'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/12/sql2005-xml-timestamp-byte-konvertimine.html' title='SQL2005 XML TIMESTAMP byte[] konvertimine C#'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1644424298674909346</id><published>2008-12-22T08:53:00.001-08:00</published><updated>2008-12-22T08:53:05.298-08:00</updated><title type='text'>DevExpress ASPxGrid CustomButtonCallback töölesaamine</title><summary type='text'>Kui selline vidin kasutusel ja vaja saada GridViewCommandColumnCustomButton tööle, siis tulebGridil endal seada EnableCallBacks="false" Näide selline, et seal nüüd kaks nuppu rea peal&lt;dxwgv:ASPxGridView ID="ASPxGridViewElements" runat="server" KeyFieldName="CfPers_ExpSkillsId"                                 Settings-ShowColumnHeaders="false" AutoGenerateColumns="false" SettingsText-ConfirmDelete</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1644424298674909346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1644424298674909346'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/12/devexpress-aspxgrid-custombuttoncallbac.html' title='DevExpress ASPxGrid CustomButtonCallback töölesaamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8664521820883864962</id><published>2008-12-05T03:00:00.001-08:00</published><updated>2009-04-17T06:12:16.306-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Kuupäeva pp.kk.aaaa formaadis kontroll</title><summary type='text'>Et vaja kohe kindlasti kontrollida, et kuupäeva sisestus oleks pp.kk.aaaa formaadissiis näiteks selline meetod mis kasutab DateTime.ParseExact meetoditusing System.Globalization;     public bool ValidateDateTimeFormat(string date, string format)     {         CultureInfo provider = CultureInfo.InvariantCulture;         try         {             DateTime.ParseExact(date, format, provider);</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8664521820883864962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8664521820883864962'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/12/kuupeva-ppkkaaaa-formaadis-kontroll.html' title='Kuupäeva pp.kk.aaaa formaadis kontroll'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4753939300743538105</id><published>2008-12-04T06:52:00.001-08:00</published><updated>2009-08-21T07:08:45.722-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>XML väljaga info edasiandmine trigerisse</title><summary type='text'>Selline juhtum, et triger on pandud andmebaasi muutusi logima ja nüüd situatsioon, et alustabelis kõiki andmeid ei ole aga hädasti oleks vaja üht-teist trigerile lisaks teada anda. Üks lahendus selline, et teeb baastabelisse juurde XML tüüpi välja näiteks APPLICATIONS tabelile APPOPTIONSja kui nüüd SP-ga tabelis midagi muuta    --kirjutame APPOPTIONS xml tüüp välja sisse lepingu numbri väärtuse</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4753939300743538105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4753939300743538105'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/12/xml-vljaga-info-edasiandmine-trigerisse.html' title='XML väljaga info edasiandmine trigerisse'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5220209122719176011</id><published>2008-10-30T03:09:00.001-07:00</published><updated>2008-11-14T02:48:19.683-08:00</updated><title type='text'>SqlDataSource DateTime parameetri lisamine ja eemaldamine</title><summary type='text'>Lisamine käib nii:this.SqlDataSourceTenants.SelectParameters.Add("submission_date", System.TypeCode.DateTime, this.tbSubmissionDate.Text.Trim());ja eemaldamine nii:this.SqlDataSourceReport.SelectParameters.Remove(SqlDataSourceReport.SelectParameters["start_date"]);Lahendab ära need juhtumid, kus mõnikord võib 17.06.2008 puhul päev ja kuu vahetusse minna ja viga pilduma hakata   Blogged with the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5220209122719176011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5220209122719176011'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/10/sqldatasource-datetime-parameetri.html' title='SqlDataSource DateTime parameetri lisamine ja eemaldamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1365446343942338574</id><published>2008-10-14T23:15:00.001-07:00</published><updated>2008-10-15T08:50:13.634-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>.NET ASSEMBLY eemaldamine Global Assembly Cache -st</title><summary type='text'>Kui .NET2 Framefork Configuration-iga kuidagi maha ei saa tuleb käsitsi GACUTIL-iga tehagacutil /uf "ReportFunctions"ja kui see ka ei aita siis käsitsi GAC kataloogi kallaleehk Command Prompt käimaja sealt läheme GAC kataloogicd c:\windows\assemblyVisualStudio2008 asjad on GAC_MSIL alamkataloogiscd gac_msilja sealt võtame vastava alamkataloogi maha, kui Assembly nimi on ReportFunctions siisrmdir </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1365446343942338574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1365446343942338574'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/10/net-assembly-eemaldamine-global.html' title='.NET ASSEMBLY eemaldamine Global Assembly Cache -st'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-8815517523705821726</id><published>2008-10-10T03:06:00.001-07:00</published><updated>2009-04-21T12:58:32.389-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SQL SERVER 2005 XML andmevälja näitamine GridView-ga</title><summary type='text'>Et on siis SQL SERVER 2005 tabel ja seal sees on mõni tulp XML tüüpiCREATE TABLE [dbo].[APPLICATION_CONTRACTS](   [APPLICATIONS_ID] [int] NOT NULL,   [CONTRACTS_ID] [int] NOT NULL,   [APPLICATION_OPTIONS] [xml] NULL)ja müüd sinna APPLICATION_OPTIONS kirjutame XML andmetüübi sisse...DECLARE @aop XMLDECLARE @temp TABLE (jrk INT PRIMARY KEY)INSERT INTO @temp ([jrk]) VALUES ( 1)SET @jrk=( SELECT TOP </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8815517523705821726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/8815517523705821726'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/10/sql-server-2005-andmevlja-nitamine.html' title='SQL SERVER 2005 XML andmevälja näitamine GridView-ga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_onv2sEMG8eA/SO8rvibgV9I/AAAAAAAAAAU/EOcr70n79n4/s72-c/xmlpilt.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-4524084753475039189</id><published>2008-09-02T00:13:00.001-07:00</published><updated>2009-04-21T12:57:15.455-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SSIS ei tööta OLE DB source kui tahad kasutada salvestatud protseduuris ajutisi tabeleid</title><summary type='text'>Tuleb kasutada tabelmuutujaid, #temp ajutised tabeleid ei saa kasutadaSiin ka selgitushttp://blogs.conchango.com/jamiethomson/archive/2006/12/20/SSIS_3A00_-Using-stored-procedures-inside-an-OLE-DB-Source-component.aspxJa ka ülevaatlikum selgitus + mõned ümbernurga tegemisedhttp://www.sqlservercentral.com/articles/SSIS/65112/Blogged with the Flock Browser</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4524084753475039189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/4524084753475039189'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/09/ssis-ei-tta-ole-db-source-kui-tahad.html' title='SSIS ei tööta OLE DB source kui tahad kasutada salvestatud protseduuris ajutisi tabeleid'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5632127746857607537</id><published>2008-08-22T02:12:00.001-07:00</published><updated>2009-07-30T00:12:42.074-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='cross-page postback'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ASP.NET automaatne veebilehelt tagasi suunamine</title><summary type='text'>Kui on vaja teha selline asi, et oled ühe veebilehe peal ja pead vahepeal teise veebilehe peal käima, et sealt lehelt mingeid andmeid teada saada ja siis automaatselt samale lehele tagasi tulla koos loetud andmetega saab kasutada järgmist lahendust:Ehk meil on vaja teha järgmine lähenemineloginTenant.aspx =&gt; EstIdCard.aspx(sellelt lehelt saadud andmed saadame tagasi) =&gt; </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5632127746857607537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5632127746857607537'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/08/aspnet-automaatne-veebilehelt-tagasi.html' title='ASP.NET automaatne veebilehelt tagasi suunamine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1078980734246016819</id><published>2008-07-07T08:09:00.001-07:00</published><updated>2009-05-06T07:23:56.065-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VisualStudio 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='DataSet Editor'/><title type='text'>XSD failid ei avane Design vaates</title><summary type='text'>Tahad strongly typed dataset-i mudida Design vaates aga ei tule seda endist tuttvat pilti ette vaid teeb faili ainult XML vaates lahti ja kui üritad vaadata Design View-s siis ikka ei midagi, jääb endine piltVisualStudio 2008 maha ja peale installimine aita, võid saada veateateMake sure the application for the file type (.xsd) is installedÕigeks ajamine käib nii:a. Paremklõpsa Visual Studio2008-s</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1078980734246016819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1078980734246016819'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/07/xsd-failid-ei-avane-design-vaates.html' title='XSD failid ei avane Design vaates'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-664437290658344802</id><published>2008-06-25T00:02:00.001-07:00</published><updated>2009-04-14T02:35:58.769-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Tableadapteri CommandTimeout muutmine</title><summary type='text'>Kui on tehtud StronglyTyped dataset koos TableAdapteriga ja tahetakse nüüd mingil TableAdapateril seda CommandTimeout-i suuremaks seada tuleb kasutada järgmist nippi, etteha partial class samale nimeruumile, kus on antud DataSeti TableAdapterid.Näiteks DataSeti dsAccommodationApplication TableAdapterite jaoks tee samasse AppCode kataloogi üks klassifail (cs laiendiga, kui proged C#)ja kui nüüd </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/664437290658344802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/664437290658344802'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/06/tableadapteri-commandtimeout-muutmine.html' title='Tableadapteri CommandTimeout muutmine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-2041389081807397080</id><published>2008-06-12T00:11:00.001-07:00</published><updated>2008-06-12T00:11:31.519-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Server.Transfer ASP.NET AJAX-i UpdatePanel-i sees</title><summary type='text'>Annab vea Sys.WebForms.PageRequestManagerParserErrorException. Põhjus selles, et AJAX ei saa sellest Server.Transfer -iga serveri poolsest lehe vahetamisest aru kuna vajab suhet kliendi poolse browseriga.Lahendus: kasuta Response.Redirect   Blogged with the Flock Browser</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2041389081807397080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/2041389081807397080'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/06/servertransfer-aspnet-ajax-i.html' title='Server.Transfer ASP.NET AJAX-i UpdatePanel-i sees'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-573624794981887794</id><published>2008-06-05T23:33:00.001-07:00</published><updated>2009-09-18T03:10:14.876-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Self-correlated UPDATE lause süntaks SQL2005 tabelmuutujaga</title><summary type='text'>Tuleb muuta andmeid tabelmuutujas tabelmuutuja enda andmete põhjal.Täiesti võimalik, SQL lause süntaks on järgmineUPDATE @tas SET GroupStartDate = (SELECT MIN(Ta.TaskStartDate) FROM @tas Ta WHERE Ta.taskGroupId = [@tas].taskGroupId)Kui vaja teha ühe  tabelmuutuja UPDATE teiste tabelmuutujaga siis süntaks sellineUPDATE @korteridSET re.loppsumma = ec.summaFROM @korterid re INNER JOIN @lopparved AS </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/573624794981887794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/573624794981887794'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/06/self-correlated-update-sntaks-sql2005.html' title='Self-correlated UPDATE lause süntaks SQL2005 tabelmuutujaga'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-1021815972841473370</id><published>2008-06-02T22:56:00.001-07:00</published><updated>2009-10-09T11:08:24.545-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Räsi SQL2005 jaoks</title><summary type='text'>Kui vaja räsi tekitada, näiteks salasõna salvestamiseksSELECT master.dbo.fn_varbintohexstr(HashBytes('SHA1', 'TiibetVabaks2010'))muidugi on ilus, kui asi juba räsitult SQL-ini jõuaksBlogged with the Flock Browser</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1021815972841473370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/1021815972841473370'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/06/rsi-sql2005-jaoks.html' title='Räsi SQL2005 jaoks'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5585193339777693206</id><published>2008-06-02T06:27:00.001-07:00</published><updated>2009-05-06T07:24:08.186-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VisualStudio 2008'/><title type='text'>Visual Studio 2008 Trial versioonist õige asja tegemine</title><summary type='text'>Prooviversioonist õige versiooni tegemisel tuleb lihtsalt Product Key sisestada, mille leiad, kui paned selle õige ISO faili Daemon Toolsiga arvutile külge ning ronid kataloogi Setup ja sealt leiad faili setup.sdb ja sealt seest otsid Product Key ülesse.Nüüd arvutil endal Install/Remove programs ja klõpsad Visual Studio 2008 peale jaseal pead sama Product Key sisestama, mille tulemusena nagu </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5585193339777693206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5585193339777693206'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/06/visual-studio-2008-trial-versioonist_02.html' title='Visual Studio 2008 Trial versioonist õige asja tegemine'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-5885737173347135117</id><published>2008-05-15T23:28:00.001-07:00</published><updated>2009-04-21T12:59:28.541-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>SSIS Locale ID hädad Flat faili eksportimisel</title><summary type='text'>Ehk tõmbame SQLSERVER 2005 andmebaasist salvestatud protseduuriga andmeid välja ja tahame tulemust panda tekstifailiaga pillub siis sellist:1. The Locale ID is not installed on this system2. The component locale ID does not match the connection manager Locale IDPõhjus selline, et Data Flow Taskis on Ole DB Source -&gt; Properties LocaleID näiteks Estonian aga Flat faili Locale ID on näiteks English(</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5885737173347135117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/5885737173347135117'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/05/ssis-locale-id-hdad-flat-faili.html' title='SSIS Locale ID hädad Flat faili eksportimisel'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7044132808532711075.post-7160318809140207284</id><published>2008-05-15T05:03:00.001-07:00</published><updated>2009-05-06T07:24:25.890-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TeamFoundation Server'/><category scheme='http://www.blogger.com/atom/ns#' term='VisualStudio 2008'/><title type='text'>Visual Studio Workspace vahetus Team Foundation Serveril</title><summary type='text'>Nii, juhtub, et kasutame ühte Team Foundation Serverit oma lähtekoodi hoidmiseks ja nüüd on see server läinud ja tahate oma kõvakettalt asjad teisele serverile hoidmiseks suunata. Aga kui hakkate Workspace muutma pistab kisamaa'la "The path C:\TURKU2008BI is already mapped in workspace VISUAL [http://visual:8080/].Tuleb oma kõvakettalt otsida faili VersionControl.config, seal seotakse omavahel </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7160318809140207284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7044132808532711075/posts/default/7160318809140207284'/><link rel='alternate' type='text/html' href='http://kuidoveeb.blogspot.com/2008/05/visual-studio-workspace-vahetus-team.html' title='Visual Studio Workspace vahetus Team Foundation Serveril'/><author><name>Linux dumb user</name><uri>http://www.blogger.com/profile/07555474370255665387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
