Click here to Skip to main content
15,887,746 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralWSE 2.0 Operation Timed out Pin
GerhardKreuzer24-Jun-04 21:55
GerhardKreuzer24-Jun-04 21:55 
GeneralIE History Pin
Anzy24-Jun-04 20:17
Anzy24-Jun-04 20:17 
GeneralRe: IE History Pin
amatyasik25-Jun-04 2:16
amatyasik25-Jun-04 2:16 
Generalvs.net macro to create file and add to solution Pin
DiscoBabyJez23-Jun-04 12:39
DiscoBabyJez23-Jun-04 12:39 
GeneralRe: vs.net macro to create file and add to solution Pin
DiscoBabyJez25-Jun-04 0:50
DiscoBabyJez25-Jun-04 0:50 
GeneralForms Shapes in Compact Framework for Pocket PC Pin
Alucard_cr23-Jun-04 12:28
Alucard_cr23-Jun-04 12:28 
General.NET Framework for Active Directory Pin
Ankwih22-Jun-04 18:17
Ankwih22-Jun-04 18:17 
GeneralDataGrid end edit Pin
cje22-Jun-04 10:42
cje22-Jun-04 10:42 
I have a simple windows form with a DataGrid bound to a dataset from a database. When the form closes (event 'Closing') I want to flush all changes made in the grid to the database. Everything is fine except the current cell...if I have not left the cell, the data is not updated.
So far I have tried
<br />
		private void OnClosing(object sender, System.ComponentModel.CancelEventArgs e)<br />
		{<br />
			System.Windows.Forms.DataGridCell cell = this.dataGrid1.CurrentCell;<br />
			DataGridColumnStyle dgc = this.dataGrid1.TableStyles[0].GridColumnStyles[cell.ColumnNumber];<br />
			bool good = this.dataGrid1.EndEdit(dgc, this.dataGrid1.CurrentRowIndex, false );<br />
<br />
			this.oleDbDataAdapter1.Update( this.dataSetFeature1 );<br />
		}<br />


without luck. Does any one know how to get the current state of the cell into the dataset during 'Closing'?

thanks in advance
cje
Generalframework too big to download over internet Pin
Gavin Jeffrey22-Jun-04 6:59
Gavin Jeffrey22-Jun-04 6:59 
GeneralRe: framework too big to download over internet Pin
Vinay9222-Jun-04 18:00
Vinay9222-Jun-04 18:00 
GeneralRe: framework too big to download over internet Pin
Gavin Jeffrey22-Jun-04 20:44
Gavin Jeffrey22-Jun-04 20:44 
GeneralRe: framework too big to download over internet Pin
Steven Campbell23-Jun-04 8:43
Steven Campbell23-Jun-04 8:43 
GeneralStack size Pin
Emilio Guijarro22-Jun-04 6:21
Emilio Guijarro22-Jun-04 6:21 
QuestionChannels.Tcp namespace does not exist? Pin
fayth21-Jun-04 22:29
fayth21-Jun-04 22:29 
QuestionQuestion: How valuable would this be, and should I publish it on CP? Pin
Philip Laureano21-Jun-04 17:15
Philip Laureano21-Jun-04 17:15 
GeneralByte data display... Pin
Ray Cassick21-Jun-04 10:24
Ray Cassick21-Jun-04 10:24 
GeneralRe: Byte data display... Pin
Ray Cassick24-Jun-04 16:37
Ray Cassick24-Jun-04 16:37 
GeneralWEBSERVICE: System.InvalidOperationException: ExecuteReader: Connection property has not been initialized Pin
antonimasso21-Jun-04 5:04
antonimasso21-Jun-04 5:04 
GeneralCommunication with a Unix box Pin
eif21-Jun-04 0:24
eif21-Jun-04 0:24 
QuestionTab key and Enter key to move from cell to cell? Pin
mkennedy7720-Jun-04 12:34
mkennedy7720-Jun-04 12:34 
AnswerRe: Tab key and Enter key to move from cell to cell? Pin
Mike Ellison22-Jun-04 5:57
Mike Ellison22-Jun-04 5:57 
Generalquestion about re-signing an assemby Pin
Stanimir_Stoyanov20-Jun-04 6:33
Stanimir_Stoyanov20-Jun-04 6:33 
GeneralRe: question about re-signing an assemby Pin
Serge Lobko-Lobanovsky21-Jun-04 1:21
Serge Lobko-Lobanovsky21-Jun-04 1:21 
GeneralRe: question about re-signing an assemby Pin
Stanimir_Stoyanov27-Jun-04 9:05
Stanimir_Stoyanov27-Jun-04 9:05 
Generaldeployment setup Pin
SherKar20-Jun-04 5:15
SherKar20-Jun-04 5:15 

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.