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
195.8k
Show data in another form quick and easy
Mar 23 2018 1:58 PM
What is wrong? Error is every time only first column show
private
void
poreziDataGridView_Click(object sender, EventArgs e)
{
DataGridViewRow CurrentRow = poreziDataGridView.SelectedRows[0];
Form2 f1 =
new
Form2();
f1.idTextBox.Text = poreziDataGridView.CurrentRow.Cells[
"dataGridViewTextBoxColumn1"
].Value.ToString();
f1.imeTextBox.Text = poreziDataGridView.CurrentRow.Cells[
"dataGridViewTextBoxColumn2"
].Value.ToString();
f1.procenatTextBox.Text = poreziDataGridView.CurrentRow.Cells[
"dataGridViewTextBoxColumn3"
].Value.ToString();
f1.fiksna_vrednostTextBox.Text = poreziDataGridView.CurrentRow.Cells[
"dataGridViewTextBoxColumn4"
].Value.ToString();
f1.redni_brojTextBox.Text = poreziDataGridView.CurrentRow.Cells[
"dataGridViewTextBoxColumn5"
].Value.ToString();
f1.ShowDialog();
}
Reply
Answers (
1
)
.net core hosting issue
problem of importing from database