473,548 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error when committing the row to the original data store

Hi all,

I am working on a project involving Datagrid with an extended feature of
combo box

i am trying to stop the occurance of duplicate ID's
i want to trap the message "Error when committing the row to the original
data store"
i would like to display my own message box and cancel the row that is being
added.

could anyone please help me out

Thanks and Regards,
Sanjeev K. B
Nov 20 '05 #1
4 3430
Hi,

You could override the SetColumnValueA tRow of your comboboxcolumn to
check for duplicate values before adding the data to original data store.

Ken
-----------------
"Sanjeev K B" <sa***@jcastnet .com> wrote in message
news:uq******** ******@TK2MSFTN GP09.phx.gbl...
Hi all,

I am working on a project involving Datagrid with an extended feature of
combo box

i am trying to stop the occurance of duplicate ID's
i want to trap the message "Error when committing the row to the original
data store"
i would like to display my own message box and cancel the row that is being added.

could anyone please help me out

Thanks and Regards,
Sanjeev K. B

Nov 20 '05 #2
Hi,

You could override the SetColumnValueA tRow of your comboboxcolumn to
check for duplicate values before adding the data to original data store.

Ken
-----------------
"Sanjeev K B" <sa***@jcastnet .com> wrote in message
news:uq******** ******@TK2MSFTN GP09.phx.gbl...
Hi all,

I am working on a project involving Datagrid with an extended feature of
combo box

i am trying to stop the occurance of duplicate ID's
i want to trap the message "Error when committing the row to the original
data store"
i would like to display my own message box and cancel the row that is being added.

could anyone please help me out

Thanks and Regards,
Sanjeev K. B

Nov 20 '05 #3
hi Ken,

thanks for the tip.

Could u also please tell me how to return an error to the user.
is there any other way of tackling this situation other than making
modifications to the DataGridComboBo x Column.

Thanks and Regards,
Sanjeev K.B

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:ey******** ******@tk2msftn gp13.phx.gbl...
Hi,

You could override the SetColumnValueA tRow of your comboboxcolumn to check for duplicate values before adding the data to original data store.

Ken
-----------------
"Sanjeev K B" <sa***@jcastnet .com> wrote in message
news:uq******** ******@TK2MSFTN GP09.phx.gbl...
Hi all,

I am working on a project involving Datagrid with an extended feature of
combo box

i am trying to stop the occurance of duplicate ID's
i want to trap the message "Error when committing the row to the original data store"
i would like to display my own message box and cancel the row that is

being
added.

could anyone please help me out

Thanks and Regards,
Sanjeev K. B


Nov 20 '05 #4
hi Ken,

thanks for the tip.

Could u also please tell me how to return an error to the user.
is there any other way of tackling this situation other than making
modifications to the DataGridComboBo x Column.

Thanks and Regards,
Sanjeev K.B

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:ey******** ******@tk2msftn gp13.phx.gbl...
Hi,

You could override the SetColumnValueA tRow of your comboboxcolumn to check for duplicate values before adding the data to original data store.

Ken
-----------------
"Sanjeev K B" <sa***@jcastnet .com> wrote in message
news:uq******** ******@TK2MSFTN GP09.phx.gbl...
Hi all,

I am working on a project involving Datagrid with an extended feature of
combo box

i am trying to stop the occurance of duplicate ID's
i want to trap the message "Error when committing the row to the original data store"
i would like to display my own message box and cancel the row that is

being
added.

could anyone please help me out

Thanks and Regards,
Sanjeev K. B


Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2473
by: Benjamin Scott | last post by:
Hello. I attempted to build a compound dictionary: len(Lst)=1000 len(nuerLst)=250 len(nuestLst)=500 Dict={}
4
1559
by: Kain0o0 | last post by:
Hello , thanks for any help in advance. Im writing some code for a c++ class and the proffessor wants us to implement a list template using arrays. I thought this would be an easy task but have been stuck with the same error and i cant seem to fix it. I think its the constructor but i dont know how to fix it . My error is: List error...
0
2547
by: David Elliott | last post by:
I have a DataGrid with a checkbox that is mapped to a field in a collection. Sometimes when I click on the check box, I get this annoying message. Error When committing the row to the original data store. The ListManager's position must be equal to rowNum Parameter name: rowNum Do you want to correct the value? Is there a way to...
0
924
by: michael schindler | last post by:
I get this error message...why? And what can I do? ****************************************** Error when committing the row to the original data store: The Listmanager's position must be equal to rowNum. Parameter name: rowNum Do you want to correct the value?
1
2572
by: AH | last post by:
Hi, I used a dataTable to bind to datagrid. I setup code to handle the rowchanging event but whenever I change from one row to another in the datagrid, the datagrid changed to a white box with a big red-crossed, an error message box with titled "Error when committing the row to the original data store" and prompted "no value at index 0, do you...
3
270
by: Sanjeev K B | last post by:
Hi all, I am working on a project involving Datagrid with an extended feature of combo box i am trying to stop the occurance of duplicate ID's i want to trap the message "Error when committing the row to the original data store" i would like to display my own message box and cancel the row that is being added.
3
2425
by: Adriano | last post by:
Hello, when I try to print something, either DataGrid or from Crystal Report viever the folowing error message appears and cancels printing: Object reference not set to an instance of an object :(((( Anyone pls help me to solve this problem!!! thanks in advance,
6
4145
by: tgnelson85 | last post by:
Hello, C question here (running on Linux, though there should be no platform specific code). After reading through a few examples, and following one in a book, for linked lists i thought i would try my own small program. The problem is, I seem to be having trouble with memory, i.e. sometimes my program will work and display the correct output,...
3
5157
by: Jim Armstrong | last post by:
Hello all - This is driving me crazy. I have a table called tblClients - very simple, has the following fields: taxID (PK) ClientName SalesName The main form of my application allows a user to select a client and
0
7512
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7951
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7803
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6036
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5362
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.