I have an array Object List below and I need to insert the list in to a database using an SQL While Statement --
How should I construct my stored Procedured
This may involve changing my List from an Object to a String, I am not sure.... Your expertise is needed.
The selecteditems string has four items.
code:
The list works fine
List<object> tskobjslist = ASPxGVNameList.GetSelectedFieldValues(new string[] {
"_NUMBER_BCA" });
List<string> itemList = new List<string>();
try
{
//Call your DB method
string selecteditems = string.Empty;
foreach (object obj in tskobjslist)
{
itemList.Add( ...
Go to the complete details ...