<\/span><\/h2>\n\n\n\n private void button2_Click(object sender, EventArgs e)\n {\n String firstName = textBoxFirstName.Text;\n String lastName = textBoxLastName.Text;\n String gender = "";\n String country = "";\n\n if (radioButtonGenderMale.Checked == true)\n {\n gender = "Male";\n }\n else if (radioButtonGenderFemale.Checked == true)\n {\n gender = "Female";\n }\n\n country = comboBoxCountry.SelectedItem.ToString();\n\n MemoryStream ms = new MemoryStream();\n\n pictureBox1.Image.Save(ms, pictureBox1.Image.RawFormat);\n Byte[] img = ms.ToArray();\n\n dataGridView1.Rows.Add(firstName, lastName, gender, country, imagePath, img);\n\n \/\/dataGridView1.DataSource = table;\n }\n<\/pre>\n\n\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"
How To Add Or Insert Data From Radio Button To Datagridview In C# Windows Application This Tutorial shows How To Add Or Insert Data From…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/posts\/1948"}],"collection":[{"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/comments?post=1948"}],"version-history":[{"count":0,"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/posts\/1948\/revisions"}],"wp:attachment":[{"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/media?parent=1948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/categories?post=1948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mauricemuteti.info\/wp-json\/wp\/v2\/tags?post=1948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}