10
Answers

how to concatenate string?

Photo of Vikas Ahlawat

Vikas Ahlawat

15y
5.4k
1
             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)