TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
deva datta
NA
2
2.2k
dataAdapter Update method columns matching problem
Jul 7 2013 6:24 AM
i have DataTable named dtPurchaseProduct
that has columns
- dtcolPurchaseProduct_No
- dtcolnInvoiceNo
- dtcolnProductNo
- dtcolnProductName
- dtcolnQuantity
- dtcolnPrice
these are bound to datagridview except dtcolnProductNo because only product names are required to be seen
and i have DatabaseTable Named PurchaseProduct
that has columns
- PurchaseProduct_No
- InvoiceNo
- ProductNo
- Quantity
- Price
now after allowing user to add/update/delete the DataTable rows through textboxes
i want to insert these rows to DataBaseTable with DataAdapter
Is it possible to do that? i don't have select command and even the columns are not exactly the same that is i don't have database column for dtlcolnProductName
Reply
Answers (
1
)
Setting original size of an image in Data grid view
populating data to dropdown list and text field from sql tab