Vikas Ahlawat

Vikas Ahlawat

  • NA
  • 564
  • 817k

how to concatenate string?

Mar 2 2010 6:42 AM
             public static string sqlquary;
            sqlquary = "Select * from Student_Fee_Payment_Detail where";

            if (radioButton1.Checked == true)
            {
                sqlquary = sqlquary + "class";
            }
           
            MessageBox.Show(sqlquary);

how can i do under if statement. that it show effict.

Answers (10)