Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'ASP.search_aspx' does not contain a definition for 'SqlDataSource4_Selecting' and no extension method 'SqlDataSource4_Selecting' accepting a first argument of type 'ASP.search_aspx' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 138: </td>
Line 139: <td>
Line 140: <asp:SqlDataSource ID="SqlDataSource4" runat="server"
Line 141: ConnectionString="<%$ ConnectionStrings:saConnectionString %>"
Line 142: onselecting="SqlDataSource4_Selecting"
ผมเพิ่งหัดเขียนอะครับ ไม่เข้าใจว่า Line 140,141,142 เป็นเพราะอะไร เเล้วก็ควรเก้ไขอย่างไรครับ
Date :
2012-04-19 21:16:27
By :
oukoung
No. 3
Guest
Code
Server Error in '/' Application.
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.