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
484
2.9k
198.5k
System.dbnull.value null? APP not start if column null
Mar 14 2018 5:25 PM
If is Column 1, Column 3 or Column 4 null app not start...
How tu insert in this code for system db null or recomandition???
openCon.Open();
using
(SqlDataAdapter querySaveStaff =
new
SqlDataAdapter(saveStaff, cs))
{
DataTable dt =
new
DataTable();
querySaveStaff.Fill(dt);
prijava_radnikaDataGridView.DataSource = dt;
prijava_radnikaDataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
prijava_radnikaDataGridView.Columns[0].Visible =
false
;
//id
prijava_radnikaDataGridView.Columns[1].FillWeight = 80;
//redni broj
prijava_radnikaDataGridView.Columns[2].FillWeight = 250;
//radnik
prijava_radnikaDataGridView.Columns[3].FillWeight = 180;
//vrijeme prijave
prijava_radnikaDataGridView.Columns[4].FillWeight = 180;
//vrijeme odjave
Reply
Answers (
18
)
Counter count to 10, end then 10,10,10,10,...at 1 to 9 is ev
crystal report in VB 2012