- // this is my default example, now how do i write inputs(if a user search for year, week) this must write into my table in the database. do i create a unique store procedure?
- private void button1_Click(object sender, EventArgs e)
- {
- PopupForm popup = new PopupForm();
- DialogResult dialogresult = popup.ShowDialog();
- if (dialogresult == DialogResult.OK)
- {
- Console.WriteLine("You clicked OK");
- }
- else if (dialogresult == DialogResult.Cancel)
- {
- Console.WriteLine("You clicked either Cancel or X button in the top right corner");
- }
- popup.Dispose();
- }
Loading
Nagesh HugarPosted Apr 24, 2021, 1:19 AM