• 17-09-2012, 12:16:45
    #1
    Merhaba ;
    site içi arama yaparken herşey normal fakat sorunum örnek verıyorum

    Ahmet Nerede yazınca sorun yok ama

    Ahmet Nerede(BOŞLUK)

    BOSLUK yazan yerde kelımeden sonra boşluk bırakılırsa sayfa hata verıyor

    kelıme arasında boslugu donusturuyor ama kelıme sonunda olursa sayfa hata verıyor

    replace kodlarım bu sekıldedır

                                key = key.Replace("Å", "Ş");
                                key = key.Replace("ç", "ç"); key = key.Replace("Ç", "Ç"); key = key.Replace("İ", "İ");
                                key = key.Replace("Ö", "Ö"); key = key.Replace("ö", "ö"); key = key.Replace("Å", "Ş");
                                key = key.Replace("ş", "ş"); key = key.Replace("ğ", "ğ"); key = key.Replace("Ä", "Ğ");
                                key = key.Replace("ü", "ü"); key = key.Replace("Ü", "Ü"); key = key.Replace("ğ±", "ı");
                                key = key.Replace("б", "ı");
                                key = key.Replace((char)159, '#'); key = key.Replace((char)158, '#');
                                key = key.Replace("#", "");
                                key = key.Replace("__J_", "&");

    Aldıgım Hata

    Server Error in '/' Application.
    
                   The resource cannot be found. 
    
                    Description: HTTP 404. The resource you are looking  for (or one of its dependencies) could have been removed, had its name  changed, or is temporarily unavailable.  Please review the following URL  and make sure that it is spelled correctly.             
    
                  Requested URL: /detayli-arama/weff /-1/-1/-1/3/1.aspx
    
  • 17-09-2012, 13:55:21
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    .Trim() ekle sonuna.
  • 17-09-2012, 15:43:37
    #3
    neyin sonuna ?
  • 17-09-2012, 15:47:19
    #4
    key.Trim();