Click here to Skip to main content
15,900,325 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Error when add a record in the database Pin
Mekong River15-Aug-07 23:54
Mekong River15-Aug-07 23:54 
GeneralRe: Error when add a record in the database Pin
Christian Graus15-Aug-07 23:57
protectorChristian Graus15-Aug-07 23:57 
GeneralRe: Error when add a record in the database Pin
Mekong River16-Aug-07 0:01
Mekong River16-Aug-07 0:01 
GeneralRe: Error when add a record in the database Pin
Christian Graus16-Aug-07 0:11
protectorChristian Graus16-Aug-07 0:11 
GeneralRe: Error when add a record in the database Pin
Mekong River16-Aug-07 0:19
Mekong River16-Aug-07 0:19 
GeneralRe: Error when add a record in the database Pin
Tom Deketelaere16-Aug-07 0:32
professionalTom Deketelaere16-Aug-07 0:32 
GeneralRe: Error when add a record in the database Pin
Christian Graus16-Aug-07 11:50
protectorChristian Graus16-Aug-07 11:50 
AnswerRe: Error when add a record in the database Pin
Vimalsoft(Pty) Ltd16-Aug-07 22:20
professionalVimalsoft(Pty) Ltd16-Aug-07 22:20 
hi Kanel

Sometimes you need to epen a Query analyzer before passing an SQL statement to a command object

the Following is you statement.
.CommandText = "INSERT INTO tblOrgInfo (OrgName, Address) VALUES ('" & Trim(txtOrgName.Text) & "', '" & txtAddress.Text & "'")              

if you insert a new record in a table that has an identity Row, you have to do it like this
.CommandText ="INSERT INTO tblOrgInfo 
VALUES ('" & Trim(txtOrgName.Text) & "', '" & txtAddress.Text & "'")              

Forget about the first column, pretend as if its not there, you can never do anything to it, or update it. i have not look at your code that much but i stoped looking at this line, and this was not correct

Vuyiswa Maseko

QuestionProblem with Combobox Populating And Sorting Pin
Vimalsoft(Pty) Ltd15-Aug-07 21:48
professionalVimalsoft(Pty) Ltd15-Aug-07 21:48 
AnswerRe: Problem with Combobox Populating And Sorting Pin
Luc Pattyn16-Aug-07 0:10
sitebuilderLuc Pattyn16-Aug-07 0:10 
GeneralRe: Problem with Combobox Populating And Sorting Pin
Vimalsoft(Pty) Ltd16-Aug-07 0:16
professionalVimalsoft(Pty) Ltd16-Aug-07 0:16 
QuestionThe SourceCode Manage Pin
codelinks15-Aug-07 21:21
codelinks15-Aug-07 21:21 
AnswerRe: The SourceCode Manage Pin
Dave Kreskowiak16-Aug-07 3:08
mveDave Kreskowiak16-Aug-07 3:08 
GeneralRe: The SourceCode Manage Pin
codelinks16-Aug-07 3:13
codelinks16-Aug-07 3:13 
Questionhow can i get the domain Name/IP under which my mahine works Pin
koolprasad200315-Aug-07 21:01
professionalkoolprasad200315-Aug-07 21:01 
AnswerRe: how can i get the domain Name/IP under which my mahine works Pin
Tom Deketelaere15-Aug-07 21:12
professionalTom Deketelaere15-Aug-07 21:12 
Questionhow to populate data in the DDL Pin
biswa4715-Aug-07 20:16
biswa4715-Aug-07 20:16 
AnswerRe: how to populate data in the DDL Pin
codelinks15-Aug-07 20:45
codelinks15-Aug-07 20:45 
AnswerRe: how to populate data in the DDL Pin
codelinks15-Aug-07 20:48
codelinks15-Aug-07 20:48 
Questionclass [modified] Pin
nitin315-Aug-07 20:08
nitin315-Aug-07 20:08 
AnswerRe: class Pin
Zia Ul Haq Soofi15-Aug-07 21:42
Zia Ul Haq Soofi15-Aug-07 21:42 
GeneralRe: class Pin
nitin315-Aug-07 22:14
nitin315-Aug-07 22:14 
AnswerRe: class Pin
Christian Graus15-Aug-07 23:22
protectorChristian Graus15-Aug-07 23:22 
AnswerRe: class Pin
leckey16-Aug-07 3:24
leckey16-Aug-07 3:24 
Questiontreeview scrollbars Pin
lee2315-Aug-07 16:02
lee2315-Aug-07 16:02 

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.