databetween two dates from usercontrol
<p>In my form i made a user control of label textbox datepicker 
in this form i put a datagrid in which i want data between two dates as i click submit button..my code is:</p>

<pre><code>private void btnSubmit_Click(object sender, EventArgs e)
            {
                SqlConnection cs = new SqlConnection("Data Source=IRIS-CSG-174;Initial Catalog=library_system;Integrated Security=True");
                cs.Open();
                SqlCommand cmd = new SqlCommand("select * from dbo.lib_issue_details where book_issue_on between'" +userControl11.Text+ "'" + "and'" + userControl12.Text + "'", cs);
                SqlDataAdapter da = new SqlDataAdapter(cmd);
                DataTable dt = new DataTable();
                DataSet ds = new DataSet();
                da.Fill(ds, "lib_issue_details");
                dataGridView1.DataSource = ds.Tables[0];
                dataGridView1.DataBindings.Add(new Binding("text", ds, "lib_issue_details"));

                cs.Close();


            }
</code></pre>

<p>But this code is not giving data from database,it only gives database columns name as I select from two dates from datepicker as I want data beween two dates.</p>
