Error when committing the row to the original data store 
November 20th, 2005, 04:31 PM
| | | |
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 | 
November 20th, 2005, 04:32 PM
| | | | re: Error when committing the row to the original data store
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" <sanju@jcastnet.com> wrote in message
news:uqJCSclGEHA.2980@TK2MSFTNGP09.phx.gbl...[color=blue]
> 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[/color]
being[color=blue]
> added.
>
> could anyone please help me out
>
> Thanks and Regards,
> Sanjeev K. B
>
>[/color] | 
November 20th, 2005, 04:32 PM
| | | | re: Error when committing the row to the original data store
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" <sanju@jcastnet.com> wrote in message
news:uqJCSclGEHA.2980@TK2MSFTNGP09.phx.gbl...[color=blue]
> 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[/color]
being[color=blue]
> added.
>
> could anyone please help me out
>
> Thanks and Regards,
> Sanjeev K. B
>
>[/color] | 
November 20th, 2005, 04:32 PM
| | | | re: Error when committing the row to the original data store
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]" <vb2ae@bellsouth.net> wrote in message
news:eyuE74mGEHA.2308@tk2msftngp13.phx.gbl...[color=blue]
> Hi,
>
> You could override the SetColumnValueAtRow of your comboboxcolumn[/color]
to[color=blue]
> check for duplicate values before adding the data to original data store.
>
> Ken
> -----------------
> "Sanjeev K B" <sanju@jcastnet.com> wrote in message
> news:uqJCSclGEHA.2980@TK2MSFTNGP09.phx.gbl...[color=green]
> > 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[/color][/color]
original[color=blue][color=green]
> > data store"
> > i would like to display my own message box and cancel the row that is[/color]
> being[color=green]
> > added.
> >
> > could anyone please help me out
> >
> > Thanks and Regards,
> > Sanjeev K. B
> >
> >[/color]
>
>[/color] | 
November 20th, 2005, 04:32 PM
| | | | re: Error when committing the row to the original data store
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]" <vb2ae@bellsouth.net> wrote in message
news:eyuE74mGEHA.2308@tk2msftngp13.phx.gbl...[color=blue]
> Hi,
>
> You could override the SetColumnValueAtRow of your comboboxcolumn[/color]
to[color=blue]
> check for duplicate values before adding the data to original data store.
>
> Ken
> -----------------
> "Sanjeev K B" <sanju@jcastnet.com> wrote in message
> news:uqJCSclGEHA.2980@TK2MSFTNGP09.phx.gbl...[color=green]
> > 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[/color][/color]
original[color=blue][color=green]
> > data store"
> > i would like to display my own message box and cancel the row that is[/color]
> being[color=green]
> > added.
> >
> > could anyone please help me out
> >
> > Thanks and Regards,
> > Sanjeev K. B
> >
> >[/color]
>
>[/color] |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 225,689 network members.
|