System.data.datarow
<pre><code>        [WebMethod]
    public List&lt; string&gt; HelloWorld(string prefixText)
    {
        SqlConnection con = new SqlConnection("Database=bluedd;Server=(local);Integrated Security=SSPI");
        con.Open();
        SqlCommand cmd = new SqlCommand("select user_master.first_name from user_master where first_name like @Name+'%'", con);
        cmd.Parameters.AddWithValue("@Name", prefixText);
        SqlDataAdapter da = new SqlDataAdapter(cmd);
        DataTable dt = new DataTable();
        da.Fill(dt);
        List&lt;string&gt; CountryNames = new List&lt;string&gt;();

        for (int i = 0; i &lt; dt.Rows.Count; i++)
        {
           CountryNames.Add(dt.Rows[i].ToString());
        }
        return CountryNames;
    }
</code></pre>

<p>This code returns System.Data.DataRow is there any casting problem<br/>I am very new in s/w Development, any help will be appreciated<br/></p>
