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


Please Help Members By Posting Answers For Below Questions

What is form technology?

530


What is difference between winforms and windows forms?

584


What are the components of gui for windows?

525


Explain how many number of events does the timer controls?

529


What is the difference between the add() and insert() methods of a listbox control?

590






Explain something about crystal report in brief?

558


What is a windows forms application?

521


What are the forms of graphics?

521


Where to use new keyword other than create instance?

670


What is a windows form application?

543


What is the advantage of a form?

577


which property is used to change to some value to access a identity column in datacontrols?

1679


How to get records from a database?

595


Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?

559


Which dialog box allows users to switch to another area of the application?

573