|
-
Sep 20th, 2004, 11:38 AM
#1
Thread Starter
Junior Member
calendar ?
Hey all,
Im trying to pass this
Source Error:
Line 37:
Line 38: Dim Date_OpenParam As New OleDbParameter("@Date_Open", OleDbType.VarChar, 50)
Line 39: Date_OpenParam.Value = Calendar1.selectedvalue
Line 40: dbCommand.Parameters.Add(Date_OpenParam)
Line 41:
but keeps giving me this error
BC30456: 'selectedvalue' is not a member of 'System.Web.UI.WebControls.Calendar'.
Does anyone know what the correct syntax would be?
Jose
-
Sep 20th, 2004, 12:41 PM
#2
Banned
Re: calendar ?
Code:
MyCalendar.SelectedDate.ToShortDateString();
-
Sep 20th, 2004, 01:57 PM
#3
Thread Starter
Junior Member
thanks, but now when i try to connect it is giving me this
The Microsoft Jet database engine cannot open the file 'C:\Documents and Settings\josee\My Documents\Jester Backup\JESTER.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
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.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file 'C:\Documents and Settings\josee\My Documents\Jester Backup\JESTER.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
Source Error:
Line 11: "Data Source=C:\Documents and Settings\josee\My Documents\Jester Backup\JESTER.mdb"
Line 12: Dim dbConnection As New OleDbConnection(connectionString)
Line 13: dbConnection.Open()
Line 14: dbConnection.Close()
Line 15:
Jose
-
Sep 20th, 2004, 04:22 PM
#4
Originally posted by rangerbud249
thanks, but now when i try to connect it is giving me this
The Microsoft Jet database engine cannot open the file 'C:\Documents and Settings\josee\My Documents\Jester Backup\JESTER.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
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.
If you have opened the database via Access, close it & try the operation via your app again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|