I Have to pass around 80 fields to database which is most of different type.
so in code behind file I want to check the type and and have to convert it to db type as value is accessing from textbox.
so I want to make method in which ill check data where its empty (if empty then send DBNULL.Value)
and if not then convert to datatype which ill pass as argument
Is this possible
how can i achieve it