2 yaka 1 köprü biraz da bulut...

by Behlul 22. February 2010 15:19

Tags:

Photo

İşte Film İşte Sinema Bileti

by Behlul 19. February 2010 21:10

 2010’un tepeüstü’nde ! avrupanın orta yerinde aldığımız bilete bak ya ! !!

Olay şudur;

    İnternetten biletler satın alınır,
   biletleri sinema gişelerinin yakınındaki kiosktan almak için hamlede bulunulur...
   Kiosk arızalanır.
   Gişedeki görevliden yardım istenir.
  Görevli bileti son model yazıcısından basar ve verir..

İşte bilet. :)

Tags:

Life

Issız ve Beyaz

by Behlul 5. February 2010 22:24

Tags:

Photo

AspState Aktif Etmek için

by Behlul 5. January 2010 17:35

Sessionlarımızı kalıcı olarak sql de tutmak için

MSSQL'imizi kurduktan sonra

 

Comand prompt'tan

mevcut framework klasörüne erişip aşağıdaki kodu çalıştırdığımızda ilgili tabloların yartılıdığını görürürüz

 

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql.exe -ssadd -sstype p -U sa -P sasifresi -S .

Burdaki -P yi yazmazssak ilgili tabloların yaratılmadıgını göreceğiz bu aspstatelerin sql memory'sinde tutulmasını sağlar

ilgili sql yada server kapatıldıgında aspstateler gitmiş olur...

daha fazla bilgi için;

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql.exe -?

yazarak açıklamaları okumanızı tavsiye ederim

 

şimdi web config dosyamıza

<

 

sessionState mode="SQLServer" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=ilgiliserver; user id=kullaniciID;password=sifre"

/>


yazmamız yeterli olacaktır.

Tags: ,

Coding | Hint

Over by Partition

by Behlul 29. December 2009 05:45

SELECT *
FROM(

      SELECT  *,
                 ROW_NUMBER() OVER (PARTITION BY TestMasterID ORDER BY TestMasterID desc ) as pos                
       FROM
  TestDetay
      
)as Detay INNER JOIN TestMaster as Master on Master.TestMasterID=Detay.TestMasterID
Where Detay.pos >2

Tags:

Coding | Hint

Redirect after 3 seconds

by Behlul 25. December 2009 07:43

<head>
   <META HTTP-EQUIV="refresh" content="3;URL=banu.htm">
</head>

Tags:

Coding | Hint

Birazcık Sihire Nedersiniz ?

by Behlul 25. December 2009 07:37

Şöyle güzel bir site açalım. Bol resim yazı grafik falan olsun.

sonra adres çubuğuna java script kodunu kopyala yapıştır yapalım.

Şimdi boş durmayalım sayfayı kendimize göre düzenleyelim.

Sürükle bırak metodu ile herşeyi serbestce değiştirebilirsiniz.

iyi eğlenceler :)

 

javascript:void(document.body.contentEditable="true");

Tags:

Coding

window.location.href simple link works in IE but not in Firefox

by Behlul 8. December 2009 19:25

Aynı Sayfa içinde window.location.href ' le verince Firefox ve chrome da sayfa postback oluyor.

bunun yerine window.location.hash kullanılırsa sorun çözülüyor....

< a  onclick="selectTab(2);" style="cursor: pointer;"><script type="text/javascript"

$(document).ready(function(){

$(

"#tabs").tabs();

 

 });

 

function selectTab(tab) {

var $tabs = $('#tabs').tabs();

$tabs.tabs('select', tab);

var locationObj = "#tabs"; return false;

window.location.hash = locationObj;

 

 }

</script>

 

Tags: , ,

Coding | Hint

IE'nin window.attachEvent i varsa Firefox'un ....

by Behlul 6. October 2009 16:10

 if  (window.addEventListener)

         window.addEventListener('load', function, false)

else if (window.attachEvent)

 window.attachEvent('onload', function);

else if (document.getElementById)

        window.onload=function;

Tags:

Coding | Hint

Chrome Incognito

by Behlul 23. September 2009 15:04

Tags: ,

Hint

Improve Stored Procedure Performance

by Behlul 9. September 2009 16:34

Sometimes even the simplest things can make a difference.  One of these simple items that should be part of every stored procedure is SET NOCOUNT ON.  This one line of code, put at the top of a stored procedure turns off the messages that SQL Server sends back to the client after each T-SQL statement is executed.  This is performed for all SELECT, INSERT, UPDATE, and DELETE statements. Having this information is handy when you run a T-SQL statement in a query window, but when stored procedures are run there is no need for this information to be passed back to the client.

By removing this extra overhead from the network it can greatly improve overall performance for your database and application.

If you still need to get the number of rows affected by the T-SQL statement that is executing you can still use the @@ROWCOUNT option.  By issuing a SET NOCOUNT ON this function (@@ROWCOUNT) still works and can still be used in your stored procedures to identify how many rows were affected by the statement.

Tags: , ,

Coding | Hint

Sql ShortCuts

by Behlul 4. September 2009 18:44

Management studio'da kısa yolları kaydetmek için Tools ==> Options ==> Keybord seçerek

istenilen tuş kombinasyonuna ister yazdığımız bir function, ister bir store procedure atayabiliyoruz.

atamadan sonra Management Studio'yu tekrar başlatmak gerekiyor...

Tags: , ,

Coding | Hint

Yeni Blog

by Behlul 4. September 2009 09:11

Gerçekten çok uzun zaman oldu bişeyler karalamayalı yada öğrendiğim bir şeyleri paylaşmayalı...

yeniden yazmak için yeni bir blogla burdayım

 

Eski makaleler ve yazılarımı kısa bir sürede burada görebileceksiniz...

Tags:

Yeni

Evleniyoruz

by Behlul 18. July 2009 17:00

Evet en sonunda Banu'yla hayatlarımızı birleştiriyoruz...

Bir ömür boyu mutluluklar bize Laughing...

Özlem'e teşekkürler....

Tags:

Life

Son güncellenenler

by Behlul 24. October 2008 10:26

SELECT
    *
FROM
    INFORMATION_SCHEMA.ROUTINES
ORDER BY
    
LAST_ALTERED DESC

Tags: ,

Hint

Microsoft Releases Robotics Developer Studio 2008 CTP

by Behlul 10. April 2008 07:17

Microsoft today released the first community technology preview (CTP) of Robotics Developer Studio 2008 at the RoboBusiness conference in Pittsburgh.

The product is the third version of the robotics programming platform, which previously had been called the Microsoft Robotics Studio.

Microsoft Robotics Developer Studio 2008 (RDS 08) significantly improves runtime performance, from 150 percent to 300 percent,
according to Microsoft General Manager of the Robotics Group Tandy Trower. "It's not the monolithic, single-threaded model that people have normally used for robots.

 Instead this is a more asynchronous, distributed approach to programming," Trower said.

Trower said RDS 08 will enable developers to write code and routines that rely on asynchronous message passing,
 providing for a more distributed runtime environment and expanding the potential for future robots to process and act on large volumes of information.
According to a Microsoft release, RDS 08 adds support for distributed language integrated queries (LINQ), intended to enable "advanced filtering and inline processing of sensor data at the source."

According to Trower, the distributed application architecture will make it easier for robotic applications to access processing from remote sources,
enabling a simple machine to act on complex processing done on a corporate server or in the cloud.

"You can have cooperative robotic interaction, because the robots can easily share information among each other," Trower said.

The RDS 08 CTP also provides improved sensor interaction, enabling sensors to send granular state change information to the processor, rather than requiring code that constantly checks sensor status.

Microsoft Robotics Studio was launched in 2006 to give developers a way to write high-level robotics applications without having to dive down into the minutiae of hundreds of different sensor and motor interfaces.

Ultimately, Trower said, the tools and techniques developers in the Robotics group could very well end up in mainstream development products at Microsoft.

"You will see that this year the core pieces -- the CCR, which is our concurrency coordination runtime and our DSS services, which is its companion that provides the concurrency model across the distributed network -- these pieces we actually will separate out and offer independently as well as in the toolkit, so that people who are interested in using this for [other] applications will be able to do that," Trower said.

"You will also see them positioned as part of the development tools family outside of the robotics area by our marketing team in our developer tools marketing group."

Tags: ,

Robotics

Disable Button After Click

by Behlul 12. February 2008 07:24

 

Aklımızda, blogumuzda dursun

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

   If Not Page.IsPostBack Then

      btnEKTalepEkle.Attributes.Add(

"onclick", "btnEKTalepEkle.disabled=true;" & Me.GetPostBackEventReference(Me.btnEKTalepEkle))

  End If

Tags:

Coding | Hint

What is Project Management

by Behlul 14. January 2008 07:46

Budur....

Tags:

Coding | Hint

İşte Ben :)

by Behlul 25. December 2007 07:49

 

Ellerine Sağlık Özlem

 

Gerçi şişman çizmiş ama... :)

Tags:

MultiLine TextBox MaxLength Problem & Solution

by Behlul 3. October 2007 07:30

Bildiğiniz gibi asp.net uygulamalarında textboxlara karakter sınırı koymak için maxlength adlı propertisini kullanabiliriz.

 Fakat textbox'ın textmode=multiline yapınca her nedense bu property çalışmıyor.(Bug mı acaba?)

 

Bu sorunu ekteki javascript'i kullanarak aşabiliriz.

   

    <script type="text/javascript" language="JavaScript">

    function textCounter(field,cntfield,maxlimit) {

        if (field.value.length > maxlimit)

            field.value = field.value.substring(0, maxlimit);

 

        else

            cntfield.value = maxlimit - field.value.length;

       }

    </script>

 

 

 

       <table>

           <tr>

               <td>

                   <input readonly type="text" name="Sayac" maxlength="3" value="230" style="width: 29px" />

                   Kalan karakter sayısı

               </td>

           </tr>

           <tr>

               <td>

                   <asp:TextBox runat="server" ID="txtKisitli" Width="250px" Height="100px" TextMode="MultiLine"

                       onKeyDown="textCounter(document.aspnetForm.txtKisitli,document.aspnetForm.Sayac,230)"

                       onKeyUp="textCounter(document.aspnetForm.txtKisitli,document.aspnetForm.Sayac,230)">

                   </asp:TextBox>

               </td>

           </tr>

       </table>

 

Tags:

Coding | Bug

QR Message

Qr Message

Behlül Behram Kimdir?

2004 yılında Doğu Akdeniz Üniversitesi Bilgisayar Mühendisliği Bölümünden mezun oldu. 2000 yılından günümüze kadar C, C++, VB, VB.NET, C# dilleri ile bir çok proje yaptı. Halen bir medya kuruluşunda  "Yazılım Uzmanı" olarak çalışmaktadır...