Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Kaynak Eğitim Tanıtım Hizmet > Programlama Dilleri > ASP .NET > ASP Hazır Kodlar / ASP Kütüphane

ASP Hazır Kodlar / ASP Kütüphane ASP Hazır Kodlar / ASP Kütüphane

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)   iTrader 
Alt 2008-03-08, 22:01
LincolnSamet - ait Kullanıcı Resmi (Avatar)
Member
 
Üyelik tarihi: Mar 2008
Nerden: Balıkesir
Mesajlar: 164
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 1
iTrader: %100/1
LincolnSamet is an unknown quantity at this point
Standart Aspde sayfalama yapmak

Asp de sayfalama yapmak için küçük kod parcasi


Kod:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>New Page 1</title>
</head>
<body>
<table border="1" width="100%" id="table1">
<font color="#FF00FF">
<%
set data=server.createobject("adodb.connection")
set rst6=server.createobject("adodb.recordset")
data.Open "Provider=SQLOLEDB.1;Password=4671547;Persist Security Info=True;User ID=web;Initial Catalog=TICONA2005;Data Source=ramazan"     
rst6.open "select * from TBLSTSABIT order by STOK_KODU ",data,3,3
deste=15
Sayfa=rst6.recordcount/deste
sayi=request("S")
Liste=sayi * deste
if sayi=>2 then
for i= 0 to Liste-15
	if i=rst6.recordcount then
	exit for
	end if
rst6.movenext
next
else
end if
%>

</font>
<font color=#FF3300>
<%
if sayi=1 then
liste=1
end if
%>
<%
for i= liste to liste+Deste%>

<tr>
	<td><b><font size="1" face="Tahoma"><%=rst6.fields("STOK_KODU")%>--<%=rst6.fields("STOK_ADI")%></font></b></td>
	</tr>
	<%
    if i=rst6.recordcount then
	exit for
	end if
	rst6.movenext
	next
	%>
</table>

<table border="1" width="100%">
	<tr>
	<%for i=1 to Sayfa%><td><a href=index.asp?S=<%=i%>><%=i%></a></td><%next%>
	</tr>
	</font>
</table>
</body>
</html>
Alıntı ile Cevapla

  #2 (permalink)   iTrader 
Alt 2008-03-28, 22:50
Junior Member
 
Üyelik tarihi: Mar 2008
Mesajlar: 18
Teşekkür: 0
Thanked 0 Times in 0 Posts
Tecrübe Puanı: 0
iTrader: %0/0
aydingebze is an unknown quantity at this point
Standart

Kod:
<%
islem = Request("islem")
Select Case islem
Case "default"%>		        <!--#include file="kampanyalar.asp" -->
<%Case "kampanyalar"%>				  <!--#include file="kampanyalar.asp" -->
<%Case "iletisim"%>	
<%Case Else%><!--#include file="kampanyalar.asp" --><%End Select%>

Bu Kodda Yeni Baslayanlar icin Cok güzel
Alıntı ile Cevapla

Cevapla


Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Aspde include Ekstra ASP .NET 3 2007-11-11 13:49
aspde ip kaydetme Kayıtsız Üye ASP .NET 1 2007-08-29 19:07
Sayfadaki uzun yazılari sınırlayarak sayfalama yapmak scrol ASP .NET 3 2007-03-31 03:26
Aspde Yükleniyor.. tolgahat ASP .NET 9 2006-07-21 23:13
ASPde veritabanına kayıt TrDownload PHP 2 2006-03-26 13:35


Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 00:24 .


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

Firefox