Click here to Skip to main content
15,919,774 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Make child form label invisible Pin
Tom Deketelaere3-Sep-07 0:08
professionalTom Deketelaere3-Sep-07 0:08 
Questionserial number in vs.net 2005 Pin
himanshu p taunk2-Sep-07 20:31
himanshu p taunk2-Sep-07 20:31 
AnswerRe: serial number in vs.net 2005 Pin
Paul Conrad9-Sep-07 7:42
professionalPaul Conrad9-Sep-07 7:42 
QuestionHow to load and unload DLL or Plugins in VB.NET2005? Pin
rattlesnake3162-Sep-07 17:14
rattlesnake3162-Sep-07 17:14 
AnswerRe: How to load and unload DLL or Plugins in VB.NET2005? Pin
originSH3-Sep-07 0:02
originSH3-Sep-07 0:02 
QuestionDatagrid Relationship Pin
alzaabi20xx2-Sep-07 12:27
alzaabi20xx2-Sep-07 12:27 
AnswerRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd2-Sep-07 21:15
professionalVimalsoft(Pty) Ltd2-Sep-07 21:15 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx3-Sep-07 9:37
alzaabi20xx3-Sep-07 9:37 
hi Mr Vuyiswa Maseko,

thank you for your feelings towards me and I really appreciatte it and thank you again for replay....

I want to show you my form Design to let you understand it well:
Click Here:
http://www.albumtown.com/data2/f0897e959b9ad043dbdc11f4b8f9a115/84859_1289450.pjpeg[^]

this is the Error messege that shows to me:

Missing the DataColumn 'DDate' in the DataTable 'AddressBook' for the SourceColumn 'DDate'.

Here it is my Form Load code:

inc = 0<br />
        con = New OleDbConnection(conString)<br />
        con.Open()<br />
<br />
        sql = "SELECT * FROM tblContacts"<br />
        da = New OleDb.OleDbDataAdapter(sql, con)<br />
<br />
        ds = New DataSet<br />
        da.Fill(ds, "AddressBook")<br />
<br />
        MaxRows = ds.Tables("AddressBook").Rows.Count<br />
<br />
        txtFirstName.Text = ds.Tables("AddressBook").Rows(0).Item(1)<br />
        txtSurname.Text = ds.Tables("AddressBook").Rows(0).Item(2)<br />
<br />
        sql = "SELECT * From Attendance"<br />
        da = New OleDbDataAdapter(sql, con)<br />
<br />
        dt = New DataTable<br />
        da.Fill(dt)<br />
<br />
        dg1.DataSource = dt<br />
<br />
        con.Close()


and here it is my update button code:

Dim cb As New OleDb.OleDbCommandBuilder(da)<br />
<br />
        ds.Tables("AddressBook").Rows(inc).Item(1) = txtFirstName.Text<br />
        ds.Tables("AddressBook").Rows(inc).Item(2) = txtSurname.Text<br />
<br />
        da.Update(ds, "AddressBook")<br />
<br />
        MsgBox("Data updated") 



ok that's cool

GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd3-Sep-07 20:42
professionalVimalsoft(Pty) Ltd3-Sep-07 20:42 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx3-Sep-07 21:58
alzaabi20xx3-Sep-07 21:58 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd3-Sep-07 22:22
professionalVimalsoft(Pty) Ltd3-Sep-07 22:22 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx4-Sep-07 4:13
alzaabi20xx4-Sep-07 4:13 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd4-Sep-07 4:22
professionalVimalsoft(Pty) Ltd4-Sep-07 4:22 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd4-Sep-07 21:14
professionalVimalsoft(Pty) Ltd4-Sep-07 21:14 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx4-Sep-07 23:57
alzaabi20xx4-Sep-07 23:57 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd5-Sep-07 0:07
professionalVimalsoft(Pty) Ltd5-Sep-07 0:07 
QuestionInvoke event inside Flash ActiveX in VB Pin
sunco2-Sep-07 10:06
sunco2-Sep-07 10:06 
AnswerRe: Invoke event inside Flash ActiveX in VB Pin
Dave Kreskowiak3-Sep-07 4:36
mveDave Kreskowiak3-Sep-07 4:36 
QuestionAccessing exchange server public folders Pin
manisghouri2-Sep-07 8:49
manisghouri2-Sep-07 8:49 
QuestionGetting the outermost Document object in webbrowser control Pin
Ahmad Zaidi2-Sep-07 4:10
Ahmad Zaidi2-Sep-07 4:10 
QuestionDatagridView row selection Pin
Mr Oizo2-Sep-07 3:13
Mr Oizo2-Sep-07 3:13 
AnswerRe: DatagridView row selection Pin
Widgets2-Sep-07 14:52
Widgets2-Sep-07 14:52 
Questionplease help me with combobox keycode Pin
bapu28892-Sep-07 2:16
bapu28892-Sep-07 2:16 
AnswerRe: please help me with combobox keycode Pin
Lucky Sheikh6-Sep-07 20:40
Lucky Sheikh6-Sep-07 20:40 
QuestionReplace multiple space with Single space in RichTextBox Pin
Rupesh Kumar Swami2-Sep-07 2:11
Rupesh Kumar Swami2-Sep-07 2:11 

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.