Hi, I am implementing one windows form. I am inserting some
values into ms access. In that table 5 columns there. But I
want to insert three columns only. when I am clicking
another button then other two values also insert into that
table. please help me
Answer Posted / karthik
1st button
Insert into table names (@column1,@column2,@column3,'','')
2nd button
update tablename set column4=@column4,column5=@column5
where column1=@column1 and column2=@column2 and
column3=@column3
hope it will help
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Which dialog box allows users to switch to another area of the application?
Name the property which of menu cannot be set at run time?
Explain how many number of events does the timer controls?
What is form based application?
What is an example of form?
Explain how to split a column header in gridview using c#.net?
What is a windows forms application?
How to show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed
What is form and its types?
How is anchoring different from docking?
What are the three states set in a checkstate property?
How save rerecord in the database?
Which property value of the helpnavigator property will display the index for a specified topic?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.