TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
2.1k
470.6k
windows form dialog popup
Apr 23 2021 8:23 PM
// 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();
}
Hi Team
I want to create a button that will call windows form, the form must have textfield(year, week) these two fields need to write inputs to the record(table) in the database. Are there any examples around this? please share thanks.
Reply
Answers (
1
)
Multiselected view in dropdownlist using MVC
Many to Many Table Controller Create