- Katılım
- 16 Kasım 2005
- Mesajlar
- 0
- Reaction score
- 0
arkadaşlar makale eklemek isteynce
Microsoft OLE DB Provider for ODBC Drivers error '80040e10' [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect/yonettim.asp, line 42
hatası veriyor.yardımlarınızı bekliyorum.
teşekkürler
-------------------------------------------------------------------
<!--#include file="baglanti.asp"-->
<table border="1" width="100%" id="table1">
<tr>
<td><a href="?sayfa=kategori">Kategori Ekle</a></td>
<td><a href="?sayfa=makale">Makale Ekle</a></td>
</tr>
</table>
<%
sayfa = Request("sayfa")
kaydet = Request("kaydet")
if sayfa="makale" then%>
<form action="?sayfa=makale&kaydet=ok" method=post>
<table border="1" width="100%" id="table2">
<tr>
<td>Başlık</td>
<td>Özet</td>
<td>Etiket</td>
<td>Açıklama</td>
<td>Kategori</td>
<td> </td>
</tr>
<tr>
<td><input type="text" name="T1" size="20"></td>
<td><textarea name="T2" rows="6" cols="19"></textarea></td>
<td><textarea name="T7" rows="6" cols="19"></textarea></td>
<td><textarea name="T6" rows="6" cols="20"></textarea></td>
<td><select name="T3">
<%SET KATEGORI=bag.execute ("select * from kategori")
Do While Not KATEGORI.EOF
%>
<option value="<%=KATEGORI("kimlik")%>"><%=KATEGORI("KATE" )%></option>
<% KATEGORI.movenext
Loop
%>
</select></td>
<td> <input type=submit value=kaydet>
<%if kaydet="ok" then
(42 burası) Bag.Execute ("INSERT INTO MAKALE (BASLIK,OZET,KATE,ACIKLAMA,ETIKET) VALUES ('" & Request.Form("T1") & "', '" & Request.Form("T2") & "', '" & Request.Form("T3") & "', '" & Request.Form("T6") & "', '" & Request.Form("T7") & "')")
Response.Write "Kaydedildi..."
end if
%>
</td>
</tr>
</table>
</form>
<%Elseif sayfa="kategori" then %>
<form action="?sayfa=kategori&kaydet=ok" method=post>
<table border="1" width="100%" id="table3">
<tr>
<td>Kategori Adı</td>
<td> </td>
</tr>
<tr>
<td><input type="text" name="T4" size="20"></td>
<td><input type=submit value=kaydet>
<%if kaydet="ok" then
Bag.Execute ("INSERT INTO KATEGORI (KATE) VALUES ('" & Request.Form("T4") & "')")
Response.Write "Kaydedildi..."
end if
%>
</td>
</tr>
</table>
</form>
<%end if%>
Microsoft OLE DB Provider for ODBC Drivers error '80040e10' [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect/yonettim.asp, line 42
hatası veriyor.yardımlarınızı bekliyorum.
teşekkürler
-------------------------------------------------------------------
<!--#include file="baglanti.asp"-->
<table border="1" width="100%" id="table1">
<tr>
<td><a href="?sayfa=kategori">Kategori Ekle</a></td>
<td><a href="?sayfa=makale">Makale Ekle</a></td>
</tr>
</table>
<%
sayfa = Request("sayfa")
kaydet = Request("kaydet")
if sayfa="makale" then%>
<form action="?sayfa=makale&kaydet=ok" method=post>
<table border="1" width="100%" id="table2">
<tr>
<td>Başlık</td>
<td>Özet</td>
<td>Etiket</td>
<td>Açıklama</td>
<td>Kategori</td>
<td> </td>
</tr>
<tr>
<td><input type="text" name="T1" size="20"></td>
<td><textarea name="T2" rows="6" cols="19"></textarea></td>
<td><textarea name="T7" rows="6" cols="19"></textarea></td>
<td><textarea name="T6" rows="6" cols="20"></textarea></td>
<td><select name="T3">
<%SET KATEGORI=bag.execute ("select * from kategori")
Do While Not KATEGORI.EOF
%>
<option value="<%=KATEGORI("kimlik")%>"><%=KATEGORI("KATE" )%></option>
<% KATEGORI.movenext
Loop
%>
</select></td>
<td> <input type=submit value=kaydet>
<%if kaydet="ok" then
(42 burası) Bag.Execute ("INSERT INTO MAKALE (BASLIK,OZET,KATE,ACIKLAMA,ETIKET) VALUES ('" & Request.Form("T1") & "', '" & Request.Form("T2") & "', '" & Request.Form("T3") & "', '" & Request.Form("T6") & "', '" & Request.Form("T7") & "')")
Response.Write "Kaydedildi..."
end if
%>
</td>
</tr>
</table>
</form>
<%Elseif sayfa="kategori" then %>
<form action="?sayfa=kategori&kaydet=ok" method=post>
<table border="1" width="100%" id="table3">
<tr>
<td>Kategori Adı</td>
<td> </td>
</tr>
<tr>
<td><input type="text" name="T4" size="20"></td>
<td><input type=submit value=kaydet>
<%if kaydet="ok" then
Bag.Execute ("INSERT INTO KATEGORI (KATE) VALUES ('" & Request.Form("T4") & "')")
Response.Write "Kaydedildi..."
end if
%>
</td>
</tr>
</table>
</form>
<%end if%>