Click here to Skip to main content
15,909,466 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB 2008!! Error arise from a Sub although This sub isn't called!!!! Why? Pin
Dave Kreskowiak18-Dec-09 17:34
mveDave Kreskowiak18-Dec-09 17:34 
QuestionVB6 help Pin
offroaderdan18-Dec-09 5:44
offroaderdan18-Dec-09 5:44 
AnswerRe: VB6 help Pin
Ian Shlasko18-Dec-09 6:00
Ian Shlasko18-Dec-09 6:00 
AnswerRe: VB6 help Pin
Luc Pattyn18-Dec-09 6:01
sitebuilderLuc Pattyn18-Dec-09 6:01 
GeneralRe: VB6 help Pin
offroaderdan18-Dec-09 6:11
offroaderdan18-Dec-09 6:11 
QuestionUPDATE Dataset ? Pin
cotdot1111118-Dec-09 2:11
cotdot1111118-Dec-09 2:11 
AnswerRe: UPDATE Dataset ? Pin
Dave Kreskowiak18-Dec-09 3:36
mveDave Kreskowiak18-Dec-09 3:36 
AnswerRe: UPDATE Dataset ? Pin
Vimalsoft(Pty) Ltd22-Dec-09 2:40
professionalVimalsoft(Pty) Ltd22-Dec-09 2:40 
First of all this is incorrect it seems that you don't know what you are doing there.

First what are you trying to Achieve here
SqlCommandBuilder1 = New SqlCommandBuilder(SqlDataAdapter1)


Does not make sense. Secondly you came up with this
SqlCommand1.CommandText = "select * from phieumuonsach "


This means you are telling your command object that you never declared that you will be using that SQl statement. and what kind of Command object is that (i dont know you did not state it)

thirdly cam up with this
SqlDataAdapter1.InsertCommand = SqlCommandBuilder1.GetInsertCommand


Here you are trying to tell the Adapter that you are going to use which Command for Insert. a bad way of doing it.


lastly

SqlDataAdapter1.Update(DataSet1, "phieumuon")


Here you are Updating the Dataset called "Dataset1" and that has a Datatable named "phieumuon"

if this is a Complete code then it will not compile because it does not make sense

Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

GeneralProject on College management systems [modified] Pin
Renuka.A17-Dec-09 20:46
Renuka.A17-Dec-09 20:46 
GeneralRe: Project on College management systems Pin
darkelv17-Dec-09 22:54
darkelv17-Dec-09 22:54 
GeneralRe: Project on College management systems Pin
Mycroft Holmes17-Dec-09 23:22
professionalMycroft Holmes17-Dec-09 23:22 
GeneralRe: Project on College management systems Pin
Ashfield18-Dec-09 1:17
Ashfield18-Dec-09 1:17 
AnswerRe: Project on College management systems Pin
DJ Matthews18-Dec-09 2:17
DJ Matthews18-Dec-09 2:17 
GeneralRe: Project on College management systems Pin
Dave Kreskowiak18-Dec-09 2:24
mveDave Kreskowiak18-Dec-09 2:24 
GeneralRe: Project on College management systems Pin
Steven J Jowett18-Dec-09 3:57
Steven J Jowett18-Dec-09 3:57 
GeneralRe: Project on College management systems Pin
Christian Graus18-Dec-09 19:13
protectorChristian Graus18-Dec-09 19:13 
GeneralRe: Project on College management systems Pin
#realJSOP22-Dec-09 4:13
professional#realJSOP22-Dec-09 4:13 
QuestionHelp with the dwmapi. Pin
Member 436831617-Dec-09 9:03
Member 436831617-Dec-09 9:03 
QuestionImplement Undo method Pin
Pasan14817-Dec-09 5:54
Pasan14817-Dec-09 5:54 
AnswerRe: Implement Undo method Pin
Dave Kreskowiak17-Dec-09 10:50
mveDave Kreskowiak17-Dec-09 10:50 
QuestionAccess Project to Vb.Net [modified] Pin
C#Coudou16-Dec-09 21:17
C#Coudou16-Dec-09 21:17 
AnswerRe: Access Project to Vb.Net Pin
Mycroft Holmes16-Dec-09 21:44
professionalMycroft Holmes16-Dec-09 21:44 
GeneralRe: Access Project to Vb.Net Pin
EliottA17-Dec-09 3:16
EliottA17-Dec-09 3:16 
GeneralRe: Access Project to Vb.Net Pin
Mycroft Holmes17-Dec-09 3:33
professionalMycroft Holmes17-Dec-09 3:33 
GeneralRe: Access Project to Vb.Net Pin
EliottA17-Dec-09 4:52
EliottA17-Dec-09 4:52 

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.