cs1501 error
Bob Alston
121
Reputation points
I get cs1501 error - No overload for method 'download' takes 7 arguments.
Running this code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Services.Description;
namespace ConsoleApp7
{
internal class Program
{
static void Main(string[] args)
{
var service = new us.tx.state.dshs.cmbhs.DataDownloadService { Url = "http:s://cmbhs.dshs.state.tx.us/cmbhswebservice/Service/DataDownloadService.asmx?wsdl" };
var mydata = service.Download("xxIDxxx", "yyPWyyy", "449737", "2022-10-01", "2022-10-03","12","02");
Console.WriteLine(mydata);
Error on line "var mydata = ..."
I read internet posts which don't really tell me how to fix this.
Thanks for assistance
Sign in to answer