check compiler with break point
Posted
by KareemSaad
on Stack Overflow
See other posts from Stack Overflow
or by KareemSaad
Published on 2010-04-18T14:47:31Z
Indexed on
2010/04/18
14:53 UTC
Read the original article
Hit count: 177
c#
When I tried to focus on compiler in code i made break point on code if (!IsPostBack) { using (SqlConnection Con = Connection.GetConnection()) {
if (Request.QueryString["Category_Id"] != null && DDlProductFamily.SelectedIndex < 0)
{
SqlCommand Com = new SqlCommand("SelectAllCtageories_Front", Con);
Com.CommandType = CommandType.StoredProcedure;
Com.Parameters.Add(Parameter.NewInt("@Category_Id", Request.QueryString["Category_Id"]));
SqlDataAdapter DA = new SqlDataAdapter(Com);
DA.Fill(dt);
DataList1.DataSource = dt;
DataList1.DataBind();
}
but I cannot check condition although I had the value of query string
- List item
© Stack Overflow or respective owner