10
Reply

how to concatenate string?

Ask a question
Vikas Ahlawat

Vikas Ahlawat

14y
4.9k
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)