Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Help me about bindingsource

Help me about bindingsource

Scheduled Pinned Locked Moved C#
databasehelpannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    phantanagu
    wrote on last edited by
    #1

    I have a table named STAFF contains fields like STAFFID, FULLNAME, BIRTHDAY, SEX, PHOTO. I use BindingSource to update database. Initially, when I have no PHOTO field, updating database is successful. After that, when I add PHOTO field into STAFF table, the failure of updating database is due to having a following error "The query processor could not produce a query plan from the optimizer because a query cannot update a text, ntext, or image column and a clustering key at the same time." I have searched all helps but no article mentions it. Please kindly help me solve this error. Thanks in advance.

    It seem to be a solution or an answer.

    M D 3 Replies Last reply
    0
    • P phantanagu

      I have a table named STAFF contains fields like STAFFID, FULLNAME, BIRTHDAY, SEX, PHOTO. I use BindingSource to update database. Initially, when I have no PHOTO field, updating database is successful. After that, when I add PHOTO field into STAFF table, the failure of updating database is due to having a following error "The query processor could not produce a query plan from the optimizer because a query cannot update a text, ntext, or image column and a clustering key at the same time." I have searched all helps but no article mentions it. Please kindly help me solve this error. Thanks in advance.

      It seem to be a solution or an answer.

      M Offline
      M Offline
      michaelvdnest
      wrote on last edited by
      #2

      Maybe this helps: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=678123&SiteID=1[^]

      1 Reply Last reply
      0
      • P phantanagu

        I have a table named STAFF contains fields like STAFFID, FULLNAME, BIRTHDAY, SEX, PHOTO. I use BindingSource to update database. Initially, when I have no PHOTO field, updating database is successful. After that, when I add PHOTO field into STAFF table, the failure of updating database is due to having a following error "The query processor could not produce a query plan from the optimizer because a query cannot update a text, ntext, or image column and a clustering key at the same time." I have searched all helps but no article mentions it. Please kindly help me solve this error. Thanks in advance.

        It seem to be a solution or an answer.

        D Offline
        D Offline
        dhans
        wrote on last edited by
        #3

        Check into the sql query where u have given the new DBfield for updating

        dhans

        1 Reply Last reply
        0
        • P phantanagu

          I have a table named STAFF contains fields like STAFFID, FULLNAME, BIRTHDAY, SEX, PHOTO. I use BindingSource to update database. Initially, when I have no PHOTO field, updating database is successful. After that, when I add PHOTO field into STAFF table, the failure of updating database is due to having a following error "The query processor could not produce a query plan from the optimizer because a query cannot update a text, ntext, or image column and a clustering key at the same time." I have searched all helps but no article mentions it. Please kindly help me solve this error. Thanks in advance.

          It seem to be a solution or an answer.

          D Offline
          D Offline
          dhans
          wrote on last edited by
          #4

          give us the sql query and code. so that we will check it and will say

          dhans

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups