Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,038

HOME > ASP > ASP Forum > Error Type: ADODB.Recordset (0x800A0CC1) Item cannot be found in the collection corresponding to the requested name or ordinal.


 

[ASP] Error Type: ADODB.Recordset (0x800A0CC1) Item cannot be found in the collection corresponding to the requested name or ordinal.

 
Topic : 017371

Guest



<%
xRef_number=Request.Querystring("sRef_number")
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("test_project_update.mdb")
Sql="Select * from service_report where Ref_number= '" & xRef_number & "'"
Set RS =Server.CreateObject("ADODB.Recordset")
RS.open Sql,Conn,1,3

%>
<form name="updateform" method="post" action="sql_ex_update2(edit).asp">
code คือ


<p>รหัสใบบริการ<input type="text" name="sRef_number" value="<%= RS("Ref_number")%>"></p>
<p>วันที่<input type="Date/Time" name="sdate" value="<%= RS("date")%>"></p>
<p>งานที่ทำ<input type="text" name="swork_to_do" value="<%= RS("work_to_do")%>"></p>
<p>รหัสพนักงาน<input type="Number" name="sEMP_ID" value="<%= RS("Id_employee")%>"></p>
<p>เวลาเริ่มการทำงาน<input type="Date/Time" name="sstart_time_to_service" value="<%= RS("start_time_to_service")%>"></p>
<p>เวลาเสร็จสิ้นการทำงาน<input type="Date/Time" name="send_time_to_service" value="<%= RS("end_time_to_service")%>"></p>
<p>รวจสอบว่างานเสร็จหรือไม่<input type="text" name="scheck_complete_or_no" value="<%= RS("check_complete_or_no")%>"></p>
<p>รหัสลูกค้า<input type="Number" name="sId_customer" value="<%= RS("Id_customer")%>"></p>
<p>ความพอใจของลูกค้าในการบริการ<input type="text" name="ssatified_in_service" value="<%= RS("satified_in_service")%>"></p>
<p>รายการการบริการ<input type="text" name="slist_of_service" value="<%= RS("list_of_service")%>"></p>
<p><input type="submit" name="Submit" value="แก้ไข"></p>
</form>
<%
rs.close
conn.close
%>

------------------------------------------------------------------------------------------------
Error Type:
ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.
/project/sql_ex_update(edit).asp, line 14
------------------------------------------------------------------------------------------------


Tag : - - - -

Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 27 ธ.ค. 2550 23:00:18 By : beginner View : 2739 Reply : 1
 

 

No. 1

Guest


ชื่อฟิวส์ผิด
Date : 28 ธ.ค. 2550 09:31:12 By : เอก
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : Error Type: ADODB.Recordset (0x800A0CC1) Item cannot be found in the collection corresponding to the requested name or ordinal.
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)





ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2025 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่