Hello,
I am using ms access as a database, already have bind the data in datagridview. Need to summerize the timespane i have tried but it show not in a correct formate. kindly help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
praveen kumarPosted Apr 24, 2015, 1:23 AM
to get total value of the columns i am using this code
int sum = 0;
for( int i=0; i
sum +=Convert.ToInt32(dataGridView1.Rows[i].Cells[4].Value);
}
label2.Text = sum.ToString();
i just want to get my timespan total calculation of the entire columns, it showing
this error Invalid cast from 'DateTime' to 'Int32'.
kindly help me
thank you
dinesh kumarPosted Apr 23, 2015, 7:44 AM
http://blogs.msdn.com/b/vinsibal/archive/2008/10/31/wpf-datagrid-frozen-row-sample.aspx
if this helps you please upvote it
Regards,
DK
praveen kumarPosted Apr 23, 2015, 5:53 AM
dinesh kumarPosted Apr 23, 2015, 4:56 AM
If it's only format then you could apply through