My page contains 34 fields (textboxes) who's contents are later saved into oracle database table on save button click.
Instead of sending 34 different parameters to my insert store proc, i created a XDocument and passes it store proc with a parameter of XMLType.
While executing my code I am getting expection like :
1. Unable to convert Xdoc to string
2. Incorrect number of parameters (I got after i passed xdoc.tostring() to proc)
I am using Enterprise LIbrary 5 to DB Utils.
any idea what can be done with this ?
also any tip / comment on why/whynot to use xml in insert