471,047 Members | 1,217 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,047 software developers and data experts.

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 3314
Hi,

You could override the SetColumnValueAtRow 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**************@TK2MSFTNGP09.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 SetColumnValueAtRow 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**************@TK2MSFTNGP09.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 DataGridComboBox Column.

Thanks and Regards,
Sanjeev K.B

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:ey**************@tk2msftngp13.phx.gbl...
Hi,

You could override the SetColumnValueAtRow 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**************@TK2MSFTNGP09.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 DataGridComboBox Column.

Thanks and Regards,
Sanjeev K.B

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:ey**************@tk2msftngp13.phx.gbl...
Hi,

You could override the SetColumnValueAtRow 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**************@TK2MSFTNGP09.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Benjamin Scott | last post: by
4 posts views Thread by Kain0o0 | last post: by
reply views Thread by David Elliott | last post: by
reply views Thread by michael schindler | last post: by
3 posts views Thread by Adriano | last post: by
3 posts views Thread by Jim Armstrong | last post: by

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.