title: Cannot implicitly convert type 'string' to 'System.Collections.Generic.List<string>
body: <p>my controller is showing errror pls solve showing error cannot convert an list to string</p>
  
  <pre><code>public JsonResult GetProperty_id(int selectedValue) 
  {
      List &lt; string &gt; properties = new List &lt; string &gt; ().ToList();
      //    Property model1 = new Property();
      SqlConnection con = new SqlConnection("Server=miracle\\SQLExpress; database=CRUIdb; user id=sa; password=dotnet");
      con.Open();
      SqlCommand cmd = new SqlCommand("SELECT property_id  FROM Service_Property WHERE service_id =" + selectedValue, con);
      SqlDataAdapter da = new SqlDataAdapter(cmd);
      DataSet ds = new DataSet();
      da.Fill(ds);
  
      for (int i = 0; i &lt;= ds.Tables[0].Rows.Count - 1; i++) 
      {
          properties = (ds.Tables[0].Rows[0]["property_id"]); //error cannot covert
      }
      return Json(properties, JsonRequestBehavior.AllowGet);
  }
  </code></pre>