public int NValidation()
{
int v=1;
if (radioButton8.Checked)
v=1;
else
if (radioButton9.Checked)
v=2;
else
if (radioButton10.Checked)
v=3;
return v ;
}
private void button1_Click(object sender, System.EventArgs e)
{
localhost.Service1 mahboob=new localhost.Service1();
try
{
mahboob.news( Ntype(),Nimportance(),Nsubject( ;),NValidation(),textBox1.Text.ToStrin g(),textBox2.Text.ToString()) ;;
}
catch (Exception ex)
{
label8.Text=ex.Message.ToString();
}
:shock: :lol: