Exforsys

Online Training

Save data in datagridview with vbnet2005

This is a discussion on Save data in datagridview with vbnet2005 within the Visual Basic Tutorials forums, part of the Articles and Tutorials category; Can anybody help me? This is an error: Missing the DataColumn 'ColumnID' in the DataTable 'project' for the SourceColumn 'ColumnID'. ...


Go Back   Exforsys > Articles and Tutorials > Visual Basic Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-30-2006, 09:03 PM
Junior Member
 
Join Date: Oct 2006
Posts: 4
salemkoten is on a distinguished road
Red face Save data in datagridview with vbnet2005

Can anybody help me?
This is an error:

Quote:
Missing the DataColumn 'ColumnID' in the DataTable 'project' for the SourceColumn 'ColumnID'.
In this code:
Code:
Private Sub saveBNavigator_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles saveBNavigator.Click
        Me.Validate()
        Me.ProjectDataBindingSource.EndEdit()
        If ds.HasChanges Then
            Dim cmb As New SqlCommandBuilder(Me.ProjectDataAdapter)
         Try
            Me.ds.Tables("project").GetChanges()
            ProjectDataAdapter.Update(ds.Tables("Project"))
        Catch ex As Exception
            MessageBox.Show(ex.Message, "Exception", MessageBoxButtons.OK, MessageBoxIcon.Error)
         End Try
      End If
  End Sub
Thanks in advance
SLKT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Import EXCEL Data into QTP Global Data Table venkata krishnamurthy t Software Testing 7 12-09-2007 10:59 PM
Roadmap to careeer in Data warehousing dwuser Dataware Housing Tools 0 04-13-2006 06:20 AM
Difference between Data Warehouse database and OLTP database techguru Data Warehousing 2 04-11-2006 04:19 AM
difference between Data Warehouse and Online Analytical Processing techguru Data Warehousing 1 04-10-2006 11:25 AM
hierarchail & network kisshug Oracle Tutorials 2 05-01-2005 04:17 PM


All times are GMT -4. The time now is 02:17 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.