how to assign values to array
<p>how to assign database value to  arrays. i tried like this...</p>

<pre><code> da = new SqlDataAdapter("select emname from emp", con);
        ds = new DataSet();
        da.Fill(ds, "emp");
        if(ds.Tables [0].Rows.Count &gt;0)
        {
            for(int i=0;i&lt;ds.Tables [0].Rows .Count ;i++)
            {
                string[] myArray = ds.Tables[0].Rows[i]["emname"].ToString();
            }
        }
</code></pre>

<p>but it is giving error that can't convert string to string[]
please help me</p>
