CS0029: Cannot implicitly convert type 'string' to 'string[]' THIS IS MY ERROR..
string[] names = context.Request["names"]; in this LINE
please help me The Language that i Used is c# ....
CS0029: Cannot implicitly convert type 'string' to 'string[]' THIS IS MY ERROR..
string[] names = context.Request["names"]; in this LINE
please help me The Language that i Used is c# ....
It's kind of saying it all in the error message.
context.Request["names"]; is a string and you are trying to convert it to a string array.
This, however, should work (I haven't tested)
string[] names = {context.Request["names"]};
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.