Assign stored procedure to form and Add Parameter
private void toolStripButton1_Click_1(object sender, EventArgs e)

              {

                  ControlNames.Clear();

                  if (pnControls.Controls.Count > 0)

                  {
                      foreach (TextBox tb in pnControls.Controls.OfType<TextBox>())
                      {
                          ControlNames.Add(tb.Name.ToString());
                      }

                      FrmParameterSetting obj = new FrmParameterSetting(ControlNames);

                      //  obj.ShowDialog();

                      if (obj.ShowDialog() == DialogResult.OK)

                      {                        

                      }

                  }

              }
July 28th, 2015 8:53am

This one doesn't belong in an office forum either.

Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 2:59pm

Hi Sir,

This forum is talking about MS Visio that a part of MS office, not Visual Studio, please post the question to VS forum:

https://social.msdn.microsoft.com/Forums/en-US/home?category=vslanguages

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

Regards,

George Zhao
TechNet Community Support

July 29th, 2015 1:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics