<?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-4350809577754390465</id><updated>2012-01-27T13:26:08.102+02:00</updated><category term='sql cache dependency'/><category term='generic list sorting'/><category term='jquery tab'/><category term='localization'/><category term='generic.list'/><category term='positioning'/><category term='jw player'/><category term='chrome'/><category term='data access layer'/><category term='t-sql'/><category term='embed video'/><category term='datalist'/><category term='begin try'/><category term='ASPxPageControl'/><category term='tran'/><category term='lightbox'/><category term='httpmodule'/><category term='serialization mode'/><category term='redirect'/><category term='global.asax'/><category term='linq'/><category term='iis'/><category term='foreign key'/><category term='identity column'/><category term='graphics'/><category term='bak'/><category term='türkçe karakter'/><category term='postback'/><category term='rewritepath'/><category term='asp.net facebook application'/><category term='full-text search'/><category term='mvc'/><category term='sanal dizin'/><category term='overload method'/><category term='mdf'/><category term='ie6'/><category term='view'/><category term='databinding'/><category term='asp.net'/><category term='error'/><category term='RegisterClientScriptBlock'/><category term='msdn'/><category term='n-layer'/><category term='DataContractSerializer'/><category term='png fix'/><category term='eval'/><category term='WebRequest'/><category term='ResolveClientUrl'/><category term='jquery slider'/><category term='serialization'/><category term='insertonsubmit'/><category term='rowcount'/><category term='updatePanelElement.innerHTML'/><category term='initcap'/><category term='anonymous type'/><category term='linq to sql'/><category term='asp.net ajax control'/><category term='custom object'/><category term='readystate'/><category term='update'/><category term='authenticator module'/><category term='HttpWebRequest'/><category term='ders olsun'/><category term='delete rule'/><category term='transaction'/><category term='english'/><category term='recursive function'/><category term='left join'/><category term='location.href'/><category term='fixed bottom bar'/><category term='asp.net error handling'/><category term='autocomplete'/><category term='join'/><category term='ie'/><category term='resx'/><category term='slideshowextender'/><category term='jquery'/><category term='clone'/><category term='temp table'/><category term='sql'/><category term='div'/><category term='katmanlı mimari'/><category term='exception'/><category term='uiculture'/><category term='advantages of mvc'/><category term='virtual directory'/><category term='urlrewriting'/><category term='ajax control toolkit'/><category term='sql restore'/><category term='ftp'/><category term='sp'/><category term='sql backup restore'/><category term='complextype'/><category term='MachineToApplication'/><category term='login failed'/><category term='treenode'/><category term='webbrowser'/><category term='url escape characters'/><category term='img'/><category term='treeview'/><category term='extensionles'/><category term='ExecuteQuery'/><category term='extension methods in linq'/><category term='firefox'/><category term='cursor'/><category term='css'/><category term='masterpage'/><category term='sa'/><category term='js'/><category term='render'/><category term='rounded border'/><category term='aspnet state server'/><category term='arama'/><category term='web service'/><category term='one to many'/><category term='single select'/><category term='url encoding'/><category term='sqldatasource'/><category term='SCRIPTMANAGER'/><category term='business layer'/><category term='sql backup'/><category term='ForeignKeyReferenceAlreadyHasValueException'/><category term='web.config'/><category term='try-catch'/><category term='enable remote connection'/><category term='cascade'/><category term='devexpress'/><category term='datatable'/><category term='flash object'/><category term='html parser'/><category term='sql caching'/><category term='onload'/><category term='scriptreference'/><category term='jquery ui tabs'/><category term='regular expression'/><category term='ASPxDataView'/><category term='generic list'/><category term='current of'/><category term='reference'/><category term='session'/><category term='ie7'/><category term='streamreader'/><category term='asp.net security'/><category term='messagename'/><category term='request'/><category term='documentcompleted'/><category term='deleteonnull'/><category term='image resizing'/><category term='table variable'/><category term='attach'/><category term='onay penceresi'/><category term='AccordionPane'/><category term='generate data'/><category term='iis 7'/><category term='update related table'/><category term='javascript'/><category term='html code editor'/><category term='ResolveUrl'/><category term='gzip'/><category term='youtube'/><category term='globalization'/><category term='sql server express'/><category term='form'/><category term='tipsy'/><category term='compression'/><category term='delete in linq'/><category term='n-tier'/><category term='sql server 2008'/><category term='prerender'/><category term='çakışma'/><category term='RegisterStartupScript'/><category term='ftp 7'/><category term='duplicate records'/><category term='dto'/><category term='rendering'/><category term='enum'/><category term='dropdownlist'/><category term='left outer join'/><category term='zune'/><category term='iis configuration'/><category term='culture'/><category term='ie click sound'/><category term='export to excel'/><category term='sql server'/><category term='ajaxcontroltoolkit'/><category term='conflict'/><category term='presentation layer'/><category term='connectionstring'/><category term='kayıt sayısı'/><category term='repeater'/><category term='outputstream'/><category term='colorbox'/><category term='database publishing'/><category term='html link'/><category term='bitmap'/><category term='update panel'/><title type='text'>kendime notlar (notes to myself)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://softwarld.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default?start-index=101&amp;max-results=100'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>154</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6936161914938753467</id><published>2012-01-27T13:24:00.002+02:00</published><updated>2012-01-27T13:26:08.216+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql caching'/><category scheme='http://www.blogger.com/atom/ns#' term='sql cache dependency'/><title type='text'>sql cache dependency</title><content type='html'>aspnet_regsql.exe –S “.\yukon” –U “sa” –P “1” –d “CacheDepDemo” –ed&lt;br /&gt;aspnet_regsql.exe –S “.\yukon” –U “sa” –P “1” –d “CacheDepDemo” –t “Ogrenciler” -et&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Sample:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;C:\Windows\Microsoft.NET\Framework\v2.0.50727&amp;gt;aspnet_regsql.exe -S localhost -E&lt;br /&gt;-ed -d Yasatay -et -t MevzuatDetay&lt;br /&gt;Enabling the database for SQL cache dependency.&lt;br /&gt;.&lt;br /&gt;Finished.&lt;br /&gt;Enabling the table for SQL cache dependency.&lt;br /&gt;Finished.&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/4379106/configuring-sqlcachedependency-with-aspnet-regsql&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6936161914938753467?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6936161914938753467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6936161914938753467'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2012/01/sql-cache-dependency.html' title='sql cache dependency'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3467417557230965488</id><published>2011-11-15T14:45:00.002+02:00</published><updated>2011-11-15T14:45:30.075+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html code editor'/><title type='text'>blog html code editor</title><content type='html'>http://www.simplebits.com/cgi-bin/simplecode.pl&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3467417557230965488?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3467417557230965488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3467417557230965488'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/11/blog-html-code-editor.html' title='blog html code editor'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7181511031372327814</id><published>2011-11-15T14:36:00.003+02:00</published><updated>2011-11-15T14:44:19.837+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rendering'/><category scheme='http://www.blogger.com/atom/ns#' term='updatePanelElement.innerHTML'/><title type='text'>internet explorer 7 and 8 updatepanel rendering error</title><content type='html'>&lt;code&gt;&lt;br /&gt;Örneğin aşağıdaki gibi bir kullanım IE7 ve IE8’de hataya (UpdatePanel’in çalışmamasına) neden oluyor:&lt;br /&gt;&lt;br /&gt;&amp;lt;table&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;asp:UpdatePanel …&amp;gt;&lt;br /&gt;…&lt;br /&gt;&amp;lt;/asp:UpdatePanel …&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&lt;br /&gt;Yukarıdaki örnekte UpdatePanel uygun olmayan yerde bulunuyor. Şu hale çevirince düzeliyor:&lt;br /&gt;&lt;br /&gt;&amp;lt;table&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;asp:UpdatePanel …&amp;gt;&lt;br /&gt;…&lt;br /&gt;&amp;lt;/asp:UpdatePanel …&amp;gt;&lt;br /&gt;&amp;lt;table&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7181511031372327814?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7181511031372327814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7181511031372327814'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/11/internet-explorer-7-and-8-updatepanel.html' title='internet explorer 7 and 8 updatepanel rendering error'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-848915693306395665</id><published>2011-08-23T10:06:00.001+03:00</published><updated>2011-08-23T10:07:46.635+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HttpWebRequest'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><category scheme='http://www.blogger.com/atom/ns#' term='WebRequest'/><title type='text'>consuming web service using webrequest</title><content type='html'>public const string WebServiceUrl = "https://xxx.xxx.com.tr/server/cms";&lt;br /&gt;const string methodName = "PR_SWEP_URT_OTO_WS_KASKO_TEKLIF_POLICELENDIR";&lt;br /&gt;&lt;br /&gt;doc.LoadXml(xmlRequest);&lt;br /&gt;var req = (HttpWebRequest)WebRequest.Create(Constants.WebServiceUrl);&lt;br /&gt;req.Headers.Add("SOAPAction", Constants.WebServiceUrl + "/" + methodName);&lt;br /&gt;req.Headers.Add("Operation", methodName);&lt;br /&gt;req.Headers.Add("Style", "RPC");&lt;br /&gt;req.ContentType = "text/xml;charset=\"utf-8\"";&lt;br /&gt;req.Accept = "text/xml";&lt;br /&gt;req.Method = "POST";&lt;br /&gt;var stream = req.GetRequestStream();&lt;br /&gt;doc.Save(stream);&lt;br /&gt;stream.Close();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public const string WebServiceUrl = "http://xx.xx.xxx.xxx:xxxx/PolServis";&lt;br /&gt;const string methodName = "getKaskoPolice";&lt;br /&gt;&lt;br /&gt;doc.LoadXml(xmlRequest);&lt;br /&gt;var req = (HttpWebRequest)WebRequest.Create(Constants.WebServiceUrl + "/services/KaskoPoliceServis?wsdl");&lt;br /&gt;req.Headers.Add("SOAPAction", Constants.WebServiceUrl + "/" + methodName);&lt;br /&gt;req.Headers.Add("Operation", methodName);&lt;br /&gt;req.Headers.Add("Style", "RPC");&lt;br /&gt;req.ContentType = "text/xml;charset=\"utf-8\"";&lt;br /&gt;req.Accept = "text/xml";&lt;br /&gt;req.Method = "POST";&lt;br /&gt;var stream = req.GetRequestStream();&lt;br /&gt;doc.Save(stream);&lt;br /&gt;stream.Close();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-848915693306395665?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/848915693306395665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/848915693306395665'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/08/consuming-web-service-using-webrequest.html' title='consuming web service using webrequest'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2936932638815395506</id><published>2011-08-23T09:59:00.000+03:00</published><updated>2011-08-23T09:59:11.281+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>java.lang.NumberFormatException HTTP Error 500 Internal server error</title><content type='html'>AracBedeli 29750,00 formatında gönderildiğinde şu satırda hata oluşuyor:&lt;br /&gt;&lt;br /&gt;var webResponse = req.GetResponse(); &lt;br /&gt;&lt;br /&gt;HTTP Error 500 Internal server error hatası dönüyor.&lt;br /&gt;Ama SoapUI'da hatanın nedeni görülebiliyor:&lt;br /&gt;&lt;br /&gt;&lt;faultcode&gt;soapenv:Server.userException&lt;/faultcode&gt; &lt;faultstring&gt;java.lang.NumberFormatException: Not a valid char constructor input: 29750,00&lt;/faultstring&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2936932638815395506?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2936932638815395506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2936932638815395506'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/08/javalangnumberformatexception-http.html' title='java.lang.NumberFormatException HTTP Error 500 Internal server error'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3775367512701706443</id><published>2011-07-22T10:55:00.001+03:00</published><updated>2011-07-22T10:56:22.806+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>Local sequence cannot be used in LINQ to SQL implementation of query  operators except the Contains() operator</title><content type='html'>&lt;b&gt;code:&lt;/b&gt;&lt;br /&gt;var cpList2 = (from customerProduct in _context.customer_products&lt;br /&gt;join controlPolice in controlPolices&lt;br /&gt;on customerProduct.sales_ID equals controlPolice.sales_ID&lt;br /&gt;where customerProduct.yenileme_no == controlPolice.yenileme_no&lt;br /&gt;&amp;&amp; customerProduct.zeyil_no == controlPolice.zeyil_no&lt;br /&gt;select customerProduct);&lt;br /&gt;&lt;br /&gt;&lt;b&gt;error:&lt;/b&gt;&lt;br /&gt;Local sequence cannot be used in LINQ to SQL implementation of query &lt;br /&gt;operators except the Contains() operator&lt;br /&gt;&lt;br /&gt;&lt;b&gt;solution:&lt;/b&gt;&lt;br /&gt;var cpList = (from controlPolicy in controlPolicies&lt;br /&gt;join customerProduct in _context.customer_products&lt;br /&gt;on controlPolicy.sales_ID equals customerProduct.sales_ID&lt;br /&gt;where controlPolicy.yenileme_no == customerProduct.yenileme_no&lt;br /&gt;&amp;&amp; controlPolicy.zeyil_no == customerProduct.zeyil_no&lt;br /&gt;select customerProduct);&lt;br /&gt;&lt;br /&gt;&lt;b&gt;source:&lt;/b&gt;&lt;br /&gt;http://stackoverflow.com/questions/5936301/local-sequence-cannot-be-used-in-linq-to-sql-implementations-of-query-operators-e&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3775367512701706443?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3775367512701706443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3775367512701706443'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/07/local-sequence-cannot-be-used-in-linq.html' title='Local sequence cannot be used in LINQ to SQL implementation of query  operators except the Contains() operator'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-175493883900645476</id><published>2011-06-15T11:37:00.000+03:00</published><updated>2011-06-15T11:37:13.424+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='enum'/><title type='text'>How to enumerate an enum?</title><content type='html'>How to enumerate an enum?&lt;br /&gt;&lt;br /&gt;public static class EnumExtensions&lt;br /&gt;{&lt;br /&gt;    /// &lt;summary&gt;&lt;br /&gt;    /// Gets all items for an enum value.&lt;br /&gt;    /// &lt;/summary&gt;&lt;br /&gt;    /// &lt;typeparam name="T"&gt;&lt;/typeparam&gt;&lt;br /&gt;    /// &lt;param name="value"&gt;The value.&lt;/param&gt;    /// &lt;returns&gt;&lt;/returns&gt;&lt;br /&gt;    public static IEnumerable&lt;T&gt; GetAllItems&lt;T&gt;(this Enum value)&lt;br /&gt;    {&lt;br /&gt;        foreach (object item in Enum.GetValues(typeof(T)))&lt;br /&gt;        {&lt;br /&gt;            yield return (T)item;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    /// &lt;summary&gt;&lt;br /&gt;    /// Gets all items for an enum type.&lt;br /&gt;    /// &lt;/summary&gt;&lt;br /&gt;    /// &lt;typeparam name="T"&gt;&lt;/typeparam&gt;&lt;br /&gt;    /// &lt;param name="value"&gt;The value.&lt;/param&gt;    /// &lt;returns&gt;&lt;/returns&gt;&lt;br /&gt;    public static IEnumerable&lt;T&gt; GetAllItems&lt;T&gt;() where T : struct&lt;br /&gt;    {&lt;br /&gt;        foreach (object item in Enum.GetValues(typeof(T)))&lt;br /&gt;        {&lt;br /&gt;            yield return (T)item;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    /// &lt;summary&gt;&lt;br /&gt;    /// Gets all combined items from an enum value.&lt;br /&gt;    /// &lt;/summary&gt;&lt;br /&gt;    /// &lt;typeparam name="T"&gt;&lt;/typeparam&gt;&lt;br /&gt;    /// &lt;param name="value"&gt;The value.&lt;/param&gt;    /// &lt;returns&gt;&lt;/returns&gt;&lt;br /&gt;    /// &lt;example&gt;&lt;br /&gt;    /// Displays ValueA and ValueB.&lt;br /&gt;    /// &lt;code&gt;&lt;br /&gt;    /// EnumExample dummy = EnumExample.Combi;&lt;br /&gt;    /// foreach (var item in dummy.GetAllSelectedItems&lt;EnumExample&gt;())&lt;br /&gt;    /// {&lt;br /&gt;    ///    Console.WriteLine(item);&lt;br /&gt;    /// }&lt;br /&gt;    /// &lt;/code&gt;&lt;br /&gt;    /// &lt;/example&gt;&lt;br /&gt;    public static IEnumerable&lt;T&gt; GetAllSelectedItems&lt;T&gt;(this Enum value)&lt;br /&gt;    {&lt;br /&gt;        int valueAsInt = Convert.ToInt32(value, CultureInfo.InvariantCulture);&lt;br /&gt;&lt;br /&gt;        foreach (object item in Enum.GetValues(typeof(T)))&lt;br /&gt;        {&lt;br /&gt;            int itemAsInt = Convert.ToInt32(item, CultureInfo.InvariantCulture);&lt;br /&gt;&lt;br /&gt;            if (itemAsInt == (valueAsInt &amp; itemAsInt))&lt;br /&gt;            {&lt;br /&gt;                yield return (T)item;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    /// &lt;summary&gt;&lt;br /&gt;    /// Determines whether the enum value contains a specific value.&lt;br /&gt;    /// &lt;/summary&gt;&lt;br /&gt;    /// &lt;param name="value"&gt;The value.&lt;/param&gt;    /// &lt;param name="request"&gt;The request.&lt;/param&gt;    /// &lt;returns&gt;&lt;br /&gt;    ///     &lt;c&gt;true&lt;/c&gt; if value contains the specified value; otherwise, &lt;c&gt;false&lt;/c&gt;.&lt;br /&gt;    /// &lt;/returns&gt;&lt;br /&gt;    /// &lt;example&gt;&lt;br /&gt;    /// &lt;code&gt;&lt;br /&gt;    /// EnumExample dummy = EnumExample.Combi;&lt;br /&gt;    /// if (dummy.Contains&lt;EnumExample&gt;(EnumExample.ValueA))&lt;br /&gt;    /// {&lt;br /&gt;    ///     Console.WriteLine("dummy contains EnumExample.ValueA");&lt;br /&gt;    /// }&lt;br /&gt;    /// &lt;/code&gt;&lt;br /&gt;    /// &lt;/example&gt;&lt;br /&gt;    public static bool Contains&lt;T&gt;(this Enum value, T request)&lt;br /&gt;    {&lt;br /&gt;        int valueAsInt = Convert.ToInt32(value, CultureInfo.InvariantCulture);&lt;br /&gt;        int requestAsInt = Convert.ToInt32(request, CultureInfo.InvariantCulture);&lt;br /&gt;&lt;br /&gt;        if (requestAsInt == (valueAsInt &amp; requestAsInt))&lt;br /&gt;        {&lt;br /&gt;            return true;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        return false;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The enum itself must be decorated with the FlagsAttribute&lt;br /&gt;&lt;br /&gt;[Flags]&lt;br /&gt;public enum EnumExample&lt;br /&gt;{&lt;br /&gt;    ValueA = 1,&lt;br /&gt;    ValueB = 2,&lt;br /&gt;    ValueC = 4,&lt;br /&gt;    ValueD = 8,&lt;br /&gt;    Combi = ValueA | ValueB&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/105372/c-how-to-enumerate-an-enum&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-175493883900645476?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/175493883900645476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/175493883900645476'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/06/how-to-enumerate-enum.html' title='How to enumerate an enum?'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1338270783235006317</id><published>2011-05-30T14:39:00.000+03:00</published><updated>2011-05-30T14:39:42.287+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='generic list sorting'/><category scheme='http://www.blogger.com/atom/ns#' term='generic list'/><title type='text'>generic list sorting - order by</title><content type='html'>If you mean an in-place sort (i.e. the list is updated):&lt;br /&gt;&lt;br /&gt;people.Sort((x, y) =&gt; string.Compare(x.LastName, y.LastName));&lt;br /&gt;If you mean a new list:&lt;br /&gt;&lt;br /&gt;var newList = people.OrderBy(x=&gt;x.LastName).ToList(); // ToList optional&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/188141/c-list-orderby-alphabetical-order&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1338270783235006317?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1338270783235006317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1338270783235006317'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/05/generic-list-sorting-order-by.html' title='generic list sorting - order by'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4589114317083694435</id><published>2011-05-30T11:28:00.000+03:00</published><updated>2011-05-30T11:28:00.974+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet state server'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><title type='text'>Unable to make the session state request to the session state server</title><content type='html'>Error:&lt;br /&gt;Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same.  If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.  If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;ASP.Net State Service maybe doesn't work, or isn't enabled.&lt;br /&gt;To start it go to Administrative Tools --&gt; Services --&gt; ASP.Net State Service...&lt;br /&gt;&lt;br /&gt;To enable it go to Administrative Tools --&gt; ... --&gt; IIS ...&lt;br /&gt;On Windows 7 go to --&gt; Programs and Features --&gt; ... --&gt; ASP.Net ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4589114317083694435?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4589114317083694435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4589114317083694435'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/05/unable-to-make-session-state-request-to.html' title='Unable to make the session state request to the session state server'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6146885201435688212</id><published>2011-04-07T10:44:00.003+03:00</published><updated>2011-04-07T11:58:50.480+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='english'/><title type='text'>Tips &amp; Tricks for English learners</title><content type='html'>&lt;a href="http://www.english.hb.pl/articles/tips/"&gt;http://www.english.hb.pl/articles/tips/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Learning English - tips&lt;br /&gt;&lt;br /&gt;- Mnemonics and mind maps &lt;br /&gt;&lt;br /&gt;- Learn English with Google &lt;br /&gt;&lt;br /&gt;- Song lyrics in Winamp &lt;br /&gt;&lt;br /&gt;- SuperMemo FAQ&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ehow.com/list_6538175_tricks-learn-english.html"&gt;http://www.ehow.com/list_6538175_tricks-learn-english.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Learning English is an arduous endeavor for many people. Some beginners hope to master the language right away, but the difficulties they may encounter in the initial stages of the learning process can be discouraging. New learners should remain steadfast in their efforts and employ strategies that strengthen their commitment, patience, knowledge retention and, perhaps most importantly, enjoyment throughout the learning experience.&lt;br /&gt;&lt;br /&gt;Converse with Native English Speakers&lt;br /&gt;Native English speakers possess a natural flow in their speech that beginners should try to emulate. Over time, practicing speech with a native speaker will help a beginner pronounce awkward words with ease and confidence. Additionally, beginners can familiarize themselves with idiomatic phrases that may be challenging for them to recognize and fully understand in the early stages of learning; native speakers can help convey their meanings more clearly. Moreover, forging a friendship enhances the enjoyment of the learning process.&lt;br /&gt;&lt;br /&gt;Set Achievable Targets&lt;br /&gt;It is important for beginners to set realistic targets so the learning experience is an encouraging--rather than frustrating--one. Goals such as reading a brief news article every day, learning 10 new words throughout the week or listening to a talk radio show every other day are small but achievable and allow learners to progress gradually. Measured improvement strengthens motivation and confidence; on the other hand, setting an overly ambitious goal--such as completely understanding a complex and lengthy novel in just three weeks--can lead to a new learner's unwarranted sense of failure.&lt;br /&gt;&lt;br /&gt;Speech Recording&lt;br /&gt;The LEO Network reports that an auditory learner who interprets the meanings of speech more effectively through listening to intonation, pitch, speed and other nuances can benefit from making a recording of her speech. She then can replay the recording and gauge which words are most problematic for her to articulate. This self-awareness can stimulate her improvement, as she is able to make a more conscious effort when pronouncing difficult words.&lt;br /&gt;&lt;br /&gt;English Films, TV Shows and Songs&lt;br /&gt;Watching English films and television shows and singing along to English songs are entertaining learning methods. Watch films and shows with English subtitles and print out the lyrics to favorite songs in order to learn vocabulary more effectively.&lt;br /&gt;&lt;br /&gt;Structured Instruction&lt;br /&gt;English instruction classes provide a student with the structured tutorial, deadlines, homework and tests that can strengthen his chances for success. He also can benefit from being a part of a supportive community of new learners who share his experience. If needed, private instruction is also an option.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6146885201435688212?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6146885201435688212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6146885201435688212'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/04/tips-tricks-for-english-learners.html' title='Tips &amp; Tricks for English learners'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8836022324822111844</id><published>2011-02-25T09:51:00.000+02:00</published><updated>2011-02-25T09:51:30.867+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='serialization mode'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='clone'/><title type='text'>linq clone error</title><content type='html'>error:&lt;br /&gt;&lt;br /&gt;Object graph for type 'Uye.UyeMacAdresi' contains cycles and cannot be serialized if reference tracking is disabled.&lt;br /&gt;&lt;br /&gt;solution:&lt;br /&gt;&lt;br /&gt;in dbml file change the 'Serialization Mode' to 'Unidirectional'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8836022324822111844?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8836022324822111844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8836022324822111844'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/02/linq-clone-error.html' title='linq clone error'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6840134090056379114</id><published>2011-02-22T13:50:00.001+02:00</published><updated>2011-02-22T13:51:14.112+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='overload method'/><title type='text'>method overload with single method</title><content type='html'>&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 8pt;"&gt;private&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; ShowInfo(&lt;span style="color: blue;"&gt;string&lt;/span&gt; info, &lt;span style="color: blue;"&gt;bool&lt;/span&gt; stayOnPage = &lt;span style="color: blue;"&gt;true&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none; text-indent: 35.4pt;"&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt;PopupInfo1.SetFunctionality(stayOnPage);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt;usage:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt;ShowInfo(&lt;span style="color: #a31515;"&gt;"Policy not found!"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt;or&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-autospace: none;"&gt;&lt;span style="font-family: Consolas; font-size: 8pt;"&gt;ShowInfo(&lt;span style="color: #a31515;"&gt;"Policy not found!", &lt;/span&gt;&lt;span style="color: blue;"&gt;false&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6840134090056379114?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6840134090056379114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6840134090056379114'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/02/method-overload-with-single-method.html' title='method overload with single method'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2393199176592370461</id><published>2011-02-16T15:12:00.000+02:00</published><updated>2011-02-16T15:12:33.046+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='try-catch'/><title type='text'>t-sql - Retrieving Error Information</title><content type='html'>-- Create procedure to retrieve error information.&lt;br /&gt;CREATE PROCEDURE usp_GetErrorInfo&lt;br /&gt;AS&lt;br /&gt;SELECT&lt;br /&gt;ERROR_NUMBER() AS ErrorNumber&lt;br /&gt;,ERROR_SEVERITY() AS ErrorSeverity&lt;br /&gt;,ERROR_STATE() AS ErrorState&lt;br /&gt;,ERROR_PROCEDURE() AS ErrorProcedure&lt;br /&gt;,ERROR_LINE() AS ErrorLine&lt;br /&gt;,ERROR_MESSAGE() AS ErrorMessage;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- Sample:&lt;br /&gt;BEGIN TRY&lt;br /&gt;-- Generate divide-by-zero error.&lt;br /&gt;SELECT 1/0;&lt;br /&gt;END TRY&lt;br /&gt;BEGIN CATCH&lt;br /&gt;-- Execute error retrieval routine.&lt;br /&gt;EXECUTE usp_GetErrorInfo;&lt;br /&gt;END CATCH;&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/en-us/library/ms175976.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2393199176592370461?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2393199176592370461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2393199176592370461'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/02/t-sql-retrieving-error-information.html' title='t-sql - Retrieving Error Information'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8897255746633503134</id><published>2011-02-16T14:51:00.000+02:00</published><updated>2011-02-16T14:51:38.907+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exception'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>linq - Row not found or changed</title><content type='html'>trouble:&lt;br /&gt;&lt;br /&gt;var daskTeklif = _context.tblDaskTeklifs.SingleOrDefault(dt =&gt; dt.teklif_id == TeklifTkID);&lt;br /&gt;daskTeklif.SirketPoliceNo = policeNo;&lt;br /&gt;_context.SubmitChanges();&lt;br /&gt;&lt;br /&gt;throws an exception: System.Data.Linq.ChangeConflictException: Row not found or changed.&lt;br /&gt;&lt;br /&gt;solution:&lt;br /&gt;&lt;br /&gt;creating a new datacontext:&lt;br /&gt;&lt;br /&gt;var context = new DataClassesDataContext();&lt;br /&gt;daskTeklif = context.tblDaskTeklifs.SingleOrDefault(dt =&gt; dt.teklif_id == TeklifTkID);&lt;br /&gt;daskTeklif.sirketPoliceNo = policeNo;&lt;br /&gt;context.SubmitChanges();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8897255746633503134?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8897255746633503134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8897255746633503134'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/02/linq-row-not-found-or-changed.html' title='linq - Row not found or changed'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5983890477320245004</id><published>2011-01-24T12:45:00.001+02:00</published><updated>2011-01-24T12:45:42.062+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='serialization'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>cycle error on cloning linq object</title><content type='html'>error: "Object graph for type 'TestLinq.PersonAddress' contains cycles and cannot be serialized if reference tracking is disabled.”&lt;br /&gt;&lt;br /&gt;solution: change the 'Serialization Mode' to 'Unidirectional'.&lt;br /&gt;&lt;br /&gt;source: http://stackoverflow.com/questions/1432501/clone-linq-object-error-object-graph-for-type-testlinq-personaddress-contains&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5983890477320245004?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5983890477320245004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5983890477320245004'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/01/cycle-error-on-cloning-linq-object.html' title='cycle error on cloning linq object'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5569931069080601005</id><published>2011-01-24T12:41:00.001+02:00</published><updated>2011-01-24T12:46:40.440+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='DataContractSerializer'/><title type='text'>clone linq object</title><content type='html'>/// &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;summary&gt;&lt;br /&gt;/// Clones any object and returns the new cloned object.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;/// &lt;typeparam name="T"&gt;The type of object.&lt;/typeparam&gt;&lt;br /&gt;/// &lt;br /&gt;&lt;param name="source" /&gt;The original object./// &lt;returns&gt;The clone of the object.&lt;/returns&gt;&lt;br /&gt;public static T Clone&lt;t&gt;(T source)&lt;br /&gt;{&lt;br /&gt;var dcs = new DataContractSerializer(typeof(T));&lt;br /&gt;using (var ms = new System.IO.MemoryStream())&lt;br /&gt;{&lt;br /&gt;dcs.WriteObject(ms, source);&lt;br /&gt;ms.Seek(0, System.IO.SeekOrigin.Begin);&lt;br /&gt;return (T)dcs.ReadObject(ms);&lt;br /&gt;}&lt;br /&gt;}&lt;/t&gt;&lt;br /&gt;&lt;br /&gt;source:http://stackoverflow.com/questions/2178080/linq-to-sql-copy-original-entity-to-new-one-and-save&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5569931069080601005?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5569931069080601005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5569931069080601005'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2011/01/clone-linq-object.html' title='clone linq object'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5682238676413931117</id><published>2010-11-20T16:27:00.001+02:00</published><updated>2010-11-20T16:56:28.897+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='session'/><title type='text'>session killer script</title><content type='html'>this one line of script is a killer of asp.net session on ie 7, 8, and 9 browsers (maybe ie6, i didn't test it):&lt;br /&gt;&lt;br /&gt;$(document).ready(function() {&lt;br /&gt;// for remembering the selected tabs&lt;br /&gt;$("div[id*='tabs']").tabs({ cookie: { expires: 999, name: this.id }, cache: false, collapsible: true });&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;script'i 2 parça halinde yazmak buna neden oluyor.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// for remembering the selected tabs&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("div[id*='tabs']").tabs({ cookie: { expires: 999, name: this.id }, cache: false, collapsible: true });&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// fade effect&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("div[id*='tabs']").tabs({&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fx: {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;opacity: 'toggle',&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;duration: 'fast'&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;},&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cookie: { expires: 999, name: this.id }, cache: false, collapsible: true&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5682238676413931117?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5682238676413931117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5682238676413931117'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/11/session-killer-script.html' title='session killer script'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6132334234110577062</id><published>2010-10-26T10:01:00.004+03:00</published><updated>2010-10-26T10:03:57.232+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><title type='text'>t-sql find object references</title><content type='html'>select object_name(object_id), OBJECT_DEFINITION(object_id)&lt;br /&gt;from sys.objects&lt;br /&gt;where OBJECT_DEFINITION(object_id) like '%CDS%' and type='P'&lt;br /&gt;&lt;br /&gt;örn: ProductId alanının kullanıldığı sp'ler.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6132334234110577062?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6132334234110577062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6132334234110577062'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/10/t-sql-find-object-references.html' title='t-sql find object references'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6190037281329496559</id><published>2010-10-23T23:22:00.000+03:00</published><updated>2010-10-23T23:22:01.966+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='streamreader'/><category scheme='http://www.blogger.com/atom/ns#' term='türkçe karakter'/><title type='text'>streamreader encoding</title><content type='html'>sorun: doğru encoding verilmezse türkçe karakterler okunamıyor.&lt;br /&gt;&lt;br /&gt;çözüm:&lt;br /&gt;StreamReader sr = new StreamReader("ornek.txt", Encoding.GetEncoding("windows-1254"));&lt;br /&gt;textBox1.Text = sr.ReadToEnd();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6190037281329496559?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6190037281329496559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6190037281329496559'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/10/streamreader-encoding.html' title='streamreader encoding'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7610471447476898502</id><published>2010-09-24T08:47:00.002+03:00</published><updated>2010-10-25T11:16:18.400+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>Value cannot be null. Parameter name: name</title><content type='html'>add web reference ile web service eklenirken, veya web service çalıştırılırken, dbml'in güncel olmaması nedeniyle bulunamayan nesneler (stored procedure vb.) bu hataya neden olabiliyor.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_K93KPWmf3aw/TJw7V-qFGGI/AAAAAAAAAME/eiu1ozJ20XY/s1600/value-can-not-be-null.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_K93KPWmf3aw/TJw7V-qFGGI/AAAAAAAAAME/eiu1ozJ20XY/s1600/value-can-not-be-null.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7610471447476898502?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7610471447476898502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7610471447476898502'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/09/value-cannot-be-null-parameter-name.html' title='Value cannot be null. Parameter name: name'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_K93KPWmf3aw/TJw7V-qFGGI/AAAAAAAAAME/eiu1ozJ20XY/s72-c/value-can-not-be-null.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2224515707498691278</id><published>2010-09-15T09:15:00.001+03:00</published><updated>2010-09-15T09:19:42.544+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='view'/><title type='text'>indexed view with schemabinding</title><content type='html'>ALTER VIEW [dbo].[Vw_View1] WITH SCHEMABINDING AS &lt;br /&gt;SELECT&amp;nbsp;...&lt;br /&gt;FROM ...&lt;br /&gt;&lt;br /&gt;CREATE UNIQUE CLUSTERED INDEX [IX_Index1] ON [dbo].[Vw_View1]  &lt;br /&gt;( &lt;br /&gt;[Column1] ASC &lt;br /&gt;) &lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;related errors:&lt;br /&gt;Cannot create index on view &amp;nbsp;because the view is not schema bound.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.mssqltips.com/tip.asp?tip=1610"&gt;http://www.mssqltips.com/tip.asp?tip=1610&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2224515707498691278?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2224515707498691278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2224515707498691278'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/09/indexed-view-with-schemabinding.html' title='indexed view with schemabinding'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6880475895235099312</id><published>2010-09-14T19:02:00.000+03:00</published><updated>2010-09-14T19:02:06.372+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='prerender'/><title type='text'>checkboxlist prerender</title><content type='html'>protected void cblDilekceTipi_PreRender(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;foreach (ListItem item in cblDilekceTipi.Items)&lt;br /&gt;{&lt;br /&gt;item.Text = item.Text.Replace(" Dilekçesi", "");&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6880475895235099312?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6880475895235099312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6880475895235099312'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/09/checkboxlist-prerender.html' title='checkboxlist prerender'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8270847785014828212</id><published>2010-09-14T03:22:00.000+03:00</published><updated>2010-09-14T03:22:54.862+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ie6'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>ie6 background image</title><content type='html'>{ background: transparent url('../img/external.gif') no-repeat; padding-left: 10px; &lt;b&gt;height: 20px; float: left; position: relative;&lt;/b&gt; filter: alpha(opacity=40); opacity: .40; }&lt;br /&gt;&lt;br /&gt;the critical points are bold.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8270847785014828212?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8270847785014828212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8270847785014828212'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/09/ie6-background-image.html' title='ie6 background image'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6887335352401023199</id><published>2010-08-24T20:03:00.000+03:00</published><updated>2010-08-24T20:03:51.730+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fixed bottom bar'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>fixed bottom bar (facebook style) with jquery</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_K93KPWmf3aw/THP7MadbNFI/AAAAAAAAALM/uhYHgItmCmY/s1600/fixed-bottom-bar.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="275" src="http://2.bp.blogspot.com/_K93KPWmf3aw/THP7MadbNFI/AAAAAAAAALM/uhYHgItmCmY/s640/fixed-bottom-bar.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;http://ryan.rawswift.com/2009/02/15/fixed-that-bar-at-the-bottom-like-facebook/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6887335352401023199?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6887335352401023199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6887335352401023199'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/fixed-bottom-bar-facebook-style-with.html' title='fixed bottom bar (facebook style) with jquery'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_K93KPWmf3aw/THP7MadbNFI/AAAAAAAAALM/uhYHgItmCmY/s72-c/fixed-bottom-bar.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3265704750412564279</id><published>2010-08-24T18:59:00.001+03:00</published><updated>2010-08-24T19:05:44.616+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery ui tabs'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery tab'/><title type='text'>jquery ui tabs sayfa yüklenirken dağılma sorunu</title><content type='html'>sayfanın tamamı yüklenmeden önce, yani document.ready sırasında çalışacak ve tab'ları düzenleyecek tabs metodu çalışmadan önce, tab'lar açık görünüyor. bunun önüne geçmek için kullanılabilecek bir yol; tab içeriğini gizlemek, sayfa yüklendikten sonra göstermek:&lt;br /&gt;&lt;br /&gt;$("div[id*='tabs']").tabs({&lt;br /&gt;fx: {&lt;br /&gt;opacity: 'toggle',&lt;br /&gt;duration: 'fast'&lt;br /&gt;}&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;$(document).ready(function() {&lt;br /&gt;document.getElementById('toptab').style.display = 'block';&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/1069758/should-jquery-tabs-be-inside-document-ready&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3265704750412564279?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3265704750412564279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3265704750412564279'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/jquery-ui-tabs-sayfa-yuklenirken.html' title='jquery ui tabs sayfa yüklenirken dağılma sorunu'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3585558048288048747</id><published>2010-08-23T14:26:00.003+03:00</published><updated>2010-08-23T14:27:39.057+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='tipsy'/><title type='text'>jquery tipsy ie tooltip bug fix</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_K93KPWmf3aw/THJayYiQ8CI/AAAAAAAAALE/yP-X9tDds9A/s1600/tipsy-ie-bug-fix.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="416" src="http://2.bp.blogspot.com/_K93KPWmf3aw/THJayYiQ8CI/AAAAAAAAALE/yP-X9tDds9A/s640/tipsy-ie-bug-fix.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;http://github.com/jaz303/tipsy/commit/88923af6ee0e18ac252dfc3034661674b7670a97&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3585558048288048747?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3585558048288048747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3585558048288048747'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/jquery-tipsy-ie-tooltip-bug-fix.html' title='jquery tipsy ie tooltip bug fix'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_K93KPWmf3aw/THJayYiQ8CI/AAAAAAAAALE/yP-X9tDds9A/s72-c/tipsy-ie-bug-fix.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3241658484386938937</id><published>2010-08-21T20:18:00.001+03:00</published><updated>2010-08-21T20:18:29.384+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='initcap'/><title type='text'>initcap: set first letter uppercase, rest of other lowercase</title><content type='html'>CREATE FUNCTION [dbo].[InitCap] ( @InputString varchar(4000) ) &lt;br /&gt;RETURNS VARCHAR(4000)&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;DECLARE @Index          INT&lt;br /&gt;DECLARE @Char           CHAR(1)&lt;br /&gt;DECLARE @PrevChar       CHAR(1)&lt;br /&gt;DECLARE @OutputString   VARCHAR(255)&lt;br /&gt;&lt;br /&gt;SET @OutputString = LOWER(@InputString)&lt;br /&gt;SET @Index = 1&lt;br /&gt;&lt;br /&gt;WHILE @Index &lt;= LEN(@InputString)&lt;br /&gt;BEGIN&lt;br /&gt;SET @Char     = SUBSTRING(@InputString, @Index, 1)&lt;br /&gt;SET @PrevChar = CASE WHEN @Index = 1 THEN ' '&lt;br /&gt;ELSE SUBSTRING(@InputString, @Index - 1, 1)&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;IF @PrevChar IN (' ', ';', ':', '!', '?', ',', '.', '_', '-', '/', '&amp;', '''', '(')&lt;br /&gt;BEGIN&lt;br /&gt;IF @PrevChar != '''' OR UPPER(@Char) != 'S'&lt;br /&gt;SET @OutputString = STUFF(@OutputString, @Index, 1, UPPER(@Char))&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;SET @Index = @Index + 1&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;RETURN @OutputString&lt;br /&gt;&lt;br /&gt;END&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.sql-server-helper.com/functions/initcap.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3241658484386938937?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3241658484386938937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3241658484386938937'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/initcap-set-first-letter-uppercase-rest.html' title='initcap: set first letter uppercase, rest of other lowercase'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3910894572627881152</id><published>2010-08-19T22:35:00.000+03:00</published><updated>2010-08-19T22:35:26.261+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='treenode'/><category scheme='http://www.blogger.com/atom/ns#' term='treeview'/><title type='text'>select a treenode, and expand all parent nodes of it</title><content type='html'>select a treenode, and expand all parent nodes of it.&lt;br /&gt;&lt;br /&gt;private void SetSelectedNode(int sira)&lt;br /&gt;    {&lt;br /&gt;        if (sira &gt; 0)&lt;br /&gt;        {&lt;br /&gt;            TreeNode selectedNode = null;&lt;br /&gt;            foreach (TreeNode node in tvMadde.Nodes)&lt;br /&gt;            {&lt;br /&gt;                if (node.Value == sira.ToString())&lt;br /&gt;                {&lt;br /&gt;                    selectedNode = node;&lt;br /&gt;                }&lt;br /&gt;&lt;br /&gt;                if (selectedNode == null)&lt;br /&gt;                {&lt;br /&gt;                    if (node.ChildNodes.Count &gt; 0)&lt;br /&gt;                    {&lt;br /&gt;                        selectedNode = GetNode(node, sira);&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;                else&lt;br /&gt;                {&lt;br /&gt;                    selectedNode.Checked = true;&lt;br /&gt;                    selectedNode.Select();&lt;br /&gt;                    if (selectedNode.Parent != null)&lt;br /&gt;                    {&lt;br /&gt;                        //    selectedNode.Parent.Expand();&lt;br /&gt;                        // selectednode'un tüm parent'larını aç&lt;br /&gt;                        ExpandParent(selectedNode);&lt;br /&gt;                    }&lt;br /&gt;&lt;br /&gt;                    break;&lt;br /&gt;                    //return;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            if (selectedNode != null)&lt;br /&gt;            {&lt;br /&gt;                selectedNode.Checked = true;&lt;br /&gt;                selectedNode.Select();&lt;br /&gt;                selectedNode.Parent.Expand();&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    private void ExpandParent(TreeNode childNode)&lt;br /&gt;    {&lt;br /&gt;        if (childNode.Parent != null)&lt;br /&gt;        {&lt;br /&gt;            childNode.Parent.Expand();&lt;br /&gt;           ExpandParent(childNode.Parent);&lt;br /&gt;        }&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3910894572627881152?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3910894572627881152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3910894572627881152'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/select-treenode-and-expand-all-parent.html' title='select a treenode, and expand all parent nodes of it'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4504660610855183465</id><published>2010-08-15T15:22:00.006+03:00</published><updated>2010-08-15T15:25:33.602+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='js'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>making one button click another</title><content type='html'>input type="button" value="File" onclick="document.getElementById('file').click()"&lt;br /&gt;input type="file" style="display:none" id="file" onchange="alert(this.value)"&lt;br /&gt;&lt;br /&gt;http://www.webmasterworld.com/forum91/3606.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4504660610855183465?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4504660610855183465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4504660610855183465'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/making-one-button-click-another.html' title='making one button click another'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4235171901167444423</id><published>2010-08-12T21:14:00.004+03:00</published><updated>2010-08-12T21:20:02.774+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='repeater'/><category scheme='http://www.blogger.com/atom/ns#' term='datalist'/><category scheme='http://www.blogger.com/atom/ns#' term='anonymous type'/><title type='text'>anonymous type in repeater or datalist</title><content type='html'>rptTargets.DataSource = from t in DB.SalesTargets select new { t.Target, t.SalesRep.RepName };&lt;br /&gt;&lt;br /&gt;string repName = (string)DataBinder.Eval(e.Item.DataItem, "RepName");&lt;br /&gt;string target = (string)DataBinder.Eval(e.Item.DataItem, "Target");&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/1212210/anonymous-type-in-repeater-databound-event&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4235171901167444423?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4235171901167444423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4235171901167444423'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/anonymous-type-in-repeater-or-datalist.html' title='anonymous type in repeater or datalist'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4276864609269472847</id><published>2010-08-10T14:47:00.000+03:00</published><updated>2010-08-10T14:47:10.474+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='autocomplete'/><title type='text'>jquery autocomplete turkish character problem</title><content type='html'>sonuçların listelendiği sayfaya aşağıdaki meta tag'i ekle:&lt;br /&gt;&lt;br /&gt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4276864609269472847?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4276864609269472847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4276864609269472847'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/jquery-autocomplete-turkish-character.html' title='jquery autocomplete turkish character problem'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4214029472304829535</id><published>2010-08-05T15:01:00.007+03:00</published><updated>2010-08-05T19:32:44.196+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='ExecuteQuery'/><title type='text'>linq ExecuteQuery return multiple objects</title><content type='html'>// 1. Sadece Table1 sınıfını döndürür:&lt;br /&gt;&lt;br /&gt;var query = "Select t1.*, t2.*,&lt;b&gt; t2.PK&lt;/b&gt;&lt;br /&gt;From Table1 t1&lt;br /&gt;Inner Join Table2 t2 On t2.PK= t1.FK"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// 2. Hem Table1 sınıfını, hem de Table1 sınıfını döndürür:&lt;br /&gt;&lt;br /&gt;var query = "Select t1.*, t2.*,&lt;b&gt; t1.FK&lt;/b&gt;&lt;br /&gt;From Table1 t1&lt;br /&gt;Inner Join Table2 t2 On t2.PK= t1.FK"&lt;br /&gt;&lt;br /&gt;var karars = db.ExecuteQuery&lt;karar&gt;(query).ToList();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// 3. Herhangi bir sınıf'ın örneğini döndürmez. Sadece select ile belirtilen alanları döndürür:&lt;br /&gt;&lt;br /&gt;select new { k.KararId, k.Baslik, k.EsasNo, k.EsasTarihi, k.KararNo, k.KararTarihi, k.Ozet, k.MerciId, m.MerciAdi }).Distinct();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;protected string GetMerciAdi()&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;// durum 2&lt;br /&gt;return Eval("MerciAdi").ToString();&lt;br /&gt;}&lt;br /&gt;catch (Exception)&lt;br /&gt;{&lt;br /&gt;// durum 3&lt;br /&gt;return ((Merci)Eval("Merci")).MerciAdi;&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4214029472304829535?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4214029472304829535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4214029472304829535'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/08/linq-executequery-return-multiple.html' title='linq ExecuteQuery return multiple objects'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2108713296993129133</id><published>2010-07-26T21:52:00.000+03:00</published><updated>2010-07-26T21:52:49.035+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RegisterStartupScript'/><category scheme='http://www.blogger.com/atom/ns#' term='RegisterClientScriptBlock'/><title type='text'>RegisterClientScriptBlock RegisterStartupScript</title><content type='html'>RegisterClientScriptBlock - RegisterStartupScript farkı:&lt;br /&gt;&lt;br /&gt;RegisterStartupScript jquery autocomplete'in çalışmasını engelledi. RegisterClientScriptBlock ile değiştirince sorun ortadan kalktı.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2108713296993129133?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2108713296993129133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2108713296993129133'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/07/registerclientscriptblock.html' title='RegisterClientScriptBlock RegisterStartupScript'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1271631156244029512</id><published>2010-07-16T09:23:00.003+03:00</published><updated>2010-08-12T21:21:38.020+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ResolveClientUrl'/><category scheme='http://www.blogger.com/atom/ns#' term='ResolveUrl'/><title type='text'>resolveclienturl resolveurl</title><content type='html'>ResolveClientUrl("~/css/style.css") : MyWebSite/css/style.css&lt;br /&gt;ResolveUrl("~/css/style.css") : /MyWebSite/css/style.css&lt;br /&gt;&lt;br /&gt;/ : website'ın root'una çıkarıyor.&lt;br /&gt;&lt;br /&gt;urlrewriting uygulandığında css ve js için path sorunu olabiliyor. resolveclienturl yerine resolveurl metodu kullanıldığınd bu sorun ortadan kalkıyor:&lt;br /&gt;&lt;br /&gt;litCss.Text = "link +="" css="" href="" rel="stylesheet" resolveurl("~="" style.css")="" type="text/css"&gt;link";&lt;br /&gt;&lt;br /&gt;bazı durumlarda (ki bunu netleştiremedim henüz) aspx'ten çağrılan protected metodlar çalışmıyor:&lt;br /&gt;&lt;br /&gt;hyperlink'in navigateurl'i için yazdığım protected string getnavigateurl() çağrılmıyor.&lt;br /&gt;ama page_load'da bu hyperlink'in navigateurl'ine değer atayabiliyorum.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1271631156244029512?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1271631156244029512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1271631156244029512'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/07/resolveclienturl-resolveurl.html' title='resolveclienturl resolveurl'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1346394941952919565</id><published>2010-07-14T09:53:00.000+03:00</published><updated>2010-07-14T09:53:56.701+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><title type='text'>basic t-sql commands</title><content type='html'>-- add primary key to a table&lt;br /&gt;ALTER TABLE Karar ADD CONSTRAINT&lt;br /&gt;PK_Karar PRIMARY KEY NONCLUSTERED&lt;br /&gt;(&lt;br /&gt;KararId&lt;br /&gt;) ON [PRIMARY]&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- change data type of a column&lt;br /&gt;alter table Products&lt;br /&gt;alter column ProductName varchar(250)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1346394941952919565?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1346394941952919565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1346394941952919565'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/07/basic-t-sql-commands.html' title='basic t-sql commands'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5800143567401818470</id><published>2010-07-11T12:59:00.002+03:00</published><updated>2010-07-11T13:07:49.231+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='webbrowser'/><category scheme='http://www.blogger.com/atom/ns#' term='ie click sound'/><title type='text'>Supression of Click Sound on WebBrowser Navigate</title><content type='html'>Open the Sounds and Multimedia Control Panel applet (go to Start, Settings, Control Panel, and double-click Sounds and Multimedia).&lt;br /&gt;Select the Sounds tab.&lt;br /&gt;Under Sound Events, navigate to the Internet Explorer section.&lt;br /&gt;Navigate to Start Navigation and remove the sound for this event by selecting "none."&lt;br /&gt;Click OK.&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;Start the registry editor (e.g., regedit.exe).&lt;br /&gt;Navigate to the HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating subkey.&lt;br /&gt;Select the .current subkey.&lt;br /&gt;Select Delete from the Edit menu.&lt;br /&gt;Click Yes in the confirmation dialog box.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://social.msdn.microsoft.com/forums/en-US/winforms/thread/e72b37d2-d20b-4a59-8560-24a10b17db97/"&gt;http://social.msdn.microsoft.com/forums/en-US/winforms/thread/e72b37d2-d20b-4a59-8560-24a10b17db97/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5800143567401818470?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5800143567401818470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5800143567401818470'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/07/supression-of-click-sound-on-webbrowser.html' title='Supression of Click Sound on WebBrowser Navigate'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4371523371425204592</id><published>2010-07-09T21:19:00.001+03:00</published><updated>2010-07-09T21:20:11.669+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='update related table'/><title type='text'>bir tablo uzerinden iliskili diger tabloyu guncelleme</title><content type='html'>UPDATE TABLE1&lt;br /&gt;SET Column1 = (SELECT TABLE2.Column1&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; FROM TABLE2&lt;br /&gt;WHERE TABLE2.IDColumn = TABLE1.IDColumn)&lt;br /&gt;&lt;br /&gt;update yayin&lt;br /&gt;set ukod = s.ukod&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; from yayin y, sayfa1$ s&lt;br /&gt;where s.yayinno = y.yayinno&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4371523371425204592?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4371523371425204592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4371523371425204592'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/07/bir-tablo-uzerinden-iliskili-diger.html' title='bir tablo uzerinden iliskili diger tabloyu guncelleme'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-768697596182377905</id><published>2010-07-09T21:16:00.000+03:00</published><updated>2010-07-09T21:16:22.258+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='cursor'/><category scheme='http://www.blogger.com/atom/ns#' term='current of'/><category scheme='http://www.blogger.com/atom/ns#' term='identity column'/><title type='text'>bir tablonun id alanina deger atamak</title><content type='html'>DECLARE @ID decimal&lt;br /&gt;SET @ID = 0&lt;br /&gt;&lt;br /&gt;DECLARE #cursor CURSOR FOR&lt;br /&gt;(SELECT _ID FROM _TABLE)&lt;br /&gt;&lt;br /&gt;OPEN #cursor&lt;br /&gt;FETCH NEXT FROM #cursor&lt;br /&gt;&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;UPDATE _TABLE&lt;br /&gt;SET _ID = @ID + 1&lt;br /&gt;WHERE CURRENT OF #cursor&lt;br /&gt;SET @ID = @ID + 1&lt;br /&gt;FETCH NEXT FROM #cursor&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;CLOSE #cursor&lt;br /&gt;DEALLOCATE #cursor&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-768697596182377905?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/768697596182377905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/768697596182377905'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/07/bir-tablonun-id-alanina-deger-atamak.html' title='bir tablonun id alanina deger atamak'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1903160569642618588</id><published>2010-07-06T19:43:00.004+03:00</published><updated>2010-07-06T20:04:15.390+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='full-text search'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server'/><title type='text'>sql server full-text search</title><content type='html'>&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;sorun:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;SQL Server encountered error 0x80070218 while communicating with full-text filter daemon host (FDHost) process. Make sure that the FDHost process is running. To re-start the FDHost process, run the sp_fulltext_service 'restart_all_fdhosts' command or restart the SQL Server instance.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;çözüm:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;EXEC sp_fulltext_service 'restart_all_fdhosts'&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;sorun devam ediyorsa:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;sql server configuration manager --&amp;gt; sql full-text filter daemon launcher&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;çalıştığından emin ol.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;sorun devam ediyorsa:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;sql server configuration manager --&amp;gt; sql full-text filter daemon launcher&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;log on as değerinin sql server'ınki ile aynı olduğundan (local system, local service, network service) emin ol.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;tabloya full-text index tanımlama:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;tabloya sağ tık --&amp;gt; full-text index --&amp;gt; define full-text index...&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;full-text index kullanarak arama yapma:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;select *&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;from Mevzuat&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;where contains (MevzuatAdi, 'YERALTI or DEVLET')&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;eğer query sonuç döndürmüyorsa:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;full-text index'i silip yeniden yarat.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;not:&lt;/b&gt;&amp;nbsp;query'nin ilk çalışması yavaş olabilir. diğer çalışmalar hızlı olacaktır.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1903160569642618588?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1903160569642618588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1903160569642618588'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/07/sql-server-full-text-search.html' title='sql server full-text search'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3119390055700972127</id><published>2010-06-30T14:08:00.000+03:00</published><updated>2010-06-30T14:08:27.443+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql backup restore'/><title type='text'>The backup set holds a backup of a database other than the existing database</title><content type='html'>RESTORE DATABASE yourdatabasename&lt;br /&gt;FROM DISK = N'C:\yourbackupfilename' &lt;br /&gt;WITH REPLACE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3119390055700972127?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3119390055700972127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3119390055700972127'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/06/backup-set-holds-backup-of-database.html' title='The backup set holds a backup of a database other than the existing database'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1939552387338303415</id><published>2010-05-26T14:54:00.003+03:00</published><updated>2010-05-26T15:01:34.330+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='embed video'/><category scheme='http://www.blogger.com/atom/ns#' term='jw player'/><title type='text'>redirect page after embedded youtube video ends</title><content type='html'>&amp;lt;script type='text/javascript' src='swfobject.js'&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id='mediaspace'&amp;gt;&lt;br /&gt;This video requires Javascript and Flash&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type='text/javascript'&amp;gt;&lt;br /&gt;var player = null;&lt;br /&gt;function playerReady(thePlayer) {&lt;br /&gt;player = document.getElementsByName('ply')[0];&lt;br /&gt;addListeners();&lt;br /&gt;}&lt;br /&gt;function stateMonitor(obj) {&lt;br /&gt;if (obj.newstate == 'COMPLETED') {&lt;br /&gt;// load a new page&lt;br /&gt;window.location = 'http://www.google.com';&lt;br /&gt;}&lt;br /&gt;};&lt;br /&gt;function addListeners() {&lt;br /&gt;if (player) { player.addModelListener(&amp;quot;STATE&amp;quot;, &amp;quot;stateMonitor&amp;quot;); }&lt;br /&gt;else { setTimeout(&amp;quot;addListeners()&amp;quot;, 100); }&lt;br /&gt;}&lt;br /&gt;//        var s1 = new SWFObject('player-viral.swf', 'ply', '470', '320', '9', '#ffffff');&lt;br /&gt;//        s1.addParam('allowfullscreen', 'false');&lt;br /&gt;//        s1.addParam('allowscriptaccess', 'always');&lt;br /&gt;//        s1.addParam('flashvars', 'file=http://www.youtube.com/v/SXg1qpUiY7Y&amp;amp;autostart=true');&lt;br /&gt;//        s1.write('mediaspace');&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;object id=&amp;quot;thePlayer&amp;quot; classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot; name=&amp;quot;ply&amp;quot; width=&amp;quot;400&amp;quot; height=&amp;quot;315&amp;quot;&amp;gt; &lt;br /&gt;&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;player-viral.swf&amp;quot; /&amp;gt; &lt;br /&gt;&amp;lt;param name=&amp;quot;allowfullscreen&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt; &lt;br /&gt;&amp;lt;param name=&amp;quot;allowscriptaccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt; &lt;br /&gt;&amp;lt;param name=&amp;quot;flashvars&amp;quot; value=&amp;quot;file=video.flv&amp;amp;image=preview.jpg&amp;quot; /&amp;gt; &lt;br /&gt;&amp;lt;embed &lt;br /&gt;type=&amp;quot;application/x-shockwave-flash&amp;quot;&lt;br /&gt;id=&amp;quot;player2&amp;quot;&lt;br /&gt;name=&amp;quot;player2&amp;quot;&lt;br /&gt;src=&amp;quot;player-viral.swf&amp;quot; &lt;br /&gt;width=&amp;quot;400&amp;quot; &lt;br /&gt;height=&amp;quot;315&amp;quot;&lt;br /&gt;allowscriptaccess=&amp;quot;always&amp;quot; &lt;br /&gt;allowfullscreen=&amp;quot;true&amp;quot;&lt;br /&gt;flashvars=&amp;quot;file=&amp;lt;%= VideoPath %&amp;gt;&amp;amp;image=preview.jpg&amp;amp;autostart=true&amp;quot; &lt;br /&gt;/&amp;gt; &lt;br /&gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.warriorforum.com/programming-talk/35546-redirect-another-url-after-embedded-youtube-video-ends-possible.html"&gt;http://www.warriorforum.com/programming-talk/35546-redirect-another-url-after-embedded-youtube-video-ends-possible.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1939552387338303415?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1939552387338303415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1939552387338303415'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/05/redirect-page-after-embedded-youtube.html' title='redirect page after embedded youtube video ends'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7010195459189836647</id><published>2010-05-20T15:59:00.000+03:00</published><updated>2010-05-20T15:59:47.990+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='enable remote connection'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2008'/><title type='text'>enable remote connection on sql server 2008</title><content type='html'>&lt;a href="http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/"&gt;http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;the trick is to enable tcp/ip protocol:&lt;br /&gt;&lt;br /&gt;- On the left window, expand SQL Server Network Configuration -&amp;gt; Protocols for SQLEXPRESS. You see that TCP/IP protocol status is disabled.&lt;br /&gt;&lt;br /&gt;- Right-click on TCP/IP and select Enable to enable the protocol.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7010195459189836647?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7010195459189836647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7010195459189836647'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/05/enable-remote-connection-on-sql-server.html' title='enable remote connection on sql server 2008'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3517393321073769206</id><published>2010-05-05T17:57:00.000+03:00</published><updated>2010-05-05T17:57:12.805+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html parser'/><title type='text'>html parser</title><content type='html'>&lt;a href="http://htmlagilitypack.codeplex.com/"&gt;http://htmlagilitypack.codeplex.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3517393321073769206?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3517393321073769206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3517393321073769206'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/05/html-parser.html' title='html parser'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6869164979545518647</id><published>2010-05-04T17:27:00.002+03:00</published><updated>2010-05-04T17:31:02.897+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='extension methods in linq'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>extension methods in linq</title><content type='html'>public static class MyExtensions&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static IEnumerable&lt;tresult&gt; SelectWhere&lt;tresult&gt;(&lt;/tresult&gt;&lt;/tresult&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; this IEnumerable&lt;tresult&gt; source,&lt;/tresult&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Func&lt;tresult, bool=""&gt; filter)&lt;/tresult,&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var results = new List&lt;tresult&gt;();&lt;/tresult&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (var s in source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (filter(s))&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;results.Add(s);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return results;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private double? GetConvertedPrice(RealEstate realEstate)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return realEstate.Price * exchangeRates[realEstate.PriceCurrencyId.Value - 1].Value;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var realEstates = _db.RealEstates.SelectWhere(re =&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (re.CategoryId == null || catId == null || re.CategoryId == catId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (re.TypeId == null || typeId == null || re.TypeId == typeId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (re.CityId == null || cityId == null || re.CityId == cityId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (re.DistrictId == null || districtId == null || re.DistrictId == districtId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (re.Price == null || priceMin == null || GetConvertedPrice(re) &amp;gt;= priceMin)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (re.Price == null || priceMax == null || GetConvertedPrice(re) &amp;lt;= priceMax)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb383977.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb383977.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6869164979545518647?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6869164979545518647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6869164979545518647'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/05/extension-methods-in-linq.html' title='extension methods in linq'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2671753162156660228</id><published>2010-04-29T17:48:00.003+03:00</published><updated>2010-04-29T18:10:47.131+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='js'/><category scheme='http://www.blogger.com/atom/ns#' term='scriptreference'/><category scheme='http://www.blogger.com/atom/ns#' term='reference'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>jquery reference problem</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_K93KPWmf3aw/S9mhbRYTT6I/AAAAAAAAAKE/ix2JXZU2C-4/s1600/cssjs.ascx.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_K93KPWmf3aw/S9mhbRYTT6I/AAAAAAAAAKE/ix2JXZU2C-4/s320/cssjs.ascx.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2671753162156660228?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2671753162156660228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2671753162156660228'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/relstylesheet-typetextcss.html' title='jquery reference problem'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_K93KPWmf3aw/S9mhbRYTT6I/AAAAAAAAAKE/ix2JXZU2C-4/s72-c/cssjs.ascx.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1948713994131680464</id><published>2010-04-27T16:53:00.001+03:00</published><updated>2010-04-27T16:53:53.385+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='generic list sorting'/><title type='text'>sort a generic list</title><content type='html'>public struct SlideObject : IComparable&lt;slideobject&gt;&lt;br /&gt;{&lt;br /&gt;public int Id { get; set; }&lt;br /&gt;public string Title { get; set; }&lt;br /&gt;public string NavUrl { get; set; }&lt;br /&gt;public string ImgUrl { get; set; }&lt;br /&gt;public DateTime AddDate { get; set; }&lt;br /&gt;&lt;br /&gt;public static Comparison&lt;slideobject&gt; AddDateComparison = (so1, so2) =&gt; so1.AddDate.CompareTo(so2.AddDate);&lt;br /&gt;&lt;br /&gt;//public static Comparison&lt;slideobject&gt; AddDateComparison = delegate(SlideObject so1, SlideObject so2)&lt;br /&gt;//{&lt;br /&gt;//    return so1.AddDate.CompareTo(so2.AddDate);&lt;br /&gt;//};&lt;br /&gt;&lt;br /&gt;#region IComparable&lt;slideobject&gt; Members&lt;br /&gt;&lt;br /&gt;public int CompareTo(SlideObject other)&lt;br /&gt;{&lt;br /&gt;return AddDate.CompareTo(other.AddDate);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#endregion&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dotnetslackers.com/community/blogs/simoneb/archive/2007/06/20/How-to-sort-a-generic-List_3C00_T_3E00_.aspx"&gt;http://dotnetslackers.com/community/blogs/simoneb/archive/2007/06/20/How-to-sort-a-generic-List_3C00_T_3E00_.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/KB/linq/Article.aspx?aid=27834"&gt;http://www.codeproject.com/KB/linq/Article.aspx?aid=27834&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1948713994131680464?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1948713994131680464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1948713994131680464'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/sort-generic-list.html' title='sort a generic list'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7116118933529526851</id><published>2010-04-27T15:58:00.006+03:00</published><updated>2010-04-27T16:12:20.792+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='export to excel'/><title type='text'>export data to excel in asp.net</title><content type='html'>Page Language="C#" AutoEventWireup="true" EnableEventValidation="false"&lt;br /&gt;&lt;br /&gt;public override void VerifyRenderingInServerForm(Control control) {&lt;br /&gt;/* Confirms that an HtmlForm control is rendered for the specified ASP.NET&lt;br /&gt;           server control at run time. */&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//Export to Excel from a GridView&lt;br /&gt;protected void ExportToExcel() {&lt;br /&gt;Response.Clear();&lt;br /&gt;Response.Buffer = true;&lt;br /&gt;Response.ContentType = "application/vnd.ms-excel";&lt;br /&gt;Response.AddHeader("content-disposition", "attachment;filename=MyFiles.xls");&lt;br /&gt;&lt;br /&gt;// for turkish support&lt;br /&gt;Response.ContentEncoding = Encoding.GetEncoding("ISO-8859-9");&lt;br /&gt;Response.Charset = "ISO-8859-9";&lt;br /&gt;&lt;br /&gt;this.EnableViewState = false;&lt;br /&gt;&lt;br /&gt;System.IO.StringWriter sw = new System.IO.StringWriter();&lt;br /&gt;System.Web.UI.HtmlTextWriter htw = new System.Web.UI.HtmlTextWriter(sw);&lt;br /&gt;&lt;br /&gt;gvFiles.RenderControl(htw);&lt;br /&gt;&lt;br /&gt;Response.Write(sw.ToString());&lt;br /&gt;Response.End();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/erikaehrli/archive/2009/01/30/how-to-export-data-to-excel-from-an-asp-net-application-avoid-the-file-format-differ-prompt.aspx"&gt;http://blogs.msdn.com/erikaehrli/archive/2009/01/30/how-to-export-data-to-excel-from-an-asp-net-application-avoid-the-file-format-differ-prompt.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7116118933529526851?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7116118933529526851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7116118933529526851'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/export-data-to-excel-in-aspnet.html' title='export data to excel in asp.net'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6680687474594015647</id><published>2010-04-22T13:48:00.004+03:00</published><updated>2010-04-30T15:30:47.304+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regular expression'/><title type='text'>regular expression samples</title><content type='html'>&lt;b&gt;\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*&lt;/b&gt; email address &lt;b&gt;abc@defg.com&lt;/b&gt;&lt;br /&gt;&lt;b&gt;^{3,50}$&lt;/b&gt; at least 3 characters &lt;b&gt;a25&lt;/b&gt;&lt;br /&gt;&lt;b&gt;(\d{3} ?)?\d{3} \d{2} \d{2}&lt;/b&gt; phone &lt;b&gt;(212) 212 12 12&lt;/b&gt;&lt;br /&gt;&lt;b&gt;(\d{4})&lt;/b&gt;&amp;nbsp;4-digit number &lt;b&gt;2010&lt;/b&gt;&lt;br /&gt;&lt;b&gt;^(\d{1,3}(\,\d{3})*|(\d+))(\.\d{1,2})?$&lt;/b&gt;&amp;nbsp;price &lt;b&gt;123,456.78&lt;/b&gt;&lt;br /&gt;&lt;b&gt;(?=.*\d)&lt;/b&gt; must contain at least one numeric character&lt;br /&gt;&lt;b&gt;(?=.*[a-z])&lt;/b&gt; must contain one lowercase character&lt;br /&gt;&lt;b&gt;(?=.*[A-Z])&lt;/b&gt; must contain one uppercase character&lt;br /&gt;&lt;b&gt;.{8,10}&lt;/b&gt; From 8 to 10 characters in length&lt;br /&gt;&lt;b&gt;\s&lt;/b&gt; allows a space&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6680687474594015647?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6680687474594015647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6680687474594015647'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/regular-expression-samples.html' title='regular expression samples'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5863858227541681631</id><published>2010-04-21T15:28:00.003+03:00</published><updated>2010-04-21T15:29:17.283+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery slider'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>add timer to jquery coda slider</title><content type='html'>add this code row to coda-slider.js file:&lt;br /&gt;&lt;br /&gt;var cycleTimer = setInterval(function (){$scroll.trigger('next')}, 5000);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5863858227541681631?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5863858227541681631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5863858227541681631'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/add-timer-to-jquery-coda-slider.html' title='add timer to jquery coda slider'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5494089126018101198</id><published>2010-04-09T14:28:00.000+03:00</published><updated>2010-04-09T14:28:39.865+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iis 7'/><category scheme='http://www.blogger.com/atom/ns#' term='ftp'/><category scheme='http://www.blogger.com/atom/ns#' term='ftp 7'/><title type='text'>failed to retrieve directory listing</title><content type='html'>&lt;b&gt;solution :&lt;/b&gt; c:\windows\system32\inetsrv\inetpub.exe is the file you need to add to your exceptions in Windows Server 2008.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.methodicmadness.com/2008/10/iis-70-ftp-7-and-firewalls.html"&gt;IIS 7.0, FTP 7, and Firewalls&lt;/a&gt;&lt;br /&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/winserver2008appcompatabilityandcertification/thread/72ea0c7d-1071-4637-a38f-e77195e8a738"&gt;FTP on Windows 2008 Server - Firewall Solution&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5494089126018101198?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5494089126018101198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5494089126018101198'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/failed-to-retrieve-directory-listing.html' title='failed to retrieve directory listing'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1514538848533348974</id><published>2010-04-09T11:10:00.003+03:00</published><updated>2010-04-09T11:11:49.655+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='SCRIPTMANAGER'/><category scheme='http://www.blogger.com/atom/ns#' term='conflict'/><title type='text'>conflict between asp.net scriptmanager with jquery</title><content type='html'>&lt;span class="Apple-style-span" style="color: #333333; font-family: Georgia, serif; font-size: 13px; line-height: 20px;"&gt;solution links :&lt;br /&gt;&lt;a href="http://encosia.com/2009/03/25/document-ready-and-pageload-are-not-the-same/" style="color: #999999; text-decoration: none;"&gt;http://encosia.com/2009/03/25/document-ready-and-pageload-are-not-the-same/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://api.jquery.com/live/" style="color: #999999; text-decoration: none;"&gt;http://api.jquery.com/live/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://encosia.com/2008/09/28/avoid-this-tricky-conflict-between-aspnet-ajax-and-jquery/" style="color: #999999; text-decoration: none;"&gt;http://encosia.com/2008/09/28/avoid-this-tricky-conflict-between-aspnet-ajax-and-jquery/&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1514538848533348974?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1514538848533348974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1514538848533348974'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/conflict-between-aspnet-scriptmanager.html' title='conflict between asp.net scriptmanager with jquery'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4323141283863744147</id><published>2010-04-09T10:49:00.002+03:00</published><updated>2010-04-09T10:50:14.468+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iis configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='iis'/><title type='text'>unrecognized configuration section connectionstrings</title><content type='html'>error : Unrecognized configuration section 'connectionStrings'&lt;br /&gt;&lt;br /&gt;solution : change the Framework to version 2.0 in IIS (tab of ASP.NET).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4323141283863744147?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4323141283863744147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4323141283863744147'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/unrecognized-configuration-section.html' title='unrecognized configuration section connectionstrings'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4878966788535712894</id><published>2010-04-07T11:20:00.004+03:00</published><updated>2010-04-07T11:26:42.437+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='left join'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>linq : left join with linq</title><content type='html'>&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var vehicles = (from vehicle in DB.Vehicles&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;join brand in DB.VehicleBrands on vehicle.BrandId equals brand.Id &lt;b&gt;into data_b from b in data_b.DefaultIfEmpty()&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;join model in DB.VehicleModels on vehicle.ModelId equals model.Id into &lt;b&gt;data_m from m in data_m.DefaultIfEmpty()&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;join type in DB.VehicleTypes on vehicle.TypeId equals type.Id &lt;b&gt;into data_t from t in data_t.DefaultIfEmpty()&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;where&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(brandId == null || vehicle.BrandId == brandId) &amp;amp;&amp;amp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(modelId == null || vehicle.ModelId == modelId) &amp;amp;&amp;amp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(typeId == null || vehicle.TypeId == typeId) &amp;amp;&amp;amp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(priceMin == null || vehicle.Price &amp;gt;= priceMin) &amp;amp;&amp;amp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(priceMax == null || vehicle.Price &amp;lt;= priceMax) &amp;amp;&amp;amp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vehicle.IsDeleted == false &amp;amp;&amp;amp; vehicle.IsActive == true &amp;amp;&amp;amp; vehicle.IsSold == false&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;orderby vehicle.CreateDate descending&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select new&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vehicle.Id,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vehicle.Title,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;b&lt;/b&gt;.BrandName,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;m&lt;/b&gt;.ModelName,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vehicle.Price,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vehicle.CreateDate,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vehicle.PhotoPath&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gvVehicle.DataSource = vehicles;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gvVehicle.DataBind();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4878966788535712894?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4878966788535712894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4878966788535712894'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/04/left-join-with-linq.html' title='linq : left join with linq'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1764370404975679888</id><published>2010-03-31T16:58:00.004+03:00</published><updated>2010-03-31T17:02:22.432+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net facebook application'/><title type='text'>Could not deserialize data returned from server</title><content type='html'>If you should happen to see this error when calling &lt;b&gt;Users.GetInfo()&lt;/b&gt; it's because facebook changed something in the way their hs_info is passed down and the C# API is not expecting nullable values.&lt;br /&gt;&lt;br /&gt;Here is the fix:&lt;br /&gt;&lt;br /&gt;recompile the binaries from source with the following members and their referencing properties set to set to int?&lt;br /&gt;&lt;br /&gt;These are members of &amp;gt; Facebook.Schema.hs_info&lt;br /&gt;&lt;br /&gt;private int? grad_yearField;&lt;br /&gt;private int? hs1_idField;&lt;br /&gt;private int? hs2_idField;&lt;br /&gt;&lt;br /&gt;If you don't have the capability or need to get your site running ASAP.. i've attached the binaries with this change already compiled in.&lt;br /&gt;&lt;br /&gt;~Lucas Smolic&lt;br /&gt;&lt;br /&gt;File Attachments&lt;br /&gt;&lt;a href="http://facebooktoolkit.codeplex.com/Project/Download/AttachmentDownload.ashx?ProjectName=FacebookToolkit&amp;amp;WorkItemId=17036&amp;amp;FileAttachmentId=3289"&gt;recompiled_binaries.zip&lt;/a&gt;&lt;br /&gt;&lt;a href="http://facebooktoolkit.codeplex.com/Project/Download/AttachmentDownload.ashx?ProjectName=FacebookToolkit&amp;amp;WorkItemId=17036&amp;amp;FileAttachmentId=3291"&gt;Xsd2CodeSource.cs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://facebooktoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=17036"&gt;http://facebooktoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=17036&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1764370404975679888?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1764370404975679888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1764370404975679888'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/could-not-deserialize-data-returned.html' title='Could not deserialize data returned from server'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5396208160852734866</id><published>2010-03-29T17:02:00.002+03:00</published><updated>2010-03-29T17:03:14.935+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net facebook application'/><title type='text'>facebook application notes</title><content type='html'>* &lt;b&gt;Canvas Callback URL&lt;/b&gt;&lt;br /&gt;&lt;i&gt;debug yapabilmek&amp;nbsp;için&lt;/i&gt;,&lt;br /&gt;http://localhost:3681/Musicower.Web.Test/&lt;br /&gt;'e ayarlarsın ve lokaldeki kodlar çalışır.&lt;br /&gt;&lt;i&gt;yayına almak için&lt;/i&gt;, sunucu adresine ayarlarsın;&lt;br /&gt;http://212.154.37.195/Musicower/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5396208160852734866?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5396208160852734866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5396208160852734866'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/facebook-application-notes.html' title='facebook application notes'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2243942905126353119</id><published>2010-03-22T17:34:00.000+02:00</published><updated>2010-03-22T17:34:10.269+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='duplicate records'/><title type='text'>t-sql: how to delete duplicate records</title><content type='html'>Method 1: SET ROWCOUNT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Syntax for SET ROWCOUNT is as follows:&lt;br /&gt;&lt;br /&gt;SET ROWCOUNT { number | @number_var }&lt;br /&gt;SET ROWCOUNT limits the sql server engine to process a specific number of rows. So the process stops after the defined number of rows are reached. The default value for ROWCOUNT is 0 which means no limit on the returning result set so all rows are returned. After a ROWCOUNT command is run and all processes are completed, you can also set the ROWCOUNT to 0 to turn off this option.&lt;br /&gt;&lt;br /&gt;If we return back to our sample, in order to delete four times repeated rows, we can set the ROWCOUNT value to 3&lt;br /&gt;&lt;br /&gt;SET ROWCOUNT 3&lt;br /&gt;DELETE FROM Users WHERE FirstName = N'Elvis' AND LastName = N'Presley'&lt;br /&gt;SET ROWCOUNT 0&lt;br /&gt;-- (3 row(s) affected)&lt;br /&gt;After running the above DELETE FROM command with SET ROWCOUNT statement, the last status of the table Users as below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We are successfull to delete the identical rows with the row number 9 in the above picture.&lt;br /&gt;&lt;br /&gt;If you want to delete the identical records automatically we can use a cursor. It is important that while you are declaring the cursor for dublicate rows, you should select the count of identical rows minus one, since we want one of the dublicated records exist in the table after delete processes.&lt;br /&gt;&lt;br /&gt;You should also pay attention to the SET ROWCOUNT commands around the DELETE FROM command in the body of the cursor.&lt;br /&gt;&lt;br /&gt;DECLARE @Count int&lt;br /&gt;DECLARE @FirstName nvarchar(50)&lt;br /&gt;DECLARE @LastName nvarchar(50)&lt;br /&gt;&lt;br /&gt;DECLARE dublicate_cursor CURSOR FAST_FORWARD FOR &lt;br /&gt;SELECT FirstName, LastName, Count(*) - 1&lt;br /&gt;FROM Users &lt;br /&gt;GROUP BY FirstName, LastName &lt;br /&gt;HAVING Count(*) &amp;gt; 1&lt;br /&gt;&lt;br /&gt;OPEN dublicate_cursor &lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM dublicate_cursor INTO @FirstName, @LastName, @Count&lt;br /&gt;&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;SET ROWCOUNT @Count&lt;br /&gt;DELETE FROM Users WHERE FirstName = @FirstName AND LastName = @LastName&lt;br /&gt;SET ROWCOUNT 0&lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM dublicate_cursor INTO @FirstName, @LastName, @Count&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;CLOSE dublicate_cursor &lt;br /&gt;DEALLOCATE dublicate_cursor&lt;br /&gt;&lt;br /&gt;Method 2: TOP&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A second method we can use while removing dublicate records from Users table is using the TOP expression in DELETE statement. With the release of SQL Server 2005, as an T-SQL enhancement TOP expression now takes a variable where else in SQL Server 2000 TOP was expecting a constant numeric value. This is very useful since if we decide to use a cursor, etc to delete all dublicates once, we may use a variable with the TOP expression.&lt;br /&gt;&lt;br /&gt;If we return back to our original sample data in the Users table, we can run a similar command to remove two of the three identical records having firstname equal to Jane and last name equal to Fonda&lt;br /&gt;&lt;br /&gt;DELETE TOP (2) FROM Users&lt;br /&gt;WHERE FirstName = N'Jane' AND LastName = N'Fonda'&lt;br /&gt;If you have not used the (n) syntax, you shoul get the following error; don't worry, just use the paranthesis.&lt;br /&gt;&lt;br /&gt;Msg 102, Level 15, State 1, Line 2&lt;br /&gt;Incorrect syntax near '2'.&lt;br /&gt;You can guess that we can use this DELETE TOP combination within a cursor in order to remove all the dublicated records leaving only one of them in the sample table. Here is the cursor that we can use:&lt;br /&gt;&lt;br /&gt;DECLARE @Count int&lt;br /&gt;DECLARE @FirstName nvarchar(50)&lt;br /&gt;DECLARE @LastName nvarchar(50)&lt;br /&gt;&lt;br /&gt;DECLARE dublicate_cursor CURSOR FAST_FORWARD FOR &lt;br /&gt;SELECT FirstName, LastName, Count(*) - 1&lt;br /&gt;FROM Users &lt;br /&gt;GROUP BY FirstName, LastName &lt;br /&gt;HAVING Count(*) &amp;gt; 1&lt;br /&gt;&lt;br /&gt;OPEN dublicate_cursor &lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM dublicate_cursor INTO @FirstName, @LastName, @Count&lt;br /&gt;&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;DELETE TOP(@Count) FROM Users WHERE FirstName = @FirstName AND LastName = @LastName&lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM dublicate_cursor INTO @FirstName, @LastName, @Count&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;CLOSE dublicate_cursor &lt;br /&gt;DEALLOCATE dublicate_cursor&lt;br /&gt;Again I want to point to the issue that ROWCOUNT will not be considered in the next releases of SQL SERVER. You can find this information in the BOL on topics about ROWCOUNT and TOP. You can refer to ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/50705caa-4d0a-490f-92a4-75ece96e0a54.htm for more information. I also copied the important note from BOL to here:&lt;br /&gt;&lt;br /&gt;Using SET ROWCOUNT will not affect DELETE, INSERT, and UPDATE statements in the next release of SQL Server. Avoid using SET ROWCOUNT with DELETE, INSERT, and UPDATE statements in new development work, and plan to modify applications that currently use it. We recommend that DELETE, INSERT, and UPDATE statements that currently are using SET ROWCOUNT be rewritten to useTOP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Method 3: Adding an IDENTITY column&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A third method can be adding an identity column to the table in order to distinguish all rows from each other. Of course, if you do not have the permissions to alter the table in order to add a new column, this method can not be implemented.&lt;br /&gt;&lt;br /&gt;Run the below sql command to add a new column to the Users table, which will also fill the newly added column Id with integer values in sequential order and will distinguish each record from its identical ones.&lt;br /&gt;&lt;br /&gt;ALTER TABLE Users ADD Id int IDENTITY(1,1)&lt;br /&gt;After you run the above command, Users table will be as below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now it is easy to delete dublicates by using the Id column. For example, for dublicates of row with Id 8, we can run the below command&lt;br /&gt;&lt;br /&gt;DELETE FROM Users WHERE Id IN (2,10,12)&lt;br /&gt;And now let's look how we can automatically delete dublicates in this situation. We can use a Common Table Expression (CTE) to make a change and use a CTE instead of using a cursor. Here is the CTE (common table expression) sample that will delete the dublicates in our Users table.&lt;br /&gt;&lt;br /&gt;WITH Dublicates_CTE(FirstName, LastName, Id)&lt;br /&gt;AS&lt;br /&gt;(&lt;br /&gt;SELECT FirstName, LastName, Min(Id) Id&lt;br /&gt;FROM Users&lt;br /&gt;GROUP BY FirstName, LastName&lt;br /&gt;HAVING Count(*) &amp;gt; 1&lt;br /&gt;)&lt;br /&gt;DELETE FROM Users&lt;br /&gt;WHERE Id IN (&lt;br /&gt;SELECT Users.Id&lt;br /&gt;FROM Users&lt;br /&gt;INNER JOIN Dublicates_CTE&lt;br /&gt;ON Users.FirstName = Dublicates_CTE.FirstName&lt;br /&gt;AND Users.LastName = Dublicates_CTE.LastName&lt;br /&gt;AND Users.Id &amp;lt;&amp;gt; Dublicates_CTE.Id&lt;br /&gt;)&lt;br /&gt;It is important to note that CTEs (Common Table Expressions) are also new enhancements in t-sql with the new release of SQL Server, SQL Server 2005. So the above sql statement will not run on SQL Server 2000 databases. For more samples and definition on CTEs you can read the article titled Common Table Expression.&lt;br /&gt;&lt;br /&gt;After you have done, you can drop the identity column Id by running an ALTER TABLE command as shown below:&lt;br /&gt;&lt;br /&gt;ALTER TABLE Users DROP COLUMN Id&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.kodyaz.com/articles/delete-duplicate-records-rows-in-a-table.aspx"&gt;http://www.kodyaz.com/articles/delete-duplicate-records-rows-in-a-table.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2243942905126353119?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2243942905126353119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2243942905126353119'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/t-sql-how-to-delete-duplicate-records.html' title='t-sql: how to delete duplicate records'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4962405558370160582</id><published>2010-03-20T17:39:00.000+02:00</published><updated>2010-03-20T17:39:02.251+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='arama'/><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='ie7'/><category scheme='http://www.blogger.com/atom/ns#' term='youtube'/><title type='text'>youtube arama sonuclari tarayiciya gore degisiyor</title><content type='html'>chrome youtube'da aşapıdaki arama sonucunda şu uyarıyı yapıp video önerilerinde bulunurken:&lt;br /&gt;&lt;br /&gt;" &lt;b&gt;No videos found for “"David Bowie - Joe the Lion tam parça "”&lt;/b&gt; "&lt;br /&gt;&lt;br /&gt;http://www.youtube.com/results?search_query=+%22David+Bowie+-+Joe+the+Lion+tam+parça+%22&amp;exact_query=David+Bowie+-+Joe+the+Lion+tam+parça+&lt;br /&gt;&lt;br /&gt;firefox ve ie7'de sonuç bulunamıyor:&lt;br /&gt;&lt;br /&gt;" &lt;b&gt;No videos found for “”&lt;/b&gt; "&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4962405558370160582?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4962405558370160582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4962405558370160582'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/youtube-arama-sonuclari-tarayiciya-gore.html' title='youtube arama sonuclari tarayiciya gore degisiyor'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8039433297058543618</id><published>2010-03-20T15:26:00.000+02:00</published><updated>2010-03-20T15:26:32.103+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ForeignKeyReferenceAlreadyHasValueException'/><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><category scheme='http://www.blogger.com/atom/ns#' term='exception'/><title type='text'>ForeignKeyReferenceAlreadyHasValueException</title><content type='html'>Çözüm:&lt;br /&gt;&lt;br /&gt;cover.OriginalSongId = song.SongId;&lt;br /&gt;&lt;br /&gt;yerine,&lt;br /&gt;&lt;br /&gt;cover.OriginalSong = song;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dotnetslackers.com/Community/blogs/bmains/archive/2009/05/21/linq-to-sql-error-foreignkeyreferencealreadyhasvalueexception.aspx"&gt;http://dotnetslackers.com/Community/blogs/bmains/archive/2009/05/21/linq-to-sql-error-foreignkeyreferencealreadyhasvalueexception.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/linqprojectgeneral/thread/744b2c6a-ecb8-44bf-b72a-dc1b85b34342"&gt;http://social.msdn.microsoft.com/Forums/en-US/linqprojectgeneral/thread/744b2c6a-ecb8-44bf-b72a-dc1b85b34342&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If the association property is assigned a value you cannot change the foreign key field anymore, you must change the relationship by changing the assocition property.    For example, using Customer and Order from Northwind sample database.  If the 'Customer' property on an order is assigned a value you can no longer manually change the order's CustomerID field, since it must match the PK of the customer.  You can, however, change the 'Customer' property directly, assigning it a new customer instance.  This action will automatically update the CustomerID field to match.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8039433297058543618?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8039433297058543618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8039433297058543618'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/foreignkeyreferencealreadyhasvalueexcep.html' title='ForeignKeyReferenceAlreadyHasValueException'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2754370323844606637</id><published>2010-03-18T12:25:00.001+02:00</published><updated>2010-03-18T12:27:21.721+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='delete in linq'/><category scheme='http://www.blogger.com/atom/ns#' term='cascade'/><title type='text'>The DELETE statement conflicted with the REFERENCE constraint</title><content type='html'>&lt;b&gt;Delete Rule : Cascade&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://2.bp.blogspot.com/_K93KPWmf3aw/S6H-kjvEovI/AAAAAAAAAH4/VxZnblswbV0/s1600-h/fk_user_userrole_user.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_K93KPWmf3aw/S6H-kjvEovI/AAAAAAAAAH4/VxZnblswbV0/s320/fk_user_userrole_user.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2754370323844606637?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2754370323844606637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2754370323844606637'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/delete-statement-conflicted-with.html' title='The DELETE statement conflicted with the REFERENCE constraint'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_K93KPWmf3aw/S6H-kjvEovI/AAAAAAAAAH4/VxZnblswbV0/s72-c/fk_user_userrole_user.PNG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8358848418558551524</id><published>2010-03-18T11:38:00.001+02:00</published><updated>2010-03-18T11:39:17.477+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='deleteonnull'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>linq deleteonnull</title><content type='html'>An attempt was made to remove a relationship between a User and a User_UserRole. However, one of the relationship's foreign keys (User_UserRole.UserID) cannot be set to null.&lt;br /&gt;&lt;br /&gt;[Association(Name="User_User_UserRole", Storage="_User", ThisKey="UserID", OtherKey="UserID", IsForeignKey=true, &lt;b&gt;DeleteOnNull = true&lt;/b&gt;)]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8358848418558551524?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8358848418558551524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8358848418558551524'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/linq-deleteonnull.html' title='linq deleteonnull'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3362186993429038361</id><published>2010-03-04T20:34:00.000+02:00</published><updated>2010-03-04T20:34:10.029+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flash object'/><category scheme='http://www.blogger.com/atom/ns#' term='positioning'/><title type='text'>getting a flash object to the bottom</title><content type='html'>The Flash object is a windowed thingie; it lies above the browser in its own window. The fix is to compile it with wmode="opaque". If it's not yours to compile, use &lt;param name="wmode' value="opaque"&gt;. If you're using the embed element, add the attribute wmode="opaque".&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.devshed.com/html-programming-1/positioning-a-layer-above-a-flash-object-412427.html"&gt;http://forums.devshed.com/html-programming-1/positioning-a-layer-above-a-flash-object-412427.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3362186993429038361?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3362186993429038361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3362186993429038361'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/03/getting-flash-object-to-bottom.html' title='getting a flash object to the bottom'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8968184789892767277</id><published>2010-02-27T16:15:00.001+02:00</published><updated>2010-02-27T16:15:34.275+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='autocomplete'/><title type='text'>jquery autocomplete cache problem</title><content type='html'>You have to make a little changes in autocomplete.js.&lt;br /&gt;&lt;br /&gt;Search for "*if (data &amp;&amp; data.length*)" condition which is inside "request"&lt;br /&gt;function. Add this code before the *if * condition&lt;br /&gt;&lt;br /&gt;if(data)&lt;br /&gt;data.length=0;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.mail-archive.com/jquery-en@googlegroups.com/msg80627.html"&gt;http://www.mail-archive.com/jquery-en@googlegroups.com/msg80627.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8968184789892767277?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8968184789892767277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8968184789892767277'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/jquery-autocomplete-cache-problem.html' title='jquery autocomplete cache problem'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6204443035189570175</id><published>2010-02-24T03:34:00.000+02:00</published><updated>2010-02-24T03:34:57.905+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>Cannot remove an entity that has not been attached</title><content type='html'>You are using two different context.  One retrieves it, the second tries to delete it.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.asp.net/p/1475529/3430701.aspx#3430701"&gt;http://forums.asp.net/p/1475529/3430701.aspx#3430701&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6204443035189570175?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6204443035189570175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6204443035189570175'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/cannot-remove-entity-that-has-not-been.html' title='Cannot remove an entity that has not been attached'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-49108739088114943</id><published>2010-02-23T22:50:00.001+02:00</published><updated>2010-02-23T22:51:17.058+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>adding css file dynamically</title><content type='html'>protected void Page_Init(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;// Define an HtmlLink control.&lt;br /&gt;HtmlLink myHtmlLink = new HtmlLink();&lt;br /&gt;myHtmlLink.Href = "~/StyleSheet.css";&lt;br /&gt;myHtmlLink.Attributes.Add("rel", "stylesheet");&lt;br /&gt;myHtmlLink.Attributes.Add("type", "text/css");&lt;br /&gt;&lt;br /&gt;// Add the HtmlLink to the Head section of the page.&lt;br /&gt;Page.Header.Controls.Add(myHtmlLink);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.aspdotnetfaq.com/Faq/How-do-I-dynamically-add-CSS-file-for-ASP-NET-ASPX-page.aspx"&gt;http://www.aspdotnetfaq.com/Faq/How-do-I-dynamically-add-CSS-file-for-ASP-NET-ASPX-page.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-49108739088114943?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/49108739088114943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/49108739088114943'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/adding-css-file-dynamically.html' title='adding css file dynamically'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2236096259507151154</id><published>2010-02-20T08:27:00.008+02:00</published><updated>2010-02-21T23:55:55.088+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ders olsun'/><category scheme='http://www.blogger.com/atom/ns#' term='webbrowser'/><category scheme='http://www.blogger.com/atom/ns#' term='msdn'/><category scheme='http://www.blogger.com/atom/ns#' term='documentcompleted'/><category scheme='http://www.blogger.com/atom/ns#' term='readystate'/><title type='text'>webbrowser documentcompleted is raised more than once</title><content type='html'>çözüm:&lt;br /&gt;webbrowser'ın &lt;b&gt;readystate &lt;/b&gt;özelliği &lt;b&gt;complete &lt;/b&gt;ise işlem yap.&lt;br /&gt;&lt;br /&gt;private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;if (webBrowser1.ReadyState == WebBrowserReadyState.Complete)&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // do something&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;b&gt;not:&lt;/b&gt; saatlerce bu sorunla uğraştım. algoritmamda bir hata olduğunu düşünüyordum. sonra "acaba bu bir bug olabilir mi" diye google'a danıştım ve aramam sadece ve sadece "webbrowser documentcompleted" sözcüklerinden oluşuyordu. çıkan sonuçlardan &lt;a href="http://thepursuitofalife.com/webbrowserdocumentcomplete-firing-multiple-times-solution/"&gt;dördüncüsünde&lt;/a&gt; yanıtı buldum. ve bu durum bana şunu düşündürdü:&lt;br /&gt;eğer msdn'den &lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx"&gt;webbrowser&lt;/a&gt; kontrolünü veya onun &lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.documentcompleted.aspx"&gt;documentcompleted &lt;/a&gt;event'ini incelemiş olsaydım, bu bilgiye zaten ulaşmış olacaktım. hazıra konmaya çalışmak işte bazen tam tersine böyle zaman kayıplarına yol açıyor. bu da bana ders olsun =/&lt;br /&gt;&lt;br /&gt;not2: webBrowser1_DocumentCompleted event'inde exception oluştuğunda uyarı verilmiyor. try catch ile kendin yakalamalısın.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2236096259507151154?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2236096259507151154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2236096259507151154'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/webbrowser-documentcompleted-birden.html' title='webbrowser documentcompleted is raised more than once'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-6232691402221523383</id><published>2010-02-14T23:04:00.000+02:00</published><updated>2010-02-14T23:04:59.076+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='url escape characters'/><category scheme='http://www.blogger.com/atom/ns#' term='url encoding'/><title type='text'>URL Escape Characters</title><content type='html'>&lt;a href="http://community.contractwebdevelopment.com/url-escape-characters"&gt;http://community.contractwebdevelopment.com/url-escape-characters&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blooberry.com/indexdot/html/topics/urlencoding.htm"&gt;http://www.blooberry.com/indexdot/html/topics/urlencoding.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-6232691402221523383?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6232691402221523383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/6232691402221523383'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/url-escape-characters.html' title='URL Escape Characters'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8476472690589932263</id><published>2010-02-13T18:02:00.001+02:00</published><updated>2010-02-13T18:02:55.129+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='insertonsubmit'/><title type='text'>linq : insert into middle table</title><content type='html'>var band = new Band {Title = bandName};&lt;br /&gt;if (_db.Bands.Where(b =&gt; b.Title == bandName).Count() == 0)&lt;br /&gt;{&lt;br /&gt;    _db.Bands.InsertOnSubmit(band);&lt;br /&gt;    _db.SubmitChanges();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;1. sadece band_genre tablosuna kayıt yapar:&lt;br /&gt;&lt;br /&gt;var bandGenre = new Band_Genre();&lt;br /&gt;bandGenre.BandId = band.BandId;&lt;br /&gt;bandGenre.GenreId = _currentGenre.GenreId;&lt;br /&gt;_db.Band_Genres.InsertOnSubmit(bandGenre);&lt;br /&gt;_db.SubmitChanges();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. band_genre, band ve genre tablolarının tümüne kayıt yapar. (yani aynı band ve genre birden fazla kez eklenebilir.):&lt;br /&gt;&lt;br /&gt;var bandGenre = new Band_Genre {Band = band, Genre = _currentGenre};&lt;br /&gt;_db.Band_Genres.InsertOnSubmit(bandGenre);&lt;br /&gt;_db.SubmitChanges();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8476472690589932263?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8476472690589932263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8476472690589932263'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/linq-insert-into-middle-table.html' title='linq : insert into middle table'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4125443928192832651</id><published>2010-02-11T20:40:00.001+02:00</published><updated>2010-02-11T20:40:56.825+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='autocomplete'/><title type='text'>related jquery autocomplete controls</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_K93KPWmf3aw/S3RO6jFzPDI/AAAAAAAAAHo/SlAVyBg71EY/s1600-h/bandsalbums.ascx" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="290" src="http://4.bp.blogspot.com/_K93KPWmf3aw/S3RO6jFzPDI/AAAAAAAAAHo/SlAVyBg71EY/s400/bandsalbums.ascx" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4125443928192832651?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4125443928192832651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4125443928192832651'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/related-jquery-autocomplete-controls.html' title='related jquery autocomplete controls'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_K93KPWmf3aw/S3RO6jFzPDI/AAAAAAAAAHo/SlAVyBg71EY/s72-c/bandsalbums.ascx' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1915531535809091572</id><published>2010-02-10T11:39:00.002+02:00</published><updated>2010-02-10T11:39:44.807+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net error handling'/><title type='text'>Error Handling in Asp.Net</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Arial, Helvetica,MS Sans Serif';"&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;All applications should have error handling. This we all know. We can't always be notified of an unhandled error (and usually aren't) when one occurs on a client's machine. The advantage we have on the Web is that we can always be notified when an unhandled error occurs. With the advent of ASP.NET, there are some great new ways to handle errors. There are some differences in .NET in not only how to handle the error, but how the information is provided to you. For example, classic ASP uses Server.GetLastError to return an ASPError object. You can and should still use Server.GetLastError in .NET, but this now returns a type System.Exception. I must give Microsoft credit for making almost everything consistent in .NET, which is quite a welcome change.&lt;br /&gt;&lt;a href="http://www.15seconds.com/files/030102.zip"&gt;download source code&lt;/a&gt;&lt;br /&gt;&lt;span class="clsTitle" style="font-family: 'Arial, Helvetica,MS Sans Serif'; font-size: 12pt; font-weight: bold;"&gt;The Problem&lt;/span&gt;&lt;br /&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;Errors will occur in our applications. We try to trap for most errors using try-catch blocks (or the only possibility in tradional ASP 'on error resume next'); however, we usually don't cover every possible exception. What happens when an unhandled error occurs? Usually the user is brought to IIS's default error pages (usually located in c:\winnt\help\iishelp\common). The downsides are you have no idea when this occurs and the page doesn't have your site's look and feel. Errors are a development fact, but we strive to eliminate or handle them gracefully. With this in mind, we need to know:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;When an error occurs&lt;/li&gt;&lt;li&gt;Where it occurred&lt;/li&gt;&lt;li&gt;What the error is&lt;/li&gt;&lt;/ol&gt;Having a central location such as the event log, database or some other log file to log errors is essential for&amp;nbsp;&lt;a class="kLink" href="http://15seconds.com/issue/030102.htm#" id="KonaLink1" style="background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-color: transparent !important; border-bottom-style: none !important; border-bottom-width: 0px !important; border-left-color: transparent !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: transparent !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: transparent !important; border-top-style: none !important; border-top-width: 0px !important; bottom: 0px; color: blue !important; cursor: pointer; display: inline !important; font-family: verdana; font-variant: normal; left: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; right: 0px; text-decoration: underline !important; text-transform: none !important; top: 0px;" target="undefined"&gt;&lt;span style="color: blue !important; font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 13px; font-weight: normal; position: static;"&gt;&lt;span class="kLink" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; color: blue !important; display: inline !important; float: none !important; font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 13px; font-weight: normal; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;"&gt;debugging&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;this problem later (I call this forensics debugging).&lt;br /&gt;IIS provides great error-handling capabilities (see my article at&amp;nbsp;&lt;a href="http://www.15seconds.com/issue/020821.htm"&gt;http://www.15seconds.com/issue/020821.htm&lt;/a&gt;). There are some problems with these though. Sometimes we know an error will occur, and we can't always trap for it in a nice way without overriding the site's (done in the IIS custom errors Page; see the article mentioned above) default error redirection page. For example, upon access to a resource that requires authentication, we may need to redirect to an application's login page. Also, a very common problem exists with Web hosts. If you have a hosted Web site, you usually have no control over its IIS configuration. Thus, setting up custom error pages can be next to impossible in traditional ASP. This is elimiated with ASP.NET, as you will learn as you read on.&lt;br /&gt;&lt;span class="clsTitle" style="font-family: 'Arial, Helvetica,MS Sans Serif'; font-size: 12pt; font-weight: bold;"&gt;The Solution&lt;/span&gt;&lt;br /&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;For such a list of problems, the solution is actually pretty simple. There are three places in ASP.NET to define what happens to these unhandled errors.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;In the web.config file's customErrors section.&lt;/li&gt;&lt;li&gt;In the global.asax file's Application_Error sub.&lt;/li&gt;&lt;li&gt;On the aspx or associated codebehind page in the Page_Error sub.&lt;/li&gt;&lt;/ol&gt;The actual order of error handling events is as follows:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;On the Page itself, in the Page_Error sub (this is default, you can name it anything because it specificed Handles MyBase.Error)&lt;/li&gt;&lt;li&gt;The global.asax Application_Error sub&lt;/li&gt;&lt;li&gt;The web.config file&lt;/li&gt;&lt;/ol&gt;&lt;i&gt;Note: To cancel the bubbling up of the error at anytime for the Page_Error or Application_Error, call the "Server.ClearError" function in your sub. Each method has its own uses, as I will explain.&lt;/i&gt;&lt;br /&gt;When an exception occurs in your application, it should be an object inherited from type System.Exception, and as such will have the following public members:&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;HelpLink&lt;/td&gt;&lt;td&gt;Gets or sets a link to the help file associated with this exception.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;InnerException&lt;/td&gt;&lt;td&gt;Gets the Exception instance that caused the current exception.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Message&lt;/td&gt;&lt;td&gt;Gets a message that describes the current exception.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Source&lt;/td&gt;&lt;td&gt;Gets or sets the name of the application or the object that causes the error.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;StackTrace&lt;/td&gt;&lt;td&gt;Gets a string representation of the frames on the call stack at the time the current exception was thrown.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;TargetSite&lt;/td&gt;&lt;td&gt;Gets the method that throws the current exception.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class="clsTitle" style="font-family: 'Arial, Helvetica,MS Sans Serif'; font-size: 12pt; font-weight: bold;"&gt;Using the Page_Error or OnError sub&lt;/span&gt;&lt;br /&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;The first line of defense in error handling happens at the page level. You can override the MyBase.Error sub as such: (Visual Studio will complete the code if you click either the Overrides or BaseClass events in the editor). The two functions you can use (one or the other, both will not work as only one will get called)&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;    Private Sub Page_Error(ByVal sender As Object, ByVal e As System.EventArgs) &lt;br /&gt;Handles MyBase.Error&lt;br /&gt;    &lt;br /&gt;    End Sub&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Or you can use this one:&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;  &lt;br /&gt; Protected Overrides Sub OnError(ByVal e As System.EventArgs)&lt;br /&gt;&lt;br /&gt;    End Sub&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Handling errors in these subs is a simple process. Just call Server.GetLastError to return the error. If you want to redirect to a specific page here you can just call Response.Redirect ("HandleError.aspx") or whatever your page may be. This method of handling errors is good for several reasons.&lt;ol&gt;&lt;li&gt;If you need to override the Application_Error or the customErrors setup in the web.config file&lt;/li&gt;&lt;li&gt;If each page must implement it's own error handling If you need to log specific information and then carry on, just code for your logging or whatever here, and that is all. If you need to cancel the error processing here (so it doesn't go to the Application_Error or customErrors) simply call Server.ClearError in this sub.&lt;/li&gt;&lt;/ol&gt;&lt;span class="clsTitle" style="font-family: 'Arial, Helvetica,MS Sans Serif'; font-size: 12pt; font-weight: bold;"&gt;Using the global.asax File&lt;/span&gt;&lt;br /&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;The global.asax file contains the next line of defense against errors. When an error occurs, the Application_Error sub is called. This location happens to be my favorite place to log errors because it is the most functional. For most of my applications in .NET, I don't handle too many custom errors at the page level. I handle them at the application level. The only two locations that actually give you access to Server.GetLastError are in the Page_Error and Application_Error subs.&lt;/span&gt;&lt;br /&gt;After the Page_Error is called, the Application_Error sub is called. Here you can also log the error and redirect to another page. I won't explain anything else about it because it is basically the same as the Page_Error but happens to be at the application level rather than the page level.&lt;br /&gt;&lt;span class="clsTitle" style="font-family: 'Arial, Helvetica,MS Sans Serif'; font-size: 12pt; font-weight: bold;"&gt;Using the web.config File&lt;/span&gt;&lt;br /&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;The customErrors element of the web.config file is the last line of defense against an unhandled error. If you have other error handlers in place, like the Application_Error of Page_Error subs, these will get called first. Provided they don't do a Response.Redirect or a Server.ClearError, you should be brought to the page(s) defined in the web.config. In the web.config file, you can handle specific error codes (500, 404, etc), or you can use one page to handle all errors. This is a major difference between this method and the others (although you can emulate this by doing various Response.Redirects using the other methods). Open up your web.config file. The customErrors section uses this format:&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&lt;customerrors defaultredirect="url" mode="On|Off|RemoteOnly"&gt;&lt;br /&gt;   &lt;error redirect="url" statuscode="statuscode"&gt;&lt;br /&gt;&lt;/error&gt;&lt;/customerrors&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Here is some important information about the "mode" attribute:"On" specifies that custom errors are enabled. If no defaultRedirect is specified, users see a generic error.&lt;br /&gt;"Off" specifies that custom errors are disabled. This allows display of detailed errors.&lt;br /&gt;"RemoteOnly" specifies that custom errors are shown only to remote clients, and ASP.NET errors are shown to the local host. This is the default.&lt;br /&gt;By default, the section looks like this when you create a Web application.&lt;br /&gt;&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&lt;customerrors mode="RemoteOnly"&gt;&lt;br /&gt;&lt;/customerrors&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;This will show a generic page to users. To redirect it to one of your own pages, you would change it to this:&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&lt;customerrors defaultredirect="error.htm" mode="On"&gt;&lt;br /&gt;&lt;/customerrors&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Now all errors that occur will be brought to the error.htm page.To handle specific errors, and redirect to the error page for everything else you can specify the error code you want specially handled like so:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&lt;customerrors defaultredirect="error.htm" mode="On"&gt;&lt;br /&gt;    &lt;error redirect="error500.aspx?code=500" statuscode="500"&gt;&lt;br /&gt;    &lt;error redirect="filenotfound.aspx" statuscode="404"&gt;&lt;br /&gt;    &lt;error redirect="authorizationfailed.aspx" statuscode="403"&gt;&lt;br /&gt;&lt;/error&gt;&lt;/error&gt;&lt;/error&gt;&lt;/customerrors&gt; &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;There is a problem here with this solution. Once the redirect is done, your error information is no longer available on the redirected page. This is because IIS (via the .net framework) performs a plain old GET request to the error page and does not do a "Server.Transfer" like the built-in IIS error handling does.The only information available to you at this time is the URL that caused this error to be raised. This is located on the querystring as "aspxerrorpath": http://localhost/ErrorHandling/error500.aspx?aspxerrorpath=/ErrorHandling/WebForm1.aspx. The only places this information is available is the two methods described above.&lt;br /&gt;Another interesting point about the above customErrors element is that you can specify different error pages for different subdirectories.&lt;br /&gt;For this example, let's say you have a directory named "Customers" off of your root directory that contains a branding specific for logged in customers but is not in its own application. As such you want to define a different set of pages for errors. Please note that these pages specified in the "redirect" attribute are relative to the "Customers" subdirectory and not the root path of your site. I have also included a security rule which says only MYDOMAIN\Customers can access these files. You can define rules for these errors in the web.config file:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&lt;configuration&gt;&lt;br /&gt;   &lt;system.web&gt;&lt;br /&gt;      ...&lt;br /&gt;      ...&lt;br /&gt;   &lt;/system.web&gt;&lt;br /&gt;&lt;br /&gt;   &lt;!-- Configuration for the "Customers" subdirectory. --&gt;&lt;br /&gt;   &lt;location path="Customers"&gt;&lt;br /&gt;      &lt;system.web&gt;&lt;br /&gt;   &lt;customerrors defaultredirect="error.htm" mode="On"&gt;&lt;br /&gt;  &lt;error redirect="CustomerError500.aspx" statuscode="500"&gt;&lt;br /&gt;  &lt;error redirect="CustomerAccessDenied.aspx" statuscode="401"&gt;&lt;br /&gt;  &lt;error redirect="CustomerPageNotFound.htm" statuscode="404"&gt;&lt;br /&gt;  &lt;error redirect="noaccessallowed.htm" statuscode="403"&gt;&lt;br /&gt; &lt;/error&gt;&lt;/error&gt;&lt;/error&gt;&lt;/error&gt;&lt;/customerrors&gt;       &lt;br /&gt; &lt;authorization&gt;&lt;br /&gt;  &lt;allow roles="MYDOMAIN\Customers"&gt;&lt;br /&gt;  &lt;deny users="*"&gt;&lt;br /&gt; &lt;/deny&gt;&lt;/allow&gt;&lt;/authorization&gt;&lt;br /&gt;      &lt;/system.web&gt;&lt;br /&gt;   &lt;/location&gt;&lt;br /&gt;&lt;/configuration&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;i&gt;Note: One thing I found in development is there seems to be an inheritance order for these errors. What I mean by this is if you have a 500 error defined for the root site, but none defined for the customers directory, but you DO have a defaultRedirect set for the customer directory, the 500 handler defined at the root level will be called. So if a parent directory has a handler.&lt;/i&gt;&lt;span class="clsTitle" style="font-family: 'Arial, Helvetica,MS Sans Serif'; font-size: 12pt; font-weight: bold;"&gt;Using the Code&lt;/span&gt;&lt;br /&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;I have created an application with settings, so you can get an idea of how to configure your code. In the zip file there is a solution containing two projects.&lt;/span&gt;&lt;br /&gt;The first is a Web project that has some buttons to cause different errors. It also shows an example of handling the error through the page, global.asax, and web.config file. There will also be a DotNetErrorLog.sql you can run in query analyzer to create a database (and user) to start logging errors ASAP.&lt;br /&gt;You will notice in my web.config I have the following:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt; &lt;appsettings&gt;&lt;br /&gt;   &lt;add key="ErrorLoggingLogToDB" value="True"&gt;&lt;br /&gt;   &lt;add key="ErrorLoggingLogToEventLog" value="True"&gt;&lt;br /&gt;   &lt;add key="ErrorLoggingLogToFile" value="True"&gt;&lt;br /&gt;   &lt;add key="ErrorLoggingConnectString" value="Initial &lt;br /&gt;Catalog=DotNetErrorLog;Data Source=localhost;Integrated Security=SSPI;"&gt;&lt;br /&gt;   &lt;add key="ErrorLoggingEventLogType" value="Application"&gt;&lt;br /&gt;   &lt;add key="ErrorLoggingLogFile" value="c:\ErrorManager.log"&gt;   &lt;br /&gt;  &lt;/add&gt;&lt;/add&gt;&lt;/add&gt;&lt;/add&gt;&lt;/add&gt;&lt;/add&gt;&lt;/appsettings&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;This is where I keep specific settings for an application. You do not have to worry about keeping it in the registry, and this is great for moving your applications between development, integration, and production environments (if you are blessed with that). For better security, you can incorporate the encryption classes in .NET to encrypt the database connection info and store that information in the web.config rather than the plain text connectstring, but that obviously isn't the purpose of this article. The settings pretty much are as follows:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;To log to a db:&lt;ol&gt;&lt;li&gt;ErrorLoggingLogToDB - Set to "True" to tell the app you want to log info into the db&lt;/li&gt;&lt;li&gt;ErrorLoggingConnectString - The connect string to connect to the database to store errors&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;To log to the event log:&lt;ol&gt;&lt;li&gt;ErrorLoggingLogToEventLog - Set to "True" to tell the app you want to log error information to the event log&lt;/li&gt;&lt;li&gt;ErrorLoggingEventLogType - The name of the event log to log to (ex. System, Application, etc etc.). You can even create your own log just for web errors too, which could be ideal for large sites!&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;To log to a text file:&lt;ol&gt;&lt;li&gt;ErrorLoggingLogToFile - Set to "True" to tell the app you want to log info to a text file&lt;/li&gt;&lt;li&gt;ErrorLoggingLogFile - The path of the file to log errors to&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;Here is a sample of what to expect in the log file or the event log:&lt;br /&gt;&lt;span style="color: blue; font-family: COURIER; font-size: x-small;"&gt;-----------------12/20/2002 3:00:36 PM-----------------&lt;br /&gt;SessionID:qwyvaojenw1ad1553ftnesmq&lt;br /&gt;Form Data:&lt;br /&gt;__VIEWSTATE - dDwtNTMwNzcxMzI0Ozs+4QI35VkUBmX1qfHHH8i25a/4g4A=&lt;br /&gt;Button1 - Cause a generic error in the customer directory&lt;br /&gt;1: Error Description:Exception of type System.Web.HttpUnhandledException was thrown.&lt;br /&gt;1: Source:System.Web&lt;br /&gt;1: Stack Trace: at System.Web.UI.Page.HandleError(Exception e)&lt;br /&gt;1: at System.Web.UI.Page.ProcessRequestMain()&lt;br /&gt;1: at System.Web.UI.Page.ProcessRequest()&lt;br /&gt;1: at System.Web.UI.Page.ProcessRequest(HttpContext context)&lt;br /&gt;1: at System.Web.CallHandlerExecutionStep.Execute()&lt;br /&gt;1: at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;br /&gt;1: Target Site:Boolean HandleError(System.Exception)&lt;br /&gt;2: Error Description:Object reference not set to an instance of an object.&lt;br /&gt;2: Source:ErrorHandling&lt;br /&gt;2: Stack Trace: at ErrorHandling.WebForm2.Button1_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\ErrorHandling\Customers\WebForm2.aspx.vb:line 26&lt;br /&gt;2: at System.Web.UI.WebControls.Button.OnClick(EventArgs e)&lt;br /&gt;2: at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)&lt;br /&gt;2: at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)&lt;br /&gt;2: at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)&lt;br /&gt;2: at System.Web.UI.Page.ProcessRequestMain()&lt;br /&gt;2: Target Site:Void Button1_Click(System.Object, System.EventArgs)&lt;/span&gt;&lt;br /&gt;First, the date and time is logged. Secondly, the user's session id is logged. These session ids look quite different than classic asp session ids which were all numeric. The next line contains any form data on the page. This is great especially if they filled in information on the page, and that information caused your app to bomb. All of the lines with "1" in front of it are the first error. This contains the description, source, stack track and what function caused the error. Starting at the "2"s, this is the error generated before #1. Error #2 here is the "InnerException" to error one. This is a new idea here (from classic asp or vb) since it allows error information to have a hierarchy to it. Some errors can be trapped, and rethrown with a new error giving more specific information.&lt;br /&gt;Another idea is to use the SMTP component to e-mail you when an error occurs, enabling you to be proactive for errors. This would be a simple addition to the appSettings section above to hold an e-mail address and simply use the CErrorLog.GetErrorAsString to get the text needed to send an e-mail out.&lt;br /&gt;&lt;span class="clsTitle" style="font-family: 'Arial, Helvetica,MS Sans Serif'; font-size: 12pt; font-weight: bold;"&gt;Special Notes&lt;/span&gt;&lt;br /&gt;&lt;span class="clsBlurb" style="font-family: 'Arial, Helvetica, MS Sans Serif'; font-size: 10pt;"&gt;- I read somewhere on the Net that someone recommended taking the error number and then looking up the proper message in a database to display to the user.&lt;/span&gt;&lt;br /&gt;I like this idea; however, the downside is if an unexpected database error occurs, then you have just lost your errorpage ability.&lt;br /&gt;- A quick note about performing a redirection inside a try-catch block:&lt;br /&gt;If you want to redirect to a page within a given try-catch block in your code (custom error handlers included), understand this can fail under certain circumstances because a Response.Redirect calls Response.End within its internal code, creating problems. You must call Response.Redirect("pagename.aspx",False") which specifies the redirect call and will not call Response.End, thus, preventing the exception.&lt;br /&gt;Good luck and happy error logging!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://15seconds.com/issue/030102.htm"&gt;http://15seconds.com/issue/030102.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1915531535809091572?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1915531535809091572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1915531535809091572'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/error-handling-in-aspnet.html' title='Error Handling in Asp.Net'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3434302711399891873</id><published>2010-02-10T08:09:00.001+02:00</published><updated>2010-02-10T08:09:36.730+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net security'/><title type='text'>asp.net security tools</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Verdana, sans-serif; font-size: 13px;"&gt;Microsoft güvenlik alanında ki vizyonunu değiştirdikten sonra, geliştiricilerin güvenli kod yazmasına ciddi şekilde yarar sağlayan bir çok araç çıkardı. Özellikle ASP.NET ve Visual Studio .NET için dağıttığı araçlar bir çok web uygulamasının güvenli ve belli bir kalitede çalışmasına önayak oldu. Teşekkürler derim.&lt;br /&gt;&lt;br /&gt;Bir çok uygulamada benimde kendi açıklarımı kapatmamı sağlayan bu uygulamaları hatırlatmak istedim/isterim. (Gerçi bu bahane. Arayınca kolay bulmak için yazıyorum ^_^)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/Downloads/details.aspx?familyid=58A7C46E-A599-4FCB-9AB4-A4334146B6BA&amp;amp;displaylang=en" style="color: maroon; text-decoration: none;"&gt;Microsoft Source Code Analyzer for SQL Injection&lt;/a&gt;&lt;br /&gt;ASP scriptlerinizde Sql Injection sömürüsüne olanak veren kod olup olmadığını kontrol eden güzel bir uygulama.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/Downloads/details.aspx?familyid=EFB9C819-53FF-4F82-BFAF-E11625130C25&amp;amp;displaylang=en" style="color: maroon; text-decoration: none;"&gt;Microsoft Anti-Cross Site Scripting Library V1.5&lt;/a&gt;&lt;br /&gt;Cross-Site Scripting (XSS) 'e karşı daha güvenli kod yazmanıza olanak tanıyan .NET Sınıf kütüphanesi.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/Downloads/details.aspx?familyid=59888078-9DAF-4E96-B7D1-944703479451&amp;amp;displaylang=en" style="color: maroon; text-decoration: none;"&gt;Microsoft Threat Analysis &amp;amp; Modeling v2.1.2&lt;/a&gt;&amp;nbsp;(&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=29a6d444-9954-41f3-9666-3688417b5e08&amp;amp;displaylang=en" style="color: maroon; text-decoration: none;" target="_blank"&gt;İzlemelik&lt;/a&gt;)&lt;br /&gt;Uygulamalarınızda güvenli olmayan Threat leri ve risk taşıyan metodları analiz edip ürününüzü daha güvenli tasarlamanıza yarayan bir araç.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/Downloads/details.aspx?familyid=19A9E348-BDB9-45B3-A1B7-44CCDCB7CFBE&amp;amp;displaylang=en" style="color: maroon; text-decoration: none;"&gt;XSS Detect Beta Code Analysis Tool&lt;/a&gt;&lt;br /&gt;ASP.NET web projenize debug anında entegre olup XSS sömürüsüne olanak veren kod parçalarını gösterir ve düzeltmeniz için uyarır. Başarılı bir çalışma VS.NET 2005 için bir eklendi ama VS.NET 2008'de çalışması için Microsoft.ACE.XSSDetect.AddIn dosyasını açıp version node'unu 9.0 yapmanız gerekir.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Verdana, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Verdana, sans-serif; font-size: 13px;"&gt;&lt;a href="http://www.oguzhan.info/bak.asp?458/ASP.NET+i%E7in+g%FCvenlik+ara%E7lar%FD."&gt;http://www.oguzhan.info/bak.asp?458/ASP.NET+i%E7in+g%FCvenlik+ara%E7lar%FD.&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3434302711399891873?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3434302711399891873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3434302711399891873'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/aspnet-security-tools.html' title='asp.net security tools'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7983040301830618908</id><published>2010-02-10T07:44:00.003+02:00</published><updated>2010-02-10T08:09:53.491+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net security'/><title type='text'>Web Uygulamalarında Tehdit Modelleme ve Güvenlik</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Tehdit Modelleme&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;.NET ve ASP.NET tarafından sağlanan güvenlik çatısı güçlü olsa da bazı temel prensipleri akılda tutmak ve bu özellikleri doğru bir şekilde ve doğru zamanda kullanmak gereklidir. Bunun için güvenlik öğelerini, uygulama geliştirmenin ilk aşamasından itibaren kullanmak gereklidir.&lt;br /&gt;&lt;br /&gt;Güvenli (secure) mimariler dizayn etmek için uygulama ortamının çok iyi&amp;nbsp;bilinmesi gerekir. Mesela uygulamamıza kimler erişecek ve muhtemel kötü niyetli ataklar nereden gelebilir vb. Dolayısıyla güvenli uygulama mimarileri ve dizaynları geliştirmede en önemli faktör, çevresel öğeleri çok iyi anlamaktır. Bunlar kullanıcılar, uygulamadaki giriş noktaları ve muhtemel atak noktalarıdır.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;Bu yüzden Tehdit modelleme, günümüz yazılım mimarisinde önemli bir yer teşkil etmektedir. Tehdit modelleme (Threat modelling) muhtemel tehditler, bu tehditleri önem sırasına koyma ve sonra bu tehditleri temel alan&lt;strong&gt;hafifletme tekniklerine (mitigation techniques)&lt;/strong&gt;&amp;nbsp;karar verme üzerine uygulamamızın öğelerini analiz etmenin yapısal bir yoludur. Tehdit modelleme başka bir yönden de önem arz etmektedir. Bildiğimiz gibi bütün potansiyel tehditler, authentication ve authorization gibi güvenlik teknolojileri ile hafifletilemiyor. Bir başka deyişle bazı tehditler teknik yollarla çözüme kavuşturulamıyor. Mesela bir bankanın online şubesi, web sitesi üzerindeki trafiği güvenlik altına almak için SSL kullanıyor (Secure Socket Layer). Fakat kullanıcı, sayfanın bankanın gerçek sayfası olduğunu, bir hacker"ın sahte sitesi olmadığını nasıl anlayacak? Bunun tek bir yolu var: SSL kanalını kurmak için kullanılan sertifikaya bakmak. Ancak her kullanıcının bunun farkında olması düşük bir ihtimaldir; dolayısıyla kullanıcıları bilgilendirmeliyiz. Bu senaryodakine benzer hafifletme teknikleri, birer güvenlik teknolojisi değillerdir. Bu, bütün kayıtlı (registered) kullanıcıların sertifikaya nasıl bakmaları gerektiğini bildiklerinden emin olmayı gerektirir (Tabi ki onları bunun için zorlayamayız; fakat bilgileri doğru şekilde dizayn edersek bir çoğuna bunu yaptırabiliriz). Tehdit modelleme, sadece teknik konuları değil bu gibi durumları belirlemeye yardım eden bir analiz metodudur.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Güvenli kod yazmanın temel prensipleri&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Kullanıcıların&lt;/strong&gt;&amp;nbsp;kontroller vasıtasıyla yaptıkları girişlere asla güvenilmemelidir... Tersi ispatlanana kadar bütün kullanıcılar birer şeytandır prensibini de unutmamak gerekir. Dolayısıyla girişler, çok kuvvetli bir şekilde doğrulanmalıdır (validation). En doğru olan, sadece girilmesi gereken değerlere izin vermektir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;SQL ifadeleri&lt;/strong&gt;&amp;nbsp;yazarken asla string birleştirme kullanılmamalıdır... Sql"den iğne yemek istemiyorsanız (sql injection) her zaman parametrelendirilmiş sorgular kullanılmalısınız. Aynı zamanda sql cümlelerin olduğu yerlerde try-catch bloğu sonucu kullanıcıya verilecek hata mesajında kendi özel mesajımızı kullanmak daha güvenlidir; çünkü Exception ya da Exception türevi sınıfların Message özelliği ile kullanıcıya veritabanımız hakkında bilgi gösterilebilir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Kullanıcıdan alınan bilgiler&lt;/strong&gt;,&amp;nbsp;doğrulanmadan ve encode edilmeden; yani doğrudan web sayfasında gösterilmemelidir... Kullanıcı bazı HTML parçaları girebilir (mesela bir script). Bu yüzden her zaman HttpUtility.HtmlEncode() kullanarak &amp;lt; ve &amp;gt; gibi karakterlerden kaçmakda fayda vardır. Alternatif olarak bu geçerlilik kontrolünü yapacak bir web kontrolü kullanılabilir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Sayfanın gizli alanlarında&lt;/strong&gt;&amp;nbsp;(hidden field) önemli, değerli, iş bilgisi taşıyan ya da akışı etkileyecek veri saklamamak gerekir. (Gizli alanlar tarayıcıdaki kaynak sayfaya bakılarak kolayca görülebilir, değiştirilebilir, kaydedilebilirler. Ardından da tarayıcı eklentileri (browser plug-in) ile mail gönderir gibi sunucuya gönderilebilirler)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;View-state&lt;/strong&gt;&amp;nbsp;içerisinde önemli, kritik veri saklanmamalıdır (Çünkü view-state, bir gizli alandır. Kolayca decode edilebilir. Bu arada eğer sayfada @Page etiketinde EnableViewStateMac = true yapılırsa view-state şifrelenir).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Cookie"ler&lt;/strong&gt;&amp;nbsp;korunmalıdır... Forms authentication kullanılırken cookie"ler olabildiğince geç oluşturulup ihtiyaç kalmadığında silinmesi için timeout süresine sahip olmalıdır.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;SSL kullanılmalıdır&lt;/strong&gt;... Eğer web sitemiz, genel olarak hassas veriler içeriyorsa bütün siteyi SSL kullanarak koruma altına almak gerekir. Ayrıca direk SSL tarafından korunamayan&amp;nbsp;resim ve diğer dosyaları da korumayı unutmamak lazım.&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;ASP.NET GateKeeper"ları ve Sorumlulukları&lt;/span&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;Uygulamamızın güvenliğini artırmanın güzel bir yolu, yerinde birçok bileşenle güvenliği sağlamaktır. Gatekeepers (takipçiler, koruyucular), güvenlik altyapısına bir yol bir boru hattı modeli yerleştiren kavramsal bir oluşumdur. Bu model, güvenliği artırmamıza yardımcı olur. Gatekeeper modeli şunu savunur ki; uygulamaya gerektiğinden fazla güvenlik mekanizmaları koymak gerekir. Bu mekanizmalardan her birine güvenlikle ilişkili bazı koşullara zorlamaktan sorumlu gatekeeper adı verilir.Eğer gatekeeperlardan biri başarısız olursa, hacker kaynaklara giden yoldaki diğer gatekeeper"la karşılaşacaktır. Ne kadar çok gatekeeper varsa, hacker"ın hayatı o kadar zorlaşır. Bu model, güvenli uygulamalar geliştirmek için zorunlu prensipleri desteklemektedir: Olabildiğince güvenli ol, hacker"ların hayatını olabildiğince zorlaştır. Yolun sonunda kaynaklara ulaşmak için gereken gatekeeperlar aşıldığında belki sadece sayfamızın kodları vardır, ancak yine de bu güvenlik prensipleri uygulanmalıdır. Bu şekilde merkezi bir güvenlik bileşeni uygulamak iyi bir fikir olabilir. Aynı şeklide iş katmanı da güvenli hale getirilebilir. ASP.NET uygulama altyapısı, bunu güzel bir şekilde uygulamaktadır.&lt;br /&gt;Bir web sitesinde güvenliği uygulamanın yolları genelde aynıdır (Ayrıca tehdit modellemede bizim belirleyeceğimiz seviyeler bunlara eklenebilir).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Authentication :&lt;/strong&gt;&amp;nbsp;Öncelikle kullanıcıların kimliklerini doğrulamak gereklidir. Authentication şu soruyu sorar: Uygulamayı kullanan kim?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Authorization :&lt;/strong&gt;&amp;nbsp;Uygulamamızla çalışanın kim olduğunu öğrendikten sonra o kullanıcının hangi operasyonları gerçekleştirebileceğini ve hangi kaynaklara erişebileceğine karar vermek gereklidir. Yani authorization şu soruyu sorar; Senin geçiş iznin ne?&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Güvenilirlik :&lt;/strong&gt;&amp;nbsp;Kullanıcı uygulama üzerinde çalışırken kimsenin kullanıcı tarafından işlenen hassas verileri görmediğinden emin olmak gerekir. Bu yüzden kullanıcı tarayıcısı ile web sunucumuz arasındaki kanalı şifrelemek gerekir (SSL). Dahası, arka plandaki verileri de şifrelemek gerekir. Mesela kullanıcı makinesine atılan cookieleri... Aynı zamanda veritabanı yöneticisi ve uygulamanın yayınlandığı (host edildiği) şirketin çalışanlarının da görmemesi için verileri şifrelemek gereklidir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Tutarlılık :&lt;/strong&gt;&amp;nbsp;Tarayıcı ve sunucu arasında gidip gelen verinin illegal aktörler tarafından değiştirilmediğinden emin olmak gerekir. Bu tarz tehditleri hafifletmenin bir yolu dijital imza kullanmaktır.&lt;br /&gt;&lt;br /&gt;ASP.NET, authentication ve authorization için bize basit bir altyapı sunar. Ayrıca .NET Framework ile gelen temel sınıf kütüphanesinde, System.Security isim alanı altında veriyi şifreleme ve imzalama için bazı sınıflar bulunmaktadır.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Authentiction&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ASP.NET"de 4 tür kimlik doğrulama sistemi mevcuttur. Bunlar :&lt;br /&gt;&lt;br /&gt;1) Windows authentication&lt;br /&gt;2) Forms authentication&lt;br /&gt;3) Passport authentication&lt;br /&gt;4) Custom authentication&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;Mesela windows işletim sistemi, login olan her kullanici için 96-bit bir numara kullanır, buna SID (Security identifier) denir. Bütün authentication çeşitleri, sunucuya talepte bulunan kişinin kim olduğunu bilmemizi sağlar ki bundan kişiselleştirme için faydalanılabilir. Çünkü kimlik (identity) bilgisini web sayfasında kişiye özel karşılama mesajı göstermek için veya sayfanın görünüşünü değiştirmek için kullanabiliriz. Yine de kullanıcının uygulama içerisinde yapacaklarını kısıtlamak için authentication yeterli değildir. Bunun için authorization gereklidir.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Güvenilirlik ve Uyumluluk&amp;nbsp;için Şifreleme&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Güvenilirlik (Confidentiality)&lt;/strong&gt;, verinin ağ (network) üzerinde sunucu ve istemci tarayıcısı arasında gidip gelirken ya da bir veri kaynağına kaydedilirken başka kullanıcılar tarafından görülmemesidir.&lt;br /&gt;&lt;strong&gt;Uyumluluk (Integrity)&lt;/strong&gt;&amp;nbsp;ise, yine ağ (network) üzerindeki ya da veri kaynağına kaydedilen verinin başka kullanıcılar tarafından değiştirilmediğinden emin olunmasıdır. Her ikisi de şifreleme (encryption) tabanlıdır. Şifreleme, veriyi karıştırmak, dolayısıyla bir kullanıcı tarafından okunmasını engellemek demektir. ASP.NET"de şifreleme, authentiction ve authorization"dan tamamen farklı bir özelliktir. Şifrelemeyi tek başına da, diğer özelliklerle bir arada da kullanabiliriz. Bir web uygulamasında şirelemeyi iki sebebten dolayı kullanmak isteyebiliriz:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;1. Ağ üzerindeki verinin iletişimini korumak için:&lt;/strong&gt;&amp;nbsp;Mesela internet ortamında bir e-ticaret sitesinden alış-veriş yaparken bu ortamda bulunabilecek bir dinleyicinin (eavesdropper) kredi kartı no"mu okuyamadığından emin olmak isteyebilirim. Endüstriyel standartların yaklaşımına göre bunun çözümü SSL (Secure socket layer)"dir. SSL aynı zamanda tutarlılığı sağlamak adına dijital imza da sağlamaktadır. SSL, ASP.NET tarafından sağlanmaz, bu IIS"e entegre edilebilecek bir özellikir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;2. Veritabanı ya da bir dosyadaki kalıcı bilgileri korumak için:&lt;/strong&gt;&amp;nbsp; Mesela gelecekte kulanmak üzere&amp;nbsp; kullanıcının kredi kartı no"sunu veritabanına kaydetmek istiyoruz. Bunu açık metin (plain text) olarak kaydedebilmemize rağmen, çok da iyi bir fikir değildir. Bunun yerine veritabanına kaydetmeden önce .NET framework tarafından bize sağlanan tipler yardımıyla veri şifrelenebilir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;Şu ana kadar anlatılanları bir araya getirirsek :&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;Kullanıcı bir siteye girdiğinde isimsiz bir kullanıcıdır (anonymous user). Yani uygulamamız gelenin kim olduğunu bilmez ve bu onu ilgilendirmez. Onu doğrulamadığımız (authenticate etmediğimiz) sürece de öyle kalacaktır. Varsayılan olarak isimsiz kullanıcılar bütün ASP.NET web sayfalarına erişebilirler. Fakat isimsiz erişimi olmayan bir siteye girildiği zaman şu aşamalar gerçekleşir:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;1)&lt;/strong&gt;&amp;nbsp;Talep web sunucusuna gönderilir. Bu aşamada kullanıcının kimliği (identity) bilinmediği için ona login olması söylenir. (Bunun için özel bir web sayfası hazırlanabilir) Login sürecindeki ayrıntılar, authentication türüne bağlı olarak değişir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;2)&lt;/strong&gt;&amp;nbsp;Kullanıcı güvenlik bilgilerini verir ve ardından eğer form authentication kullanılıyorsa uygulamamız tarafından, windows authentication kullanılıyorsa IIS tarafından kontrol edilir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;strong&gt;3)&lt;/strong&gt;&amp;nbsp;Eğer bilgiler doğruysa kullanıcı talep ettiği sayfaya yönlendirilir. Verilen bilgiler doğru değilse kullanıcı yeniden log-in sayfasına yada&amp;nbsp;&lt;strong&gt;Erişim reddedildi&lt;/strong&gt;&amp;nbsp;mesajı içeren bir web sayfasına yönlendirilir.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;Kullanıcı sadece belli kullanıcılara ya da belli role sahip kullanıcılara açık bir web sayfası talep ederse yukarıda anlatılan aynı süreçten geçer fakat bu sefer fazladan bir adım vardır. Kullanıcı eğer bilgilerini doğru girmişse, talep ettiği sayfaya giriş hakkı olup olmadığı da kontrol edilir. Bu da sürecin&amp;nbsp;&lt;strong&gt;authorization&lt;/strong&gt;&amp;nbsp;kısmıdır. Eğer kullanıcının talep ettiği kaynağa hakkı yoksa&amp;nbsp;&lt;strong&gt;Erişim reddedildi&lt;/strong&gt;&amp;nbsp;mesajı içeren bir web sayfasına yönlendirilir.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;a href="http://www.bilgininadresi.net/Madde/791/Web-Uygulamalar%C4%B1nda-Tehdit-Modelleme-ve-G%C3%BCvenlik"&gt;http://www.bilgininadresi.net/Madde/791/Web-Uygulamalarında-Tehdit-Modelleme-ve-Güvenlik&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7983040301830618908?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7983040301830618908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7983040301830618908'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/02/web-uygulamalarnda-tehdit-modelleme-ve.html' title='Web Uygulamalarında Tehdit Modelleme ve Güvenlik'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2892754015779348155</id><published>2010-01-24T11:51:00.001+02:00</published><updated>2010-01-24T11:52:51.514+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='colorbox'/><category scheme='http://www.blogger.com/atom/ns#' term='lightbox'/><category scheme='http://www.blogger.com/atom/ns#' term='onay penceresi'/><title type='text'>lightbox ile onay penceresi açmak</title><content type='html'>1. notice/details.aspx'e bir hyperlink ekle.&lt;br /&gt;2. navigateurl'ine notice dizinindeki delete.aspx'i&lt;br /&gt;&lt;i&gt;delete.aspx?nid=[noticeid]&amp;amp;rurl=[redirecturl]&lt;/i&gt;&lt;br /&gt;biçiminde ver.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2892754015779348155?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2892754015779348155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2892754015779348155'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/lightbox-ile-onay-penceresi-acmak.html' title='lightbox ile onay penceresi açmak'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3354746160921513781</id><published>2010-01-22T02:19:00.002+02:00</published><updated>2010-01-22T02:23:24.783+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='js'/><title type='text'>javascript tips tricks</title><content type='html'>1. fonksiyonu kullanılan js kütüphanesine, bu fonksiyondan önce referans verilmelidir:&lt;br /&gt;kütüphane:&lt;br /&gt;script src="js/jquery-1.3.2.js" type="text/javascript"&lt;br /&gt;&lt;br /&gt;fonksiyon:&lt;br /&gt;script type="text/javascript"&lt;br /&gt;$(document).ready(function() {&lt;br /&gt;...&lt;br /&gt;});&lt;br /&gt;/script&lt;br /&gt;&lt;br /&gt;2. script type="text/javascript" src=' ResolveUrl("~/Scripts/jquery-1.2.6.min.js") '&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3354746160921513781?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3354746160921513781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3354746160921513781'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/javascript-tips-tricks.html' title='javascript tips tricks'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3939710681281848067</id><published>2010-01-19T11:37:00.003+02:00</published><updated>2010-01-19T11:39:48.385+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html link'/><category scheme='http://www.blogger.com/atom/ns#' term='dropdownlist'/><title type='text'>add html link to dropdownlist</title><content type='html'>script type="text/javascript" language="javascript"&lt;br /&gt;function JumpToIt(list, url) {&lt;br /&gt;var newPage = url + list.options[list.selectedIndex].value&lt;br /&gt;if (newPage != "None") {&lt;br /&gt;// location.href = newPage&lt;br /&gt;window.open(newPage)&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;/script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public bool AddHtmlLink { get; set; }&lt;br /&gt;public string HtmlLinkUrl { get; set; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if (AddHtmlLink)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; DropDownList1.Attributes.Add("onChange", "JumpToIt(this, '" + HtmlLinkUrl + "')");&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.mcfedries.com/JavaScript/linklist2.asp"&gt;http://www.mcfedries.com/JavaScript/linklist2.asp&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3939710681281848067?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3939710681281848067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3939710681281848067'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/add-html-link-to-dropdownlist.html' title='add html link to dropdownlist'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1834911623399080241</id><published>2010-01-18T18:15:00.002+02:00</published><updated>2010-08-11T11:11:57.675+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='update panel'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>Making sure Lightbox still works in Ajax UpdatePanel</title><content type='html'>&lt;span style="color: #9cc5cd; font-family: verdana, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;I recently updated the homepage portfolio section with an Ajax filtering dropdown, allowing readers to filter my portfolio with different technologies and themes. However, that caused my old lightbox effect to lose ground somehow. After days of debugging, I found a way to deal with it, that is I had to manually reinstantiate the lightbox object on page load (clientside), because whenever Ajax fires up a postback, it wipes of the Lightbox entity that was created.&lt;br /&gt;&lt;pre id="line15" style="background-attachment: initial; background-clip: initial; background-color: #f1f1ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(187, 187, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: dashed; border-top-width: 1px; color: grey; font-size: 12px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;    function pageLoad() {&lt;br /&gt;        $('#gallery a.image-thumb').lightBox({ fixedNavigation: true });&lt;br /&gt;    }&lt;br /&gt;script&amp;gt;&lt;/pre&gt;&lt;br /&gt;yani:&lt;br /&gt;&lt;br /&gt;script type="text/javascript"&lt;br /&gt;$(document).&lt;b&gt;ready&lt;/b&gt;(function() {&lt;br /&gt;$("a[rel='example1']").colorbox();&lt;br /&gt;});&lt;br /&gt;/script&lt;br /&gt;&lt;br /&gt;ek olarak;&lt;br /&gt;&lt;br /&gt;script type="text/javascript"&lt;br /&gt;function &lt;b&gt;pageLoad&lt;/b&gt;() {&lt;br /&gt;$("a[rel='example1']").colorbox();&lt;br /&gt;}&lt;br /&gt;/script&lt;br /&gt;&lt;br /&gt;yazmak gerekecek.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.alectang.com/Blog/Archive/2009/09/17/Making-sure-Lightbox-still-works-in-Ajax-UpdatePanel-53.aspx"&gt;http://www.alectang.com/Blog/Archive/2009/09/17/Making-sure-Lightbox-still-works-in-Ajax-UpdatePanel-53.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/520645/jquery-datepicker-ms-ajax-updatepanel-doesnt-work-after-post-back&lt;br /&gt;&lt;br /&gt;http://www.mail-archive.com/jquery-en@googlegroups.com/msg37808.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1834911623399080241?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1834911623399080241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1834911623399080241'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/making-sure-lightbox-still-works-in.html' title='Making sure Lightbox still works in Ajax UpdatePanel'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5924357141540638231</id><published>2010-01-18T13:19:00.000+02:00</published><updated>2010-01-18T13:19:09.445+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ajax control toolkit'/><title type='text'>ASP.NET Ajax Control toolkit – Common Problems</title><content type='html'>&lt;span class="Apple-style-span" style="color: #555555; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;Problem 1 :&amp;nbsp;&lt;strong&gt;This page is missing a HtmlHead control which is required for the CSS stylesheet link that is being added. Please add &lt;/strong&gt;&lt;br /&gt;Solution :&amp;nbsp; make your HEAD tag&amp;nbsp; to &lt;br /&gt;problem 2 :&amp;nbsp;&lt;strong&gt;The Controls collection cannot be modified because the control contains code blocks (i.e. ).&lt;/strong&gt;&lt;br /&gt;Solution:&amp;nbsp; Looks like you are using&amp;nbsp;&amp;lt;% tags in your HEAD section code like Javascript code etc…. To fix it wrap your head section with &lt;br /&gt;&lt;div runat="”server”"&gt;&amp;nbsp; and &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5924357141540638231?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5924357141540638231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5924357141540638231'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/aspnet-ajax-control-toolkit-common.html' title='ASP.NET Ajax Control toolkit – Common Problems'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2856636903039931226</id><published>2010-01-15T16:27:00.001+02:00</published><updated>2010-01-15T16:31:11.620+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='colorbox'/><category scheme='http://www.blogger.com/atom/ns#' term='çakışma'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='conflict'/><title type='text'>colorbox jquery çakışması</title><content type='html'>adım 1:&lt;br /&gt;&lt;br /&gt;script type="text/javascript"&lt;br /&gt;&lt;b&gt;$j = jQuery.noConflict();&lt;/b&gt;&lt;br /&gt;script&lt;br /&gt;&lt;br /&gt;adım 2:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;$j&lt;/b&gt;("a[rel='example1']").colorbox();&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cemkefeli.com/post/2009/10/12/ColorBox-kullananlar-icin-jQuery-cakismasinin-cozumu.aspx"&gt;http://www.cemkefeli.com/post/2009/10/12/ColorBox-kullananlar-icin-jQuery-cakismasinin-cozumu.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;not: şu anki projede çalışmadı! (script.js dosyası kullanan jquery tab bulunuyor projede ve colorbox'ın ve autocomplete'in çalışmasını önlüyor)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2856636903039931226?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2856636903039931226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2856636903039931226'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/colorbox-jquery-caksmas.html' title='colorbox jquery çakışması'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2424863352363278363</id><published>2010-01-14T17:32:00.002+02:00</published><updated>2010-01-14T17:35:41.941+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>invalid postback or callback argument</title><content type='html'>Invalid postback or callback argument. Event validation is enabled using &lt;pages enableeventvalidation="true"&gt; in configuration or  in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.&lt;br /&gt;&lt;br /&gt;çözüm:&lt;br /&gt;&lt;br /&gt;pages enableeventvalidation="true"&lt;/pages&gt;&lt;br /&gt;&lt;pages enableeventvalidation="true"&gt;&lt;br /&gt;&lt;/pages&gt;&lt;br /&gt;&lt;pages enableeventvalidation="true"&gt;ilginç durumlar:&lt;/pages&gt;&lt;br /&gt;&lt;pages enableeventvalidation="true"&gt;1. bu hata bir sunucuda oluşmazken, bir diğerinde oluştu.&lt;/pages&gt;&lt;br /&gt;&lt;pages enableeventvalidation="true"&gt;2. hata chrome'da görülmezken, ie7'de görülüyordu.&lt;/pages&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2424863352363278363?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2424863352363278363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2424863352363278363'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/invalid-postback-or-callback-argument.html' title='invalid postback or callback argument'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7857402793606262640</id><published>2010-01-12T14:25:00.002+02:00</published><updated>2010-01-12T14:29:15.749+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='js'/><category scheme='http://www.blogger.com/atom/ns#' term='masterpage'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>masterpage'e css ve js bağlama</title><content type='html'>&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;js ve css dizinleri kök dizinde.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;b&gt;1. durum:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;Default.aspx ile MasterPage.master kök dizinde.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;MasterPage'deki css ve js dosyaları şu şekilde bağlanmalı:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;href="css/colorbox.css"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;src="js/jquery.colorbox-min.js"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;html çıktı: (Default.aspx)&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;href="css/colorbox.css"&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;src="js/jquery.colorbox-min.js"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. durum:&lt;/b&gt;&lt;br /&gt;Default.aspx kök dizinde, MasterPage.master kök dizindeki Shared dizininde. Yani bir alt dizinde.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;href="&lt;span style="color: red;"&gt;&lt;b&gt;../&lt;/b&gt;&lt;/span&gt;css/colorbox.css"&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;src="js/jquery.colorbox-min.js"&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;html çıktı: (Default.aspx)&lt;/b&gt;&lt;br /&gt;href="css/colorbox.css"&lt;br /&gt;src="js/jquery.colorbox-min.js"&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Dikkat edilirse, js'nin path'i değişmedi.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7857402793606262640?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7857402793606262640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7857402793606262640'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/masterpagee-css-ve-js-baglama.html' title='masterpage&apos;e css ve js bağlama'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1105272231295245368</id><published>2010-01-09T19:46:00.000+02:00</published><updated>2010-01-09T19:46:28.220+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='databinding'/><category scheme='http://www.blogger.com/atom/ns#' term='eval'/><title type='text'>derived object'e databinding'de erişmek</title><content type='html'>gridview'e user list'i bağlarken, user'dan türemiş company nesnesinin (user'da olmayan) name özelliğine nasıl erişilir?&lt;br /&gt;benim bu user nesnesini company'ye dönüştürmem gerek. fakat eval("xxx")'ten başka bir yol bilmiyorum özelliklere veya nesnelere erişim için.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1105272231295245368?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1105272231295245368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1105272231295245368'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/derived-objecte-databindingde-erismek.html' title='derived object&apos;e databinding&apos;de erişmek'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-8783493244641672745</id><published>2010-01-08T16:18:00.002+02:00</published><updated>2010-01-08T17:15:55.005+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='foreign key'/><title type='text'>kayıt silmede foreign key engeli nasıl aşılır</title><content type='html'>foreign key nedeniyle silinemeyen kayıtlar için şu bir çözüm olabilir mi:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. durum:&lt;/b&gt;&lt;br /&gt;örneğin product için en fazla 1 category belirtilebilecek bile olsa, bunu product_category tablosunda tutarak, istendiğinde category'yi silebiliriz ve product çekilirken category çekilmez, bu da herhangi bir sorun oluşturmaz.&lt;br /&gt;&lt;br /&gt;cascade bir çözüm olabilir mi?&lt;br /&gt;&lt;br /&gt;bir category sileceğim diye bu category'deki bütün product'ları silmenin anlamı var mı?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. durum:&lt;/b&gt;&lt;br /&gt;prod_usagearea tablosu için örnek:&lt;br /&gt;prodid ve usageareaid foreignkey&lt;br /&gt;&lt;br /&gt;The DELETE statement conflicted with the REFERENCE constraint "FK_Prod_UsageArea_UsageArea1". The conflict occurred in database "Himerpa", table "dbo.Prod_UsageArea", column 'UsageAreaID'.&lt;br /&gt;The statement has been terminated.&lt;br /&gt;&lt;br /&gt;çözüm: &lt;b&gt;delete rule : cascade&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-8783493244641672745?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8783493244641672745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/8783493244641672745'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/kayt-silmede-foreign-key-engeli-nasl.html' title='kayıt silmede foreign key engeli nasıl aşılır'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-698080761161158477</id><published>2010-01-07T20:31:00.002+02:00</published><updated>2010-01-07T20:31:37.916+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='update'/><category scheme='http://www.blogger.com/atom/ns#' term='join'/><title type='text'>sql - update table with join</title><content type='html'>update t1 &lt;br /&gt;set t1.Field = t2.Field &lt;br /&gt;from Table1 t1 &lt;br /&gt;join Table2 t2 on t1.id = t2.id&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-698080761161158477?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/698080761161158477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/698080761161158477'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2010/01/sql-update-table-with-join.html' title='sql - update table with join'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1059052486360153767</id><published>2009-12-28T12:04:00.000+02:00</published><updated>2009-12-28T12:04:39.796+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='autocomplete'/><title type='text'>jquery - asp.net autocomplete</title><content type='html'>&lt;a href="http://www.eggheadcafe.com/tutorials/aspnet/18b6a1fa-a7cf-4507-84f2-15056fe65bb7/autocompletion-with-jque.aspx"&gt;http://www.eggheadcafe.com/tutorials/aspnet/18b6a1fa-a7cf-4507-84f2-15056fe65bb7/autocompletion-with-jque.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ek:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol class="dp-xml" start="1" style="background-color: white; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #5c5c5c; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1px !important; margin-left: 45px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li class="alt" style="background-color: white; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: inherit; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;script&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;type&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"text/javascript"&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="" style="background-color: #f8f8f8; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: #5c5c5c; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(document).ready(function()&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt" style="background-color: white; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: inherit; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$("input#&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;%=txtKelime.ClientID&amp;nbsp;%&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;").autocomplete('Ara.aspx').result(function(event,&amp;nbsp;item)&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="" style="background-color: #f8f8f8; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: #5c5c5c; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$("#&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;%=txtGizliAlan.ClientID&amp;nbsp;%&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;").val(item.toString().split(",")[1]);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt" style="background-color: white; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: inherit; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="" style="background-color: #f8f8f8; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: #5c5c5c; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;});&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt" style="background-color: white; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: inherit; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;script&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="" style="background-color: #f8f8f8; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: #5c5c5c; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt" style="background-color: white; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: inherit; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;form&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;runat&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"server"&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;id&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"form1"&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="" style="background-color: #f8f8f8; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: #5c5c5c; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;asp:textbox&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;id&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"txtKelime"&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;runat&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"server"&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt" style="background-color: white; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: inherit; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;asp:textbox&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;id&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"txtGizliAlan"&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;runat&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"server"&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;style&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="attribute-value" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"display:none"&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="" style="background-color: #f8f8f8; border-bottom-style: none; border-color: initial; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; border-right-style: none; border-top-style: none; border-width: initial; color: #5c5c5c; line-height: 14px; list-style-image: initial; list-style-position: outside !important; list-style-type: decimal-leading-zero; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 0px !important; padding-left: 10px !important; padding-right: 3px !important; padding-top: 0px !important;"&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;asp:textbox&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;asp:textbox&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;&lt;span class="tag-name" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;form&lt;/span&gt;&lt;span class="tag" style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="background-color: inherit; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1059052486360153767?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1059052486360153767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1059052486360153767'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/jquery-aspnet-autocomplete.html' title='jquery - asp.net autocomplete'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5491391938425316626</id><published>2009-12-24T12:00:00.001+02:00</published><updated>2009-12-24T12:00:51.749+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><title type='text'>linq to sql - [error] row not found or changed</title><content type='html'>I solved this error by redragging over a table from the server explorer to the designer and re-building. So indeed, the designer was out-of-synch with the actual SQL Table.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://social.msdn.microsoft.com/forums/en-US/linqprojectgeneral/thread/c672c8ee-bf2a-41b4-bb8b-aa76cc5d9b95/"&gt;http://social.msdn.microsoft.com/forums/en-US/linqprojectgeneral/thread/c672c8ee-bf2a-41b4-bb8b-aa76cc5d9b95/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5491391938425316626?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5491391938425316626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5491391938425316626'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/linq-to-sql-row-not-found-or-changed.html' title='linq to sql - [error] row not found or changed'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2161164586323371806</id><published>2009-12-23T23:10:00.000+02:00</published><updated>2009-12-23T23:10:27.698+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='zune'/><title type='text'>How to copy data off your Zune</title><content type='html'>Figured this out earlier today:&lt;br /&gt;&lt;br /&gt;I highly recommend backing up these registry values before modifying anything. If you don’t know how to do that, I don’t recommend that you even attempt this right now =)&lt;br /&gt;&lt;br /&gt;Make sure your Zune is not plugged in and your Zune software isn’t running&lt;br /&gt;open up regedit by going to the start menu and selecting “run”. Type regedt32 and hit “OK”&lt;br /&gt;Browse to HKEY_LOCAL_MACHINE\System\ControlSet001\Enum\USB\&lt;br /&gt;Search for “PortableDeviceNameSpace”. This should be contained in the Vid_####&amp;amp;Pid_####\########_-_########_-_########_-_########\Device Parameters within the above …\USB\ The ##’s listed here will be numbers and letters specific to your Zune&lt;br /&gt;Change the following values:&lt;br /&gt;EnableLegacySupport to 1&lt;br /&gt;PortableDeviceNameSpaceExcludeFromShell to 0&lt;br /&gt;ShowInShell to 1&lt;br /&gt;Plug in your Zune, and make sure the Zune Software starts up.&lt;br /&gt;Hopefully at this point you can open up “My Computer” and browse your device, though it does NOT show up as a drive letter.&lt;br /&gt;Right now I can access it both as a harddrive and sync through the Zune Software.&lt;br /&gt;&lt;br /&gt;[Edit: This was first posted here and ZuneBoards.com after I figured it out. For more information, check out ZuneBoards.com!]&lt;br /&gt;&lt;br /&gt;&lt;a href="http://phaleux.com/?p=8"&gt;&lt;/a&gt;&lt;a href="http://phaleux.com/?p=8"&gt;http://phaleux.com/?p=8&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2161164586323371806?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2161164586323371806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2161164586323371806'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/how-to-copy-data-off-your-zune.html' title='How to copy data off your Zune'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7020223119616124356</id><published>2009-12-17T14:54:00.004+02:00</published><updated>2009-12-17T14:57:40.673+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='türkçe karakter'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net ajax control'/><category scheme='http://www.blogger.com/atom/ns#' term='globalization'/><title type='text'>asp.net - türkçe karakter sorunu</title><content type='html'>&lt;span style="font-family: Tahoma, Arial, Verdana, sans-serif; font-size: 11px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="clear: left;"&gt;&lt;span style="font-size: x-small;"&gt;ASP.Net ile kod yazmaya başlamadan önce yaşamanız muhtemelen olan bir sorunu şimdiden çözelim. Kod yazmaya geçtiğinizde muhtemelen sayfanızda kullandığınız kontrollerde Türkçe karakterlerin yok olduğunu göreceksiniz. Bu yüzden önce bu durumdan nasıl kurtuluruz onu görelim ondan sonra kod yazmaya geçeceğiz…&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Ancak isterseniz kısa biraz bilgi verelim.ASP.Net’in tanımlı karakter kodlama tekniği UTF-8’dir yani siz aşağıdaki ayarlamalardan hiç birini yapmazsanız ASP.Net varsayılan ayar olan UTF-8’i kullanacaktır. İşin güzel tarafı eğer UTF-8 kullanılırsa sayfanıza Türkçe karakterler görebilirsiniz ve hiçbir ayar yapmanıza gerek yoktur; fakat işin kötü tarafı kullandığınız metin editörünüzün UTF-8’i desteklemesi lazım. Eğer bu kodlamayı desteklemeyen bir editör kullanırsanız, editörünüz kodlarınızı ANSI formatında kaydeder ve sizin karakterleriniz yok olur gider…&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Eğer siz UTF-8’i desteklemeyen bir editör kullanıyorsanız (örn:Homesite 4.5) ve Türkçe karakter sorunu yaşamak istemiyorsanız o zaman bütün web tasarımcılarının aşina olduğu bir karakter kodlama yöntemini kullanacağız ISO 8859-9 kodlaması. Bu kod Türkçe için özel bir koddur ve web tasarımı ile az çok uğraşan herkesin bildiği bir koddur. Ancak bu kodlamayı kullanmak için bazı ayarlamalar yapmak lazımdır..&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ISO kodlamasını kullanarak ASP.Net’te Türkçe karakter sorunu yaşamamak için web.config dosyasında ve sayfamızda ayarlar yapmamız lazım.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Web.config dosyayı bildiğiniz gibi ASP.Net uygulamalarımız hakkında bazı ayarları yapmamızı sağlayan ve bu ayarları barındıran XML dosyasıdır. Aşağıda Türkçe karakter ayarı yapılmış bir web.config dosyasının kodları var. Ancak bu sadece bizi ilgilendiren kısmı, normalde bu sayfada daha çok şey var.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;table bgcolor="#f5f5f5" border="1" bordercolor="#e0e0e0" cellpadding="0" cellspacing="0" collapse=""&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="vertical-align: top;"&gt;&lt;span style="font-family: Courier;"&gt;  &lt;configuration&gt;  &lt;system.web&gt;  &lt;globalization culture="tr-TR" requestencoding="iso-8859-9" responceencoding="iso-8859-9" uiculture="tr"&gt;  &lt;/globalization&gt;&lt;/system.web&gt;  &lt;/configuration&gt;&lt;/span&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="font-family: Verdana;"&gt;&amp;nbsp;Şimdi .aspx uzantılı sayfalarımızda yapacağımız ayara geçelim.ASP.Net sayfamızın “Page Directive”’inde yani ile başlayan satırında da Türkçe karakter kullanacağımızı belirtmemiz lazım. Bu satır aşağıdaki gibi olmalıdır.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#f5f5f5" border="1" bordercolor="#e0e0e0" cellpadding="0" cellspacing="0" collapse=""&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="vertical-align: top;"&gt;&lt;span style="font-family: Courier; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="font-family: Verdana;"&gt;&amp;nbsp;Ama bir dakika, bu da ne? 25899, hani biz ISO kullanıyorduk? Bu sayı ASP.Net’te bizim iso-8859-9 ‘a denk düşen bir kodlama.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Eğer yukarıdaki 2 ayarı yaptıysanız sayfalarınızda Türkçe karakter sorunu olmaması lazım. Ancak dikkat etmeniz gereken bir nokta web.config te böyle bir kodlamadan bahsederken, sayfamızda kod olarak başka bir dile işaret edecek bir kodlama kullanırsanız sayfalarınızın kafası karışır..&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sanıyorum artık Türkçe probleminiz kalmamıştır…&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;&lt;a href="http://www.altinsoft.com/destek/haber/370-programlama-dilleri-aspnet-ile-turkce-karakter.html"&gt;http://www.altinsoft.com/destek/haber/370-programlama-dilleri-aspnet-ile-turkce-karakter.html&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7020223119616124356?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7020223119616124356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7020223119616124356'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/aspnet-turkce-karakter-sorunu.html' title='asp.net - türkçe karakter sorunu'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4850500234562177230</id><published>2009-12-17T12:43:00.000+02:00</published><updated>2009-12-17T12:43:17.641+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='delete rule'/><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><category scheme='http://www.blogger.com/atom/ns#' term='cascade'/><title type='text'>linq to sql - başka tablolardaki ilişkili kayıtları silmek</title><content type='html'>&lt;i&gt;bir tablodan bir kayıt silinecekken bu kayıtla ilişkili diğer tablolardaki tüm kayıtlar da otomatik olarak silinmek isteniyorsa...&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;örnek:&lt;br /&gt;&lt;b&gt;prod &lt;/b&gt;tablosundan bir kayıt silinecek ve bunla ilgili olarak &lt;b&gt;prod_lang &lt;/b&gt;ve &lt;b&gt;prod_usagaearea &lt;/b&gt;tablolarındaki ilişkili kayıtlar da silinecek ise;&lt;br /&gt;&lt;br /&gt;prod &amp;amp; prod_lang ve prod &amp;amp; prod_usagearea tabloları arasındaki ilişkiler (associations) 'de &lt;b&gt;delete rule&lt;/b&gt;&amp;nbsp;özelliği &lt;b&gt;cascade&lt;/b&gt; olarak ayarlanmalı.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4850500234562177230?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4850500234562177230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4850500234562177230'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/linq-to-sql-baska-tablolardaki-iliskili.html' title='linq to sql - başka tablolardaki ilişkili kayıtları silmek'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-622080475581277750</id><published>2009-12-03T18:18:00.002+02:00</published><updated>2009-12-17T12:44:33.701+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><category scheme='http://www.blogger.com/atom/ns#' term='left outer join'/><title type='text'>linq to sql - left outer join with</title><content type='html'>&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var prod_Langs = from p_l in db.Prod_Langs&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; join p in db.Prods on p_l.ProdID equals p.ProdID&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; join p_ua in db.Prod_UsageAreas on p_l.ProdID equals p_ua.ProdID&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where (catId == null || catId &amp;lt; 1 || p.CatID == catId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (brandId == null || brandId &amp;lt; 1 || p.BrandID == brandId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (usageAreaId == null || usageAreaId &amp;lt; 1 || p_ua.UsageAreaID == usageAreaId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; p_l.LangID == langId&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select p_l;&lt;br /&gt;&lt;br /&gt;yerine&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var prod_Langs = from p_l in db.Prod_Langs&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; join p in db.Prods on p_l.ProdID equals p.ProdID&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; join p_ua in db.Prod_UsageAreas on p.ProdID equals p_ua.ProdID&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;into data from x in data.DefaultIfEmpty()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where (catId == null || catId &amp;lt; 1 || p.CatID == catId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (brandId == null || brandId &amp;lt; 1 || p.BrandID == brandId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; (usageAreaId == null || usageAreaId &amp;lt; 1 || x.UsageAreaID == usageAreaId)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; p_l.LangID == langId&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select p_l;&lt;br /&gt;&lt;br /&gt;linq join'i inner join olarak sql'e çeviriyor. left outer join için&lt;br /&gt;&lt;br /&gt;&lt;b&gt;into data from x in data.DefaultIfEmpty()&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;kısmını ekledik.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.oguzyagmur.com/PermaLink,guid,b9fcc750-0e3b-43e4-a9e8-212ee94afa4e.aspx"&gt;http://www.oguzyagmur.com/PermaLink,guid,b9fcc750-0e3b-43e4-a9e8-212ee94afa4e.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-622080475581277750?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/622080475581277750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/622080475581277750'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/left-outer-join-with-linq-to-sql.html' title='linq to sql - left outer join with'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-7724612365777376414</id><published>2009-12-03T17:15:00.006+02:00</published><updated>2009-12-17T12:45:04.479+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='one to many'/><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><title type='text'>linq to sql - [error] An attempt was made to remove a relationship between a [mastertable] and a [detailtable]. However, one of the relationship's foreign keys (detailtable.foreignkey1) cannot be set to null</title><content type='html'>&lt;span style="font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System.InvalidOperationException: An attempt was made to remove a relationship between a Order and a OrderDetail. However, one of the relationship's foreign keys (OrderDetail.OrderID) cannot be set to null.&lt;/em&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;To fix this we need to indicate to the model that we want to delete the OrderDetail when it's OrderID is set to null. Unfortunately this cannot be done in the O/R designer so you have to open the model in an XML editor. Fortunately, once you change it the designer won't mess with it again unless you remove the class completely. Open the dbml file with the XML Editor (just right-click on it an select "Open with...") and locate the XML that describes the OrderDetail class. Notice the association under the OrderDetail table:&lt;br /&gt;&lt;/div&gt;&lt;pre class="code" style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Table&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;dbo.OrderDetail&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Member&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;OrderDetails&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;br /&gt;  &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;OrderDetail&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Column&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;OrderDetailID&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System.Int32&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DbType&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Int NOT NULL IDENTITY&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;br /&gt;            &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsPrimaryKey&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsDbGenerated&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CanBeNull&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;false&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Column&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;OrderID&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System.Int32&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DbType&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Int NOT NULL&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CanBeNull&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;false&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Column&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ProductID&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System.Int32&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DbType&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Int NOT NULL&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CanBeNull&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;false&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Column&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Quantity&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System.Int32&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DbType&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Int NOT NULL&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CanBeNull&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;false&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Column&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Price&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System.Decimal&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DbType&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Money&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CanBeNull&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Column&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Modified&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System.Data.Linq.Binary&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DbType&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;rowversion NOT NULL&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;br /&gt;            &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CanBeNull&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;false&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsVersion&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; /&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: yellow; background-image: initial; background-repeat: initial; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Association&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Order_OrderDetail&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Member&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Order&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ThisKey&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;OrderID&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;br /&gt;                 &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Order&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsForeignKey&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;"/&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;    &lt;association&gt;&lt;/association&gt;&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Product_OrderDetail&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Member&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Product&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ThisKey&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ProductID&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;br /&gt;                 &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Product&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsForeignKey&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; /&amp;gt;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;We need to add an attribute here called DeleteOnNull and set it to true in order to be able to delete a child row independently in the database when calling SubmitChanges(). Once we make this change we can now delete just a single OrderDetail from the grid and save normally:&lt;br /&gt;&lt;/div&gt;&lt;pre class="code" style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Association&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Name&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Order_OrderDetail&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Member&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Order&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ThisKey&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;OrderID&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Type&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Order&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;br /&gt;             &lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsForeignKey&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;" &lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: yellow; background-image: initial; background-repeat: initial; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DeleteOnNull&lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;"&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;"/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The other option to fix this issue is to modify the Delete Rule to "Cascade" on the relationship in the database. In that case the designer correctly infers this attribute on the association.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/bethmassi/archive/2008/02/19/one-to-many-master-detail-forms-with-linq-to-sql.aspx"&gt;http://blogs.msdn.com/bethmassi/archive/2008/02/19/one-to-many-master-detail-forms-with-linq-to-sql.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;not: 1. yol sorunu çözdü.&lt;br /&gt;&lt;br /&gt;not 2. eğer ilişki prod, usagearea, prod_usagearea biçimindeyse;&lt;br /&gt;&lt;br /&gt;[Association(Name="Prod_Prod_UsageArea", Storage="_Prod", ThisKey="ProdID", OtherKey="ProdID", IsForeignKey=true, DeleteOnNull = true)]&lt;br /&gt;&lt;br /&gt;[Association(Name = "UsageArea_Prod_UsageArea", Storage = "_UsageArea", ThisKey = "UsageAreaID", OtherKey = "UsageAreaID", IsForeignKey = true, DeleteOnNull = true)]&lt;br /&gt;&lt;br /&gt;prod_usagearea tablosu:&lt;br /&gt;prodid&amp;nbsp;(primarykey, int, not null)&lt;br /&gt;usageareaid (primarykey, int, not null)&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-7724612365777376414?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7724612365777376414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/7724612365777376414'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/attempt-was-made-to-remove-relationship.html' title='linq to sql - [error] An attempt was made to remove a relationship between a [mastertable] and a [detailtable]. However, one of the relationship&apos;s foreign keys (detailtable.foreignkey1) cannot be set to null'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1102822753763782573</id><published>2009-12-03T00:14:00.002+02:00</published><updated>2009-12-17T12:48:31.410+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='generic.list'/><title type='text'>c# 3.x - List.Insert</title><content type='html'>var countries = Application["CountryList"] as List&lt;country&gt;;&lt;br /&gt;countries.Insert(0, new Country {CountryID = 0, Title = "Ülke"});&lt;br /&gt;&lt;br /&gt;Application["CountryList"]'e de bir Country ekliyor.&lt;br /&gt;&lt;br /&gt;Bunun yerine;&lt;br /&gt;&lt;br /&gt;var countries = new List&lt;country&gt;();&lt;br /&gt;countries.Add(new Country {CountryID = 0, Title = "Ülke"});&lt;br /&gt;countries.AddRange(Application["CountryList"] as List&lt;country&gt;);&lt;/country&gt;&lt;/country&gt;&lt;/country&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1102822753763782573?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1102822753763782573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1102822753763782573'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/12/listinsert.html' title='c# 3.x - List.Insert'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3984249032507863364</id><published>2009-11-24T10:32:00.002+02:00</published><updated>2009-12-17T12:48:04.424+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bak'/><category scheme='http://www.blogger.com/atom/ns#' term='sql backup'/><category scheme='http://www.blogger.com/atom/ns#' term='sql restore'/><title type='text'>sql server - [error] Error 3154: The backup set holds a backup of a database other than the existing database</title><content type='html'>Eğer işlem yaptığın SQL Server Instance' ında açmak (Restore) için belirttiğin veritabanı adında bir veritabanı zaten varsa ve açmak istediğin veritabanından farklı bir veritabanıysa (mesela senin oluşturmadığın bir db ise ve sana sadece bak dosyası gönderilmişse) bu hatayı alırsın.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3984249032507863364?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3984249032507863364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3984249032507863364'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/error-3154-backup-set-holds-backup-of.html' title='sql server - [error] Error 3154: The backup set holds a backup of a database other than the existing database'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-5953503379088762710</id><published>2009-11-17T16:06:00.001+02:00</published><updated>2009-12-17T12:47:37.142+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net facebook application'/><title type='text'>facebook app - asp.net facebook application links</title><content type='html'>&lt;a href="http://www.alialtugkoca.com/arsiv/facebook-uygulama-gelistirme-1-gerekenler-onhazirlik/"&gt;http://www.alialtugkoca.com/arsiv/facebook-uygulama-gelistirme-1-gerekenler-onhazirlik/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.marketing-ninja.com/asp-net/5-facebooknet-development-tips/"&gt;http://www.marketing-ninja.com/asp-net/5-facebooknet-development-tips/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.stevetrefethen.com/wiki/Facebook%20application%20development%20in%20ASP.NET.ashx?NoRedirect=1"&gt;http://www.stevetrefethen.com/wiki/Facebook%20application%20development%20in%20ASP.NET.ashx?NoRedirect=1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.stevetrefethen.com/blog/DevelopingFacebookApplicationsInCWithASPNET.aspx"&gt;http://www.stevetrefethen.com/blog/DevelopingFacebookApplicationsInCWithASPNET.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-5953503379088762710?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5953503379088762710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/5953503379088762710'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/aspnet-facebook-application-links.html' title='facebook app - asp.net facebook application links'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1967477571752804248</id><published>2009-11-15T18:37:00.002+02:00</published><updated>2009-12-17T12:47:12.000+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rounded border'/><category scheme='http://www.blogger.com/atom/ns#' term='img'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>css - rounded border for images</title><content type='html'>.xxx ul a img&lt;br /&gt;{&lt;br /&gt;border: 3px solid #f6b900;&lt;br /&gt;-moz-border-radius: 3px;&lt;br /&gt;-webkit-border-radius: 3px;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1967477571752804248?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1967477571752804248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1967477571752804248'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/rounded-border-for-images.html' title='css - rounded border for images'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4774263658676861339</id><published>2009-11-10T18:20:00.003+02:00</published><updated>2009-12-17T12:46:00.906+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='database publishing'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2008'/><title type='text'>sql server 2008 - database publishing</title><content type='html'>&lt;a href="http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/"&gt;http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4774263658676861339?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4774263658676861339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4774263658676861339'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/sql-server-2008-database-publishing.html' title='sql server 2008 - database publishing'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1995452288078753825</id><published>2009-11-10T17:31:00.002+02:00</published><updated>2009-12-17T12:47:00.516+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>web service - The test form is only available for requests from the local machine</title><content type='html'>&lt;strong&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;system.web&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;webServices&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;protocols&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name=”HttpGet”/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name=”HttpPost”/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/protocols&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/webServices&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/system.web&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1995452288078753825?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1995452288078753825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1995452288078753825'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/test-form-is-only-available-for.html' title='web service - The test form is only available for requests from the local machine'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-3978314099091051504</id><published>2009-11-09T18:23:00.002+02:00</published><updated>2009-12-17T12:46:17.004+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>linq to sql - Type 'http://microsoft.com/wsdl/types/:char' is not declared</title><content type='html'>web service char alan içeren bir objeyi döndüremiyor.&lt;br /&gt;&lt;br /&gt;char alanı varchar'a çevirdiğim halde, dbml'de değişmiyor. elle değiştirmek gerekiyor.&lt;br /&gt;aynı şekilde wsdl'de de elle değişiklikler gerekebilir.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-3978314099091051504?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3978314099091051504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/3978314099091051504'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/type-httpmicrosoftcomwsdltypeschar-is.html' title='linq to sql - Type &apos;http://microsoft.com/wsdl/types/:char&apos; is not declared'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1762744401105520225</id><published>2009-11-05T20:32:00.004+02:00</published><updated>2009-12-17T12:46:33.008+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complextype'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>web service - Cannot merge schemas with targetNamespace='http://tempuri.org/'. Several mismatched declarations were found: Schema item 'complexType' named 'Page'...</title><content type='html'>Cannot merge schemas with targetNamespace='http://tempuri.org/'. Several mismatched declarations were found: Schema item 'complexType' named 'Page' from namespace 'http://tempuri.org/'.&lt;br /&gt;&lt;br /&gt;geçersiz:&lt;br /&gt;[WebMethod]&lt;br /&gt;public void Create(Page page, out string errors)&lt;br /&gt;{&lt;br /&gt;PageController controller = new PageController();&lt;br /&gt;controller.Create(page, out errors);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;geçerli:&lt;br /&gt;[WebMethod]&lt;br /&gt;public void Create(string title, out string errors)&lt;br /&gt;{&lt;br /&gt;PageController controller = new PageController();&lt;br /&gt;var page = new Page();&lt;br /&gt;page.Title = title;&lt;br /&gt;controller.Create(page, out errors);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;daha iyi bir çözüm:&lt;br /&gt;[WebMethod]&lt;br /&gt;public void Create(SerializableEntity&lt;page&gt; page, out string errors)&lt;br /&gt;{&lt;br /&gt;_controller.Create(page.Entity, out errors);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Parametre olarak Page'i (yani complextype'ı) kabul etmiyor.&lt;br /&gt;&lt;br /&gt;Not: &lt;a href="http://www.codeproject.com/KB/linq/linqsqlserialization.aspx"&gt;LinqSqlSerialization.dll&lt;/a&gt;&lt;/page&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1762744401105520225?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1762744401105520225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1762744401105520225'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/cannot-merge-schemas-with.html' title='web service - Cannot merge schemas with targetNamespace=&apos;http://tempuri.org/&apos;. Several mismatched declarations were found: Schema item &apos;complexType&apos; named &apos;Page&apos;...'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-4894815719433951187</id><published>2009-11-05T17:57:00.004+02:00</published><updated>2009-12-17T12:46:47.367+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='messagename'/><category scheme='http://www.blogger.com/atom/ns#' term='overload method'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>web service - Use the MessageName property of the WebMethod custom attribute to specify unique message names for the methods</title><content type='html'>&lt;div&gt;Step 1: Use diffrent MessageName attribute values.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;public class MyWS : System.Web.Services.WebService&lt;br /&gt;{&lt;br /&gt;[WebMethod(MessageName = "GetItemById")]&lt;br /&gt;public Item GetItem(int id)&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[WebMethod(MessageName = "GetItemByUniqueTitle")]&lt;br /&gt;public Item GetItem(string uniqueTitle)&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Step 2: Set your webservice binding: ConformsTo = WsiProfiles.None&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-4894815719433951187?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4894815719433951187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/4894815719433951187'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/use-messagename-property-of-webmethod.html' title='web service - Use the MessageName property of the WebMethod custom attribute to specify unique message names for the methods'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-1227557444796327305</id><published>2009-11-05T16:59:00.010+02:00</published><updated>2009-12-17T12:49:24.625+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>web service - linq to sql &amp; web service</title><content type='html'>public class IntertechWS : System.Web.Services.WebService&lt;br /&gt;{&lt;br /&gt;[WebMethod]&lt;br /&gt;public SerializableEntity&amp;lt;Page&amp;gt; GetPage(int id)&lt;br /&gt;{&lt;br /&gt;PageController ctrl = new PageController();&lt;br /&gt;Page page = ctrl.GetPage(id);&lt;br /&gt;&lt;br /&gt;SerializableEntity&amp;lt;Page&amp;gt; entity = new SerializableEntity&amp;lt;Page&amp;gt;(page);&lt;br /&gt;return entity;&lt;br /&gt;&lt;br /&gt;//IntertechDBDataContext db = new IntertechDBDataContext();&lt;br /&gt;//var page = db.Pages.SingleOrDefault&amp;lt;Page, SerializableEntity&amp;lt;Page&amp;gt;&amp;gt;(p =&amp;gt; p.PageID == id);&lt;br /&gt;//return page;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[WebMethod]&lt;br /&gt;public List&amp;lt;SerializableEntity&amp;lt;Page&amp;gt;&amp;gt; GetSubPages(int id, int langId)&lt;br /&gt;{&lt;br /&gt;PageController ctrl = new PageController();&lt;br /&gt;return ctrl.GetSubPages(id, langId).ToList&amp;lt;Page, SerializableEntity&amp;lt;Page&amp;gt;&amp;gt;();&lt;br /&gt;&lt;br /&gt;//IntertechDBDataContext db = new IntertechDBDataContext();&lt;br /&gt;//var pages = db.Pages.ToList&amp;lt;Page, SerializableEntity&amp;lt;Page&amp;gt;&amp;gt;();&lt;br /&gt;//return pages;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Not: &lt;a href="http://www.codeproject.com/KB/linq/linqsqlserialization.aspx"&gt;LinqSqlSerialization.dll&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-1227557444796327305?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1227557444796327305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/1227557444796327305'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/linq-to-sql-web-service.html' title='web service - linq to sql &amp; web service'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-4350809577754390465.post-2912223749945265113</id><published>2009-11-05T14:19:00.002+02:00</published><updated>2009-12-17T12:49:44.770+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='serialization'/><category scheme='http://www.blogger.com/atom/ns#' term='linq to sql'/><title type='text'>linq to sql - Make Entities Serializable (LINQ to SQL)</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/bb546185.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb546185.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb386987.aspx"&gt;Code Generation Tool (SqlMetal.exe)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4350809577754390465-2912223749945265113?l=softwarld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2912223749945265113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4350809577754390465/posts/default/2912223749945265113'/><link rel='alternate' type='text/html' href='http://softwarld.blogspot.com/2009/11/make-entities-serializable-linq-to-sql.html' title='linq to sql - Make Entities Serializable (LINQ to SQL)'/><author><name>pantepember</name><uri>http://www.blogger.com/profile/13551725812387245521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://4.bp.blogspot.com/_K93KPWmf3aw/TIUtf-ypoVI/AAAAAAAAALU/WtawcWRHxz8/S220/34532_1438603138456_1634347413_1038414_3875446_n.jpg'/></author></entry></feed>
