ผมสมัครไม่ได้ครับพอกดบันทึกแล้วมันขึ้นแบบนี้ครับ
Server Error in '/' Application.
--------------------------------------------------------------------------------
Index was outside the bounds of the array.
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.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
Line 110:
Line 111: Dim SetBirthDay As Array = strBirthday.Split("/")
Line 112: Dim Birthday As DateTime = CDate(SetBirthDay(1) & "/" & SetBirthDay(0) & "/" & SetBirthDay(2))
Line 113:
Line 114: Dim ShopBirthDay As Array = strShopBirthday.Split("/")
Source File: C:\WebSystem\WebFunCafe\frmRegisterCafeStep3.aspx.vb Line: 112
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
System.Array.InternalGetReference(Void* elemRef, Int32 rank, Int32* pIndices) +0
System.Array.GetValue(Int32 index) +59
Microsoft.VisualBasic.CompilerServices.Container.GetArrayValue(Object[] Indices) +151
Microsoft.VisualBasic.CompilerServices.NewLateBinding.InternalLateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, ResolutionFailure& Failure) +194
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames) +22
frmRegisterCafeStep3.InsertData() in C:\WebSystem\WebFunCafe\frmRegisterCafeStep3.aspx.vb:112
frmRegisterCafeStep3.cmd_submit_Click(Object sender, EventArgs e) in C:\WebSystem\WebFunCafe\frmRegisterCafeStep3.aspx.vb:92
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3618
ขอบคุณครับ
