DetailsView Insert Item

N

Nil

I am using DetailsView with Dataset.
After binding Dataset with Detailsview i'm chaning its mode to
Insertmode. After entering the values in the fields, i want to add
these value to dataset. I've used DetailsView.InsertItem(), but it is
not working.
 
B

Bill Nicholson

Can you provide more information? What problems are you seeing, what
error messages are you getting, etc.

Without knowing too much about your situation, here are some things to
try:

If you are using an Object Data Source, make sure the underlying
object is providing an Insert method.

Make sure that the data you are trying to insert is of a proper
structure and can actually be inserted in to the target table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top