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
Goran Bibic
480
2.9k
200.8k
Text box and combo box value from Form 2 to From 1
Mar 27 2018 2:54 AM
I have some problem
On form 1 make the code
On form2 make public all textboxex
private
void
button19_Click(object sender, EventArgs e)
{
artikl_search lupa =
new
artikl_search();
lupa.Show();
idTextBox1.Text = lupa.idTextBox.Text;
nazivComboBox.Text = lupa.naziv_artiklaTextBox.Text;
textBox2.Text = lupa.grupa_artikalaTextBox.Text;
jedinica_mjereTextBox.Text = lupa.jedinica_mjereTextBox.Text;
kolicinaTextBox.Text = lupa.kolicinaTextBox.Text;
cijena_bez_pdvTextBox.Text = lupa.cijena_bez_pdvTextBox.Text;
}
On form 2
Make textbox and other boxes to be public...but...problem is when I chose values on Form2,
on Form1 give me always value first row in datagreed...not selected value from Form2
Maybe is problem line 8?
nazivComboBox.Text = lupa.naziv_artiklaTextBox.Text;
Form1 is combo box, on Form 2 is textbox
Reply
Answers (
2
)
Keyword not supported: 'admin-pc3\sqlexpress;initial catalog
display JSONResult Data in HTMLTable do not use partial