Hi All,
My name is John and I'm new and have started using Visual Studio 2012 express to do some development work and have an issue which I hope experts from this forum can assist.
I've a stored procedure written in TSQL in SQL Server 2008 that return varchar(max) containing XML. I would like to build a front end interface having all input parameters appear as text boxes and via the press of the button then it would call my stored procedure and my stored procedure will return the varchar(max) onto an object and display the XML on screen. I want ask whether it is the correct approach (as I'm unsure whether I should instead create a function that return the XML data type, please advice) and what sort of object should I use to collect the varchar(max) from my stored procedure and display the XML. Thank you for your assistance.
Regrds,
John