protected void Button1_Click(object sender, EventArgs e)
    {
        if (RadioButtonList1.SelectedValue != "")
        {
            int selectvalue = Convert.ToInt32(RadioButtonList1.SelectedValue);           switch(selectvalue)
            {
                case 1:
                    read2write(1);
                    break;
                case 2:
                    read2write(2);
                    break;
                case 3:
                    read2write(3);
                    break;
                case 4:
                    read2write(4);
                    break;
            }button