Click here to Skip to main content
15,899,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sending Email using VBA in Word Pin
Harold_Wishes5-May-08 6:53
Harold_Wishes5-May-08 6:53 
GeneralRe: Sending Email using VBA in Word Pin
Anoop Brijmohun5-May-08 7:19
Anoop Brijmohun5-May-08 7:19 
Questionhow to get the selected value of combo box in excel using vb Pin
Padma N5-May-08 3:01
Padma N5-May-08 3:01 
AnswerRe: how to get the selected value of combo box in excel using vb Pin
Dave Kreskowiak5-May-08 9:37
mveDave Kreskowiak5-May-08 9:37 
GeneralRe: how to get the selected value of combo box in excel using vb Pin
Padma N5-May-08 18:09
Padma N5-May-08 18:09 
GeneralRe: how to get the selected value of combo box in excel using vb Pin
Dave Kreskowiak5-May-08 18:56
mveDave Kreskowiak5-May-08 18:56 
Questiondb commant not working Pin
asha_s5-May-08 1:47
asha_s5-May-08 1:47 
AnswerRe: db commant not working Pin
Dave Kreskowiak5-May-08 2:44
mveDave Kreskowiak5-May-08 2:44 
That code you posted is incomplete, so you may not get an accurate answer...

asha_s wrote:
DataAdapter6.Fill(Slots5Sec, "Slot") ' fill the data set

DataAdapter6.Update(Slots5Sec, "Slot")


But, you didn't make any changes to the dataset between the Fill statement (which, I'm assuming, retrieved a bunch of records from the database) and the Update statement (which writes changes back to the database.)

UPDATE:
I notice your messages down the forum. If you're trying to use an SQL statement that retrieves data from multiple tables, like using a JOIN, the SqlCommandBuilder will not generate UPDATE, DELETE, and INSERT commands for the DataAdapter. The DataAdapters only work with single table queries when performing updates. SELECT queries on multiple tables work just fine though.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: db commant not working Pin
asha_s5-May-08 2:52
asha_s5-May-08 2:52 
QuestionCustomizing Setup Project in Visual Studio.NET 2005 Pin
Jats_4ru4-May-08 23:05
Jats_4ru4-May-08 23:05 
AnswerRe: Customizing Setup Project in Visual Studio.NET 2005 Pin
Dave Kreskowiak5-May-08 2:45
mveDave Kreskowiak5-May-08 2:45 
QuestionTreeView Pin
Socheat.Net4-May-08 22:34
Socheat.Net4-May-08 22:34 
AnswerRe: TreeView Pin
Christian Graus4-May-08 22:56
protectorChristian Graus4-May-08 22:56 
AnswerRe: TreeView Pin
Mycroft Holmes5-May-08 2:58
professionalMycroft Holmes5-May-08 2:58 
QuestionCreating a global network connection to MySQL Database Pin
drexler_kk4-May-08 22:32
drexler_kk4-May-08 22:32 
AnswerRe: Creating a global network connection to MySQL Database Pin
Xeqtr5-May-08 0:39
Xeqtr5-May-08 0:39 
QuestionRe: Creating a global network connection to MySQL Database Pin
drexler_kk5-May-08 16:44
drexler_kk5-May-08 16:44 
QuestionThe type initializer for 'Application.DatabaseInit' threw an exception. Pin
nishkarsh_k4-May-08 20:49
nishkarsh_k4-May-08 20:49 
AnswerRe: The type initializer for 'Application.DatabaseInit' threw an exception. Pin
Mycroft Holmes4-May-08 21:45
professionalMycroft Holmes4-May-08 21:45 
QuestionMissing Images while printing in vb.net Pin
VB 8.04-May-08 20:39
VB 8.04-May-08 20:39 
QuestionWhere clause Pin
Tauseef A4-May-08 17:31
Tauseef A4-May-08 17:31 
AnswerRe: Where clause Pin
Christian Graus4-May-08 17:34
protectorChristian Graus4-May-08 17:34 
Questionselect statement problem Pin
KARFER4-May-08 9:01
KARFER4-May-08 9:01 
RantRe: select statement problem Pin
Smithers-Jones4-May-08 11:32
Smithers-Jones4-May-08 11:32 
GeneralRe: select statement problem Pin
Mycroft Holmes4-May-08 21:51
professionalMycroft Holmes4-May-08 21:51 

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.