 |
|
ASP.Net ติด Error Operation must use an updateable query. หาวิธีแก้ไขไม่ได้ช่วยหน่อยค่ะ |
|
 |
|
|
 |
 |
|
    
|
 |
 |
 |
 |
Date :
2013-10-29 17:06:20 |
By :
watcharop |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอความอนุเคราะห์ให้ข้อมูลมากกว่านี้อีกสักหน่อยได้ไหม
เอาโค้ดมาแปะก็ดี ว่า Error บรรทัดไหน เผื่อจะมีคนช่วย
|
 |
 |
 |
 |
Date :
2013-10-29 17:12:32 |
By :
watcharop |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
รู้สึก Error จะเหมือน Readonly ของ Database น่ะครับ
|
 |
 |
 |
 |
Date :
2013-10-29 17:18:55 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตอบความคิดเห็นที่ : 2 เขียนโดย : watcharop เมื่อวันที่ 2013-10-29 17:12:32
รายละเอียดของการตอบ ::
Code (PHP)
<%@ page language="VB" autoeventwireup="false" inherits="SetPromotion, App_Web_tiyyf9mp" validaterequest="false" %>
<%@ Register Src="AdminHead.ascx" TagName="AdminHead" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>:: Bangkok Hotels - Zenith Sukhumvit Thailand near Bumrungrad Hospital Last Minute Deals ::</title>
<LINK href="MyStyle.css" type="text/css" rel="stylesheet">
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="../animate.js">
</script>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" background="images/bg_main.gif">
<form id="form1" runat="server">
<div align="center">
<table border="0" width="850" id="table1" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td>
<div align="center">
<table border="0" width="840" id="table2" cellspacing="0" cellpadding="0">
<tr>
<td width="790">
<table border="0" width="100%" id="table3" cellspacing="0" cellpadding="0">
<tr>
<td>
<uc1:AdminHead ID="AdminHead1" runat="server" />
</td>
</tr>
</table>
<table border="0" width="100%" id="table4" cellspacing="0" cellpadding="0" style="font-family: Tahoma; font-size: 8pt">
<tr>
<td valign="top">
<table border="0" id="table7" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<div align="center">
<table border="1" width="90%" id="table8" bordercolor="#C0C0C0" cellspacing="0" cellpadding="0" bordercolorlight="#FFFFFF">
<tr>
<td>
<div align="center">
<table border="0" width="99%" cellspacing="0" cellpadding="3" class="Tahoma10">
<tr>
<td bgcolor="#DADADA" colspan="2">
<p align="center"><b>Set Promotion</b></p>
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label> </td>
</tr>
<tr>
<td width="20%" style="text-align: left">
Promotion Head :
</td>
<td width="80%" style="text-align: left"><FONT face="Tahoma">
<asp:TextBox ID="TxtTitle" runat="server" Width="368px"></asp:TextBox>
</FONT></td>
</tr>
<tr>
<td style="height: 31px; text-align: left" width="20%">
Small image name :</td>
<td style="height: 31px; text-align: left" width="80%">
<asp:TextBox ID="txtPath" runat="server" Width="367px"></asp:TextBox></td>
</tr>
<tr>
<td width="20%" style="HEIGHT: 31px; text-align: left;" valign="top">
Promotion Detail :</td>
<td width="80%" style="HEIGHT: 31px; text-align: left;">
<asp:TextBox ID="TxtPost" runat="server" Height="600px" TextMode="MultiLine" Width="500px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 22px" width="20%">
</td>
<td style="height: 22px; text-align: left;" width="80%">
<asp:Button ID="btSubmit" runat="server" Text="Save " /> <asp:Button ID="btReset"
runat="server" Text="Reset" /></td>
</tr>
<tr>
<td width="20%">
</td>
<td width="80%">
<br />
</td>
</tr>
<tr>
<td width="20%" style="height: 46px"> </td>
<td width="80%" style="height: 46px"><FONT face="Tahoma">
</FONT></td>
</tr>
<tr>
<td width="100%" colspan="2">
<FONT face="Tahoma"> </FONT></td>
</tr>
</table></div>
<p> </p>
</td>
</tr>
</table>
</div>
<p><br />
</td>
</tr>
</table>
<table border="0" width="100%" id="table5" cellspacing="0" cellpadding="2">
<tr>
<td bgcolor="#FF7F00" style="text-align: left">
<font color="#FFFFFF">29 Sukhumvit Soi 3 (Nana
Nua), Bangkok 10110, Thailand / Tel: (66) 2 655
4999 / Fax: (66) 2 655 4950</font></td>
</tr>
<tr>
<td bgcolor="#FF7F00" style="text-align: left">
<font color="#FFFFFF">E-mail: [email protected]
</font> </td>
</tr>
<tr>
<td bgcolor="#FF7F00">
<p align="center"><font color="#FFFFFF"><br>
Copy Right (c) 2007 - Koola
Hospitality Limited</font></td>
</tr>
</table>
</td>
<td width="5"> </td>
<td bgcolor="#0F3193"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table border="0" width="850" id="table6" cellspacing="0" cellpadding="0">
<tr>
<td><img border="0" src="images/bg_bot.gif" width="850" height="60"></td>
</tr>
</table>
</div>
<div>
<br />
<br />
<br />
<br />
</div>
</form>
<script language="Javascript1.2">
<!-- // load htmlarea
_editor_url = "./htmlarea/"; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// -->
</script>
<script language="JavaScript1.2" defer>
var config = new Object(); // create new config object
config.width = "500px";
config.height = "600px";
config.bodyStyle = 'background-color: while; font-family: "Tahoma"; font-size: x-small;';
config.debug = 0;
editor_generate('TxtPost', config);
function showRule(){
window.open("rule.htm","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=500, height=600")
}
</script>
</body>
</html>
|
ประวัติการแก้ไข 2013-10-29 17:35:48
 |
 |
 |
 |
Date :
2013-10-29 17:35:10 |
By :
ผู้หญิงสีดำ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เข้าใจว่าไม่มี Source Code (ไฟล์นามสกุล .vb หรือ .cs)
งั้นก็แก้ไม่ได้ครับ
|
 |
 |
 |
 |
Date :
2013-10-30 10:32:57 |
By :
watcharop |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|