Click here to Skip to main content
15,883,734 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to coonect mysql database with my vb6.0 project Pin
UD(IA)1-Sep-11 23:24
UD(IA)1-Sep-11 23:24 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Wayne Gaylard2-Sep-11 1:15
professionalWayne Gaylard2-Sep-11 1:15 
GeneralRe: how to coonect mysql database with my vb6.0 project Pin
Nagy Vilmos2-Sep-11 2:45
professionalNagy Vilmos2-Sep-11 2:45 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Nagy Vilmos2-Sep-11 2:50
professionalNagy Vilmos2-Sep-11 2:50 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Bert Mitton2-Sep-11 7:50
professionalBert Mitton2-Sep-11 7:50 
Questiondispose on entity framework Pin
dcode251-Sep-11 5:27
dcode251-Sep-11 5:27 
AnswerRe: dispose on entity framework Pin
Dave Kreskowiak1-Sep-11 7:45
mveDave Kreskowiak1-Sep-11 7:45 
GeneralRe: dispose on entity framework Pin
dcode251-Sep-11 13:17
dcode251-Sep-11 13:17 
My request is for a specific situation :
Entity framework created directly from existing database (sql server), A form with a bindingsource.
When the form is open the code is :

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Dim f As unEntities
f = New unEntities
FaBindingSource.DataSource = f.fas
End Sub

What can i put on :

Private Sub Form1_FormClosed(sender As System.Object, e As System.Windows.Forms.FormClosedEventArgs) Handles MyBase.FormClosed

f.dispose ????????????????
FaBindingsource.dispose ??????
FaBindingsource.clear() ??????????
or ????????
End Sub

Thank you
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak1-Sep-11 16:48
mveDave Kreskowiak1-Sep-11 16:48 
GeneralRe: dispose on entity framework Pin
dcode252-Sep-11 7:30
dcode252-Sep-11 7:30 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak2-Sep-11 11:18
mveDave Kreskowiak2-Sep-11 11:18 
GeneralRe: dispose on entity framework Pin
dcode252-Sep-11 11:55
dcode252-Sep-11 11:55 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak2-Sep-11 15:45
mveDave Kreskowiak2-Sep-11 15:45 
GeneralRe: dispose on entity framework Pin
dcode253-Sep-11 7:09
dcode253-Sep-11 7:09 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak3-Sep-11 8:28
mveDave Kreskowiak3-Sep-11 8:28 
AnswerRe: dispose on entity framework Pin
Luc Pattyn1-Sep-11 7:57
sitebuilderLuc Pattyn1-Sep-11 7:57 
AnswerRe: dispose on entity framework Pin
DaveAuld1-Sep-11 9:13
professionalDaveAuld1-Sep-11 9:13 
QuestionSetting a COM reference to a VB6 Project in C# Pin
chiselca31-Aug-11 9:05
chiselca31-Aug-11 9:05 
AnswerRe: Setting a COM reference to a VB6 Project in C# Pin
Dave Kreskowiak1-Sep-11 3:36
mveDave Kreskowiak1-Sep-11 3:36 
GeneralRe: Setting a COM reference to a VB6 Project in C# Pin
chiselca2-Sep-11 9:03
chiselca2-Sep-11 9:03 
GeneralRe: Setting a COM reference to a VB6 Project in C# Pin
Dave Kreskowiak2-Sep-11 11:19
mveDave Kreskowiak2-Sep-11 11:19 
GeneralRe: Setting a COM reference to a VB6 Project in C# Pin
chiselca2-Sep-11 13:49
chiselca2-Sep-11 13:49 
QuestionXML to DataTable/DataGrid Pin
Anoop Brijmohun29-Aug-11 21:56
Anoop Brijmohun29-Aug-11 21:56 
QuestionRe: XML to DataTable/DataGrid Pin
Shahan Ayyub31-Aug-11 12:06
Shahan Ayyub31-Aug-11 12:06 
AnswerRe: XML to DataTable/DataGrid Pin
Anoop Brijmohun31-Aug-11 20:55
Anoop Brijmohun31-Aug-11 20:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.