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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / balaji
first time insetr five columns but two columns are empty
value thats null value when we click another button update
query is used insert remaining columns (where condition
filled columns value)
| Is This Answer Correct ? | 8 Yes | 0 No |
Explain how insert record in the database?
Which method grants a lock on a resource?
What is a windows based application?
List out controls which does not have events?
Suppose 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?
Which property of the errorprovider control automatically sets to the form to which?
Which controls have refresh method?
Suppose I have two combobox .. And I have some items in both combobox now I need to check the item in both combobox if same item is present in both combobox I need to display that item in message box?
what are the diffrences between windows application and windows service?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
How many navigational features are provided by visual studio.net ide?
What is a fillable form?