Click here to Skip to main content
15,896,269 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: STOP !!!! Pin
Paul Conrad26-Jul-07 20:27
professionalPaul Conrad26-Jul-07 20:27 
QuestionHow can I caputre the content in the IE Address bar ofthe current IE Window? [modified] Pin
rerb26-Jul-07 8:11
rerb26-Jul-07 8:11 
QuestionCombobox in DatagridView Pin
ryan11726-Jul-07 7:46
ryan11726-Jul-07 7:46 
AnswerRe: Combobox in DatagridView Pin
Johan Hakkesteegt26-Jul-07 20:08
Johan Hakkesteegt26-Jul-07 20:08 
QuestionHow do i bind a Datatable or datagrid col to text boxes? Pin
Jeffrey Shane26-Jul-07 5:35
Jeffrey Shane26-Jul-07 5:35 
AnswerRe: How do i bind a Datatable or datagrid col to text boxes? Pin
Christian Graus26-Jul-07 14:01
protectorChristian Graus26-Jul-07 14:01 
GeneralRe: How do i bind a Datatable or datagrid col to text boxes? Pin
Jeffrey Shane28-Jul-07 9:49
Jeffrey Shane28-Jul-07 9:49 
QuestionUpdating an Access Database Pin
RichFeldman26-Jul-07 5:30
RichFeldman26-Jul-07 5:30 
I have two questions regarding updating an Access Database using the Update command for an OleDbDataAdapter.

1. A DataTable that has been filled using the DataAdapter Fill() command is bound to a DataGridView through the DataSource and DataMember commands of the DataGridView. After changing some values in the DataGridView, I use the DataAdapter.Update() command to record the changes in the grid in the Access Database. If I make a change to a cell and then move the cursor to another row, the change is recorded; however, if the cursor is not moved to another row, then changes made to the row in which is selection remains are not reflected in the Access Database after the Update() command. I have tried using the DataGridView commands EndEdit(), RefreshEdit(), and Refresh() and none of those commands cause changes in the most recently selected row to be reflected in the updated Access Database. Any suggestions?

2. A DataTable is filled using the DataAdapter Fill() command. Rows containing data are then added to the DataTable. After adding the rows, the DataTable is bound to a DataGridView through the DataSource and DataMember commands and then the DataAdapter.Update() is used to update the Access Database. This generates an error "Update requires a valid InsertCommand when passed DataRow collection with new rows." I cannot figure out how to use the InsertCommand(). The difficulty is likely because I don't understand how to use the CommandBuilder. Any suggestions?

Rich Feldman

AnswerRe: Updating an Access Database Pin
Paul Conrad26-Jul-07 18:02
professionalPaul Conrad26-Jul-07 18:02 
GeneralRe: Updating an Access Database Pin
RichFeldman27-Jul-07 3:46
RichFeldman27-Jul-07 3:46 
GeneralRe: Updating an Access Database Pin
S Douglas29-Jul-07 23:18
professionalS Douglas29-Jul-07 23:18 
GeneralRe: Updating an Access Database Pin
RichFeldman30-Jul-07 6:13
RichFeldman30-Jul-07 6:13 
QuestionWhat is object reference not set to an instance of an object? Pin
sweehin1826-Jul-07 4:45
sweehin1826-Jul-07 4:45 
AnswerRe: What is object reference not set to an instance of an object? Pin
Tom Deketelaere26-Jul-07 5:02
professionalTom Deketelaere26-Jul-07 5:02 
GeneralRe: What is object reference not set to an instance of an object? Pin
sweehin1826-Jul-07 5:19
sweehin1826-Jul-07 5:19 
GeneralRe: What is object reference not set to an instance of an object? Pin
Tom Deketelaere26-Jul-07 5:31
professionalTom Deketelaere26-Jul-07 5:31 
AnswerRe: What is object reference not set to an instance of an object? Pin
TwoFaced26-Jul-07 7:53
TwoFaced26-Jul-07 7:53 
Questionediting exe.cofig file Pin
halder_rajib26-Jul-07 3:35
halder_rajib26-Jul-07 3:35 
AnswerRe: editing exe.cofig file Pin
Dave Kreskowiak26-Jul-07 3:51
mveDave Kreskowiak26-Jul-07 3:51 
JokeRe: editing exe.cofig file Pin
Paul Conrad26-Jul-07 6:06
professionalPaul Conrad26-Jul-07 6:06 
QuestionWriting text in next line Pin
Archana New to Dotnet26-Jul-07 3:12
Archana New to Dotnet26-Jul-07 3:12 
AnswerRe: Writing text in next line Pin
Tom Deketelaere26-Jul-07 3:16
professionalTom Deketelaere26-Jul-07 3:16 
GeneralRe: Writing text in next line Pin
Archana New to Dotnet26-Jul-07 19:19
Archana New to Dotnet26-Jul-07 19:19 
AnswerRe: Writing text in next line Pin
Rupesh Kumar Swami27-Jul-07 0:00
Rupesh Kumar Swami27-Jul-07 0:00 
QuestionBatch file problem Pin
The Mighty Atom26-Jul-07 3:07
The Mighty Atom26-Jul-07 3:07 

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.