Dynamically generate sql query in code behid using c#
Hi,
I want to generate dynamic SQL query in code behind. For update,insert,delete. I want to write this in data access layer. How to write this. I want to pass the no of columns and values and tablename and where necessary the where condition. How do i do this please help.