What you can do is to pull tbReportIDox.Text
up as a parameters to the method, that is
public void reportTable(string reportName)
{
...
com.Parameters.AddWithValue("@reportID", reportName);
...
}
And then on a button click
private void btnSave_Click(object sender, EventArgs e)
{
// resolve instance of reportTableSQL class
// for example through: new reportTableSQL();
var reportGenerator = new reportTableSQL();
reportGenerator.reportTable(tbReportIDox.Text);
}