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
Kanaparthi Sureshma Reddy
NA
85
38.3k
Insert ComboBox selected value into table specific column?
Aug 19 2015 9:17 AM
Hi,
I want to insert debit and credit values into the database table based on Combobox Selected Values.My ComboBox consists of Cr. and Dr. items and the Database table columns are Id,Name,Debit and Credit.When I select Debit from ComboBox and enter amount 1000 (in textbox) then the table Debit column should display as 1000Dr and the Credit column should be null like wise If I select Credit from ComboBox and enter amount 500 then the Credit column should display as 500Cr.(Debit column should be null).
Here is Example
Id Name Debit Credit
1 Ram 1000Dr. NULL
2 Ravan NULL 500Cr.
How to write code for this?
Thanks in advance.
Reply
Answers (
1
)
How to set text in wpf richtext box
what is the use of DirectoryEntry control?