|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
constraint problemI had declare the keyconstraint.
Dim con_id_rv As ForeignKeyConstraint con_id_rv = New ForeignKeyConstraint("fk_id", dtInv.Columns("invno"), dtRv.Columns("invno")) However, I got one error Object reference not set to an instance of an object. Please help. Thanks a lot Why don't you put a breakpoint where you are creating the constraint, and
make sure all these objects aren't null. This would be the easiest and fastest way to fix the problem. Show quoteHide quote "Agnes" <ag***@dynamictech.com.hk> wrote in message news:%23X8kAZ7vGHA.4436@TK2MSFTNGP06.phx.gbl... >I had declare the keyconstraint. > Dim con_id_rv As ForeignKeyConstraint > con_id_rv = New ForeignKeyConstraint("fk_id", > dtInv.Columns("invno"), dtRv.Columns("invno")) > > However, I got one error > Object reference not set to an instance of an object. > > Please help. > Thanks a lot > >
Populating date into SQL
How to mask console password input How to query the table in a dataset? VB.NET and Microsoft Word problem: topic becomes read-only Launching Word 2003 in prog creates exception IE input box from TreeView Compiling list of items that WinForms can do, WebForms cannot Waiting for com program to terminate Creating Reports from SQL data Filename from Open With |
|||||||||||||||||||||||