Click here to Skip to main content
15,919,613 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Arabic language Pin
Paul Conrad27-Dec-07 15:03
professionalPaul Conrad27-Dec-07 15:03 
GeneralRe: Arabic language Pin
hassanasp28-Dec-07 11:07
hassanasp28-Dec-07 11:07 
GeneralRe: Arabic language Pin
nishkarsh_k28-Dec-07 6:51
nishkarsh_k28-Dec-07 6:51 
AnswerRe: Arabic language Pin
Shimmy Weitzhandler29-Dec-07 7:59
Shimmy Weitzhandler29-Dec-07 7:59 
AnswerRe: Arabic language Pin
Shimmy Weitzhandler29-Dec-07 8:01
Shimmy Weitzhandler29-Dec-07 8:01 
GeneralRe: Arabic language thanks Pin
hassanasp31-Dec-07 12:42
hassanasp31-Dec-07 12:42 
QuestionDataGridView = AcceptChanges, Details = ? Pin
tellytub27-Dec-07 3:12
tellytub27-Dec-07 3:12 
AnswerRe: DataGridView = AcceptChanges, Details = ? Pin
John_Adams27-Dec-07 4:37
John_Adams27-Dec-07 4:37 
Hi,

Please know that AcceptChanges method accepts or commits all the changes that have been made to the Dataset since the last time the method was called or since the Dataset was loaded. AcceptChanges method sets the original value of all fields to the current value. In effect, the new DataSet is the same as the one you would get by reloading it from the database. If your dataset is not excessively large, you can reload it from the database and save yourself some serious debugging.

When you call AcceptChanges on the DataSet, any DataRow objects still in edit-mode successfully end their edits. The RowState property of each DataRow also changes; Added and Modified rows become Unchanged, and Deleted rows are removed. If the DataSet contains ForeignKeyConstraint objects, invoking the AcceptChanges method also causes the AcceptRejectRule to be enforced.

For Code snippet please visit the following link:
http://visualbasic.about.com/library/weekly/aa052403f.htm[^]

I hope this helps.

Regards,
John Adams
ComponentOne LLC

GeneralRe: DataGridView = AcceptChanges, Details = ? Pin
tellytub28-Dec-07 18:34
tellytub28-Dec-07 18:34 
QuestionGrid and combo box issue redefined [modified] Pin
nishkarsh_k27-Dec-07 0:20
nishkarsh_k27-Dec-07 0:20 
GeneralRe: Grid and combo box issue redefined Pin
darkelv27-Dec-07 1:07
darkelv27-Dec-07 1:07 
GeneralRe: Grid and combo box issue redefined Pin
helelark12327-Dec-07 1:16
helelark12327-Dec-07 1:16 
GeneralRe: Grid and combo box issue redefined Pin
BOREC27-Dec-07 1:16
BOREC27-Dec-07 1:16 
Generaldatagridviewcomboboxcolumn selectionbackcolor Pin
helelark12327-Dec-07 0:01
helelark12327-Dec-07 0:01 
GeneralRe: datagridviewcomboboxcolumn selectionbackcolor Pin
KaptinKrunch28-Dec-07 6:41
KaptinKrunch28-Dec-07 6:41 
GeneralRe: datagridviewcomboboxcolumn selectionbackcolor Pin
helelark12328-Dec-07 21:42
helelark12328-Dec-07 21:42 
Generalgenerating a report in .net Pin
sreenivi26-Dec-07 23:50
sreenivi26-Dec-07 23:50 
GeneralRe: generating a report in .net Pin
Paul Conrad30-Dec-07 10:42
professionalPaul Conrad30-Dec-07 10:42 
QuestionHow to import data by character wise from excel to sql server Pin
kamarudeen26-Dec-07 23:03
kamarudeen26-Dec-07 23:03 
AnswerRe: How to import data by character wise from excel to sql server Pin
Dave Kreskowiak27-Dec-07 12:46
mveDave Kreskowiak27-Dec-07 12:46 
GeneralRe: How to import data by character wise from excel to sql server Pin
kamarudeen27-Dec-07 18:29
kamarudeen27-Dec-07 18:29 
GeneralException of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' Pin
phoopwint26-Dec-07 22:04
phoopwint26-Dec-07 22:04 
GeneralRe: Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' Pin
Dave Kreskowiak27-Dec-07 12:45
mveDave Kreskowiak27-Dec-07 12:45 
GeneralI need help from one and all in the VB6 regarding making data in the datagrid editable and then saving that in the database either Access, Oracle or MySQL Pin
Keshav Singh Sunwar26-Dec-07 21:08
Keshav Singh Sunwar26-Dec-07 21:08 
GeneralRe: I need help from one and all in the VB6 ... and then saving that in the database either Access, Oracle or MySQL Pin
Paul Conrad27-Dec-07 7:31
professionalPaul Conrad27-Dec-07 7:31 

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.