|
-
Jan 14th, 2004, 03:40 PM
#1
Thread Starter
Frenzied Member
2 ?s - Dataset & IDE [Resolved]
1. If I create a dataset through Server Explorer, drag & drop rather than writing my own code, that has various bound textboxes, is the db connection automatically closed or do I have to close it in code? The reason I ask is that even after I closed the Solution in the IDE, the Access db on my desktop remained open until I closed the IDE itself. The only code I've added is:
VB Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
OleDbDataAdapter1.Fill(DataSet11)
OleDbConnection1.Close()
End Sub
Private Sub cmdNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdNext.Click
Me.BindingContext(DataSet11, "PurpleSlips").Position() += 1
End Sub
2. The IDE's lost the ability to do things like automatically indent, highlight typos, etc. Intellisense works, and everything reformats after a build. I can't think of, or find, any settings to change that would do this. I installed J# yesterday, but that shouldn't affect VB. Is there a setting to fix for this?
Last edited by salvelinus; Jan 15th, 2004 at 09:25 AM.
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
|