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 |
Which is the global event handler for unhandled exceptions in an ASP.NET applications?
How do you check whether the row data has been changed?
Clear property is available in which control?
How many types of dialog boxes windows provides?
how to call constructor in abstract class
Which command prompt utility is used to convert a resource file from the text format into the binary format?
How to find the current record position in data control?
i already displaying one datagrid. now i want to make change to particular column header i.e i want to split that column header and it includes one more header.... write a code for that in windows application using C#.net
What are the properties of datacontrol?
What is the extension of the windows installer file?
Explain how barcode create in the report?
Which window displays messages for the status of various features provided in the visual studio .net ide?