Click here to Skip to main content
15,914,163 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionUsing a ComboBox for a Cell in a DataGridView Pin
RichFeldman5-Apr-07 3:27
RichFeldman5-Apr-07 3:27 
AnswerRe: Using a ComboBox for a Cell in a DataGridView Pin
Dave Kreskowiak6-Apr-07 4:24
mveDave Kreskowiak6-Apr-07 4:24 
GeneralRe: Using a ComboBox for a Cell in a DataGridView Pin
RichFeldman6-Apr-07 5:56
RichFeldman6-Apr-07 5:56 
GeneralRe: Using a ComboBox for a Cell in a DataGridView Pin
Dave Kreskowiak6-Apr-07 14:34
mveDave Kreskowiak6-Apr-07 14:34 
Questionabt help Pin
kripa215-Apr-07 1:19
kripa215-Apr-07 1:19 
AnswerRe: abt help Pin
nlarson115-Apr-07 2:01
nlarson115-Apr-07 2:01 
GeneralRe: abt help Pin
kripa215-Apr-07 2:27
kripa215-Apr-07 2:27 
QuestionUpdating Dataset Pin
nitin_ion5-Apr-07 1:18
nitin_ion5-Apr-07 1:18 
I have a table with a primary key and using the code below works fine

Dim dsChanges = ds.GetChanges

If IsNothing(dsChanges) Then
Return False
Else
Dim cmdCommandBuilder As System.Data.Common.DbCommandBuilder = Factory.CreateCommandBuilder
cmdCommandBuilder.DataAdapter = adAdapter
adAdapter.Update(ds, kvpQT.Key)
Return True
End If

but this code doesnot work when there is no primary key in the table.
If i need to update a table which only has a foreign key then i need to use the query and this method does not work.

How can i update the table through dataset without table having the primary key.
AnswerRe: Updating Dataset Pin
Dave Kreskowiak6-Apr-07 3:41
mveDave Kreskowiak6-Apr-07 3:41 
Questionhow to read dwg files (Autocad drawing file) from vb 6.0 Pin
saurabhmind5-Apr-07 0:30
saurabhmind5-Apr-07 0:30 
AnswerRe: how to read dwg files (Autocad drawing file) from vb 6.0 Pin
Christian Graus5-Apr-07 0:44
protectorChristian Graus5-Apr-07 0:44 
Questiondate and month r getting exchanged in MaskEdBox control. Pin
MissionSuccess5-Apr-07 0:19
MissionSuccess5-Apr-07 0:19 
AnswerRe: date and month r getting exchanged in MaskEdBox control. Pin
Christian Graus5-Apr-07 0:24
protectorChristian Graus5-Apr-07 0:24 
GeneralRe: date and month r getting exchanged in MaskEdBox control. Pin
MissionSuccess5-Apr-07 2:26
MissionSuccess5-Apr-07 2:26 
GeneralRe: date and month r getting exchanged in MaskEdBox control. Pin
Christian Graus5-Apr-07 9:28
protectorChristian Graus5-Apr-07 9:28 
AnswerRe: date and month r getting exchanged in MaskEdBox control. Pin
Member 38798816-Apr-07 1:18
Member 38798816-Apr-07 1:18 
Questiongetting ip address & computer name Pin
Sachin Pimpale4-Apr-07 23:52
Sachin Pimpale4-Apr-07 23:52 
AnswerRe: getting ip address & computer name Pin
Dave Kreskowiak6-Apr-07 3:39
mveDave Kreskowiak6-Apr-07 3:39 
GeneralRe: getting ip address & computer name Pin
Socheat.Net9-Apr-07 15:49
Socheat.Net9-Apr-07 15:49 
GeneralRe: getting ip address & computer name Pin
Dave Kreskowiak10-Apr-07 1:35
mveDave Kreskowiak10-Apr-07 1:35 
Questionchange the write allowed access to write denied. Pin
vinothsivakumar4-Apr-07 23:29
vinothsivakumar4-Apr-07 23:29 
AnswerRe: change the write allowed access to write denied. Pin
amaneet4-Apr-07 23:50
amaneet4-Apr-07 23:50 
Questionhelp-MCPD exam Pin
ajay588864-Apr-07 23:12
ajay588864-Apr-07 23:12 
AnswerRe: help-MCPD exam Pin
Christian Graus5-Apr-07 0:39
protectorChristian Graus5-Apr-07 0:39 
GeneralRe: help-MCPD exam Pin
Colin Angus Mackay5-Apr-07 2:04
Colin Angus Mackay5-Apr-07 2:04 

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.