Its working.
Hashtable vars = new Hashtable();
vars.Add("OrderContent", item.OrderConfirmationData);
Its not working, when i am using a web service and calling a web service as mentioned below:
List<KeyValue> list = new List<KeyValue>();
list.Add(new KeyValue() { Key = "OrderContent", Value = item.OrderConfirmationData });
WebService obj = new WebService();
obj.SendEmail(toEmailId, TemplateName, list.ToArray());
I can't pass a hashtable in web service parameter, thats why i am passing as a List<KeyValue>
Is there anyway i can use web service here?
Thanks in advance!
Go to the complete details ...