Hello, how can i make my access databases mode to Share Deny None (adModeShareDenyNone) i cannot find Mode property of Connection obj at asp.net i cannot write a value to mode property at connection string like old asp oledb connection.
I want to open 2 connections at same time. But i cannot, here is the code that opens 1 connection and closes it. i would like to read values and write them to a new table with some extra data. (that textbox will be an other table at database.) --------------------------code -------code------ Dim mk_ConnString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Inetpub\wwwroot\deneme\tahacan.mdb;" Dim mk_Connection As New OleDbConnection(mk_ConnString) Dim mk_Haftalik_Query As String = "SELECT makine_id FROM makine_tanimlamalar WHERE " _ & "mk_haftalik_periyod='" & haftanin_gunu() & "'" Dim mk_Command As New OleDbCommand(mk_Haftalik_Query, mk_Connection) Dim mk_reader As OleDbDataReader Try mk_Connection.Open() mk_reader = mk_Command.ExecuteReader() Do While mk_reader.Read() TextBox1.Text = "makine_id=" & mk_reader ("makine_id") & "/" Loop Catch ex As Exception mk_reader.Close() mk_Connection.Close() mk_Connection.Dispose() End Try mk_reader.Close() mk_Connection.Close() mk_Connection.Dispose() -----code----code------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/