Dear You just need to create a Save Functions which takes a filename as input parameter and process the save functionality there
private bool SaveFile (string FileName)
{
//Your code here
}
you just need to write code on Click Event of command button to create a file name
You also need to have some option buttons from where you should determine which company's filename is saved. this can be done using DB or some other option.
i hope you will understand C# code
string strFileName,strComanyName,strNumber;
strCompanyName = "GetCompanyName"
strNumber = //Some Number from TextBox ,
strFileName = DateTime.Today.Year.Tostring() + "-CompanyName-" + strNumber
I hope this will solve problem