if (CheckBox1.Checked==true) { da = new SqlDataAdapter("SELECT * FROM Product where color='" + "red" + "'", cn); ds = new DataSet(); da.Fill(ds); DataList1.DataSource = ds; DataList1.DataBind(); }
protected virtual void OnCheckedChanged( EventArgs e )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)