Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can Fill? Pin
wokankan19-Apr-04 4:21
wokankan19-Apr-04 4:21 
GeneralNavigating tabs with MDI Application Pin
Jon G19-Apr-04 1:02
Jon G19-Apr-04 1:02 
GeneralRe: Navigating tabs with MDI Application Pin
Dave Kreskowiak19-Apr-04 1:31
mveDave Kreskowiak19-Apr-04 1:31 
GeneralRe: Navigating tabs with MDI Application Pin
Jon G19-Apr-04 1:35
Jon G19-Apr-04 1:35 
GeneralRe: Navigating tabs with MDI Application Pin
Heath Stewart19-Apr-04 3:28
protectorHeath Stewart19-Apr-04 3:28 
GeneralIf and or Pin
Appelz19-Apr-04 0:12
Appelz19-Apr-04 0:12 
GeneralRe: If and or Pin
Colin Angus Mackay19-Apr-04 0:25
Colin Angus Mackay19-Apr-04 0:25 
GeneralHave a writable datagrid using an mdb Pin
Gian18-Apr-04 23:19
Gian18-Apr-04 23:19 
Hello,
i'm trying to connect a DataGrid with a query that read a table of an MDB Access database. I've used OleDbConnection, OleDbDataAdapter and DataSet to access via the OLEDB 4.0 Provider the file. After that i can see the records.
The code, used in Form Load is:

<br />
connection1 = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\Temp\\Brick1.MDB");<br />
<br />
dataadapter1 = new OleDbDataAdapter("SELECT * FROM [Articles];", connection1);<br />
<br />
dataset1 = new DataSet("DataSetTest");<br />
			dataadapter1.Fill(dataset1, "articles");<br />
<br />
dataGrid1.DataSource = dataset1.Tables["articles"];<br />


The problem is that if i change some cell value, than i close the window and reopen, i cant see any change of mine. Is there a simple way to update the data at every cell change or when selection is moved on a new row? i cant see any update events on the DataGrid component.
I've searched for tutorials about this but i cant find anything about "forcing data update" from the grid.
GeneralRe: Have a writable datagrid using an mdb Pin
Mazdak19-Apr-04 0:30
Mazdak19-Apr-04 0:30 
GeneralRe: Have a writable datagrid using an mdb Pin
Heath Stewart19-Apr-04 3:38
protectorHeath Stewart19-Apr-04 3:38 
QuestionHow to include documentation into assmblies? Pin
occcy18-Apr-04 22:22
occcy18-Apr-04 22:22 
AnswerRe: How to include documentation into assmblies? Pin
Corinna John18-Apr-04 23:12
Corinna John18-Apr-04 23:12 
AnswerRe: How to include documentation into assmblies? Pin
Dave Kreskowiak19-Apr-04 1:36
mveDave Kreskowiak19-Apr-04 1:36 
GeneralRe: How to include documentation into assmblies? Pin
Heath Stewart19-Apr-04 3:42
protectorHeath Stewart19-Apr-04 3:42 
GeneralIf-structure Pin
bertcox18-Apr-04 22:18
bertcox18-Apr-04 22:18 
GeneralRe: If-structure Pin
Hesham Amin18-Apr-04 22:23
Hesham Amin18-Apr-04 22:23 
GeneralRe: If-structure Pin
bertcox18-Apr-04 22:32
bertcox18-Apr-04 22:32 
GeneralRe: If-structure Pin
Heath Stewart19-Apr-04 3:45
protectorHeath Stewart19-Apr-04 3:45 
GeneralRe: If-structure Pin
Nick Parker19-Apr-04 8:38
protectorNick Parker19-Apr-04 8:38 
GeneralKey event in VS2003 Pin
thomasa18-Apr-04 22:10
thomasa18-Apr-04 22:10 
GeneralRe: Key event in VS2003 Pin
Heath Stewart19-Apr-04 3:49
protectorHeath Stewart19-Apr-04 3:49 
GeneralMarshaling the structure array member of Structure in C# Pin
Vini Deep18-Apr-04 19:27
Vini Deep18-Apr-04 19:27 
GeneralRe: Marshaling the structure array member of Structure in C# Pin
Heath Stewart19-Apr-04 4:44
protectorHeath Stewart19-Apr-04 4:44 
GeneralRe: Marshaling the structure array member of Structure in C# Pin
Vini Deep19-Apr-04 18:03
Vini Deep19-Apr-04 18:03 
GeneralRe: Marshaling the structure array member of Structure in C# Pin
Heath Stewart20-Apr-04 3:13
protectorHeath Stewart20-Apr-04 3:13 

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.