|
Which part?
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
All of them, do you want to guide me to make my own graph step by step?
|
|
|
|
|
Step 1: Get some data.
Step 2: Show evidence of said data.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
|
Yes. Buy me some equipment so I can reproduce your situation.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
I don't think anyone is really going to write a small book just for you. This would take quite more than a few forum posts to explain.
|
|
|
|
|
What have you tried?
Where are you stuck?
What help do you need?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
could you help me for create my real time graph?
i have task for c# language to make GUI for plotting real time MPU9150 from arduino
|
|
|
|
|
And what would we get out of this? What I see here is you wanting us to do your job for you.
This space for rent
|
|
|
|
|
Member 14142133 wrote: i have task
Go back to whoever gave you the task and tell them you have no idea how to achieve the goal. Maybe they can find someone with more knowledge to do the job.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Quote: All of them, do you want to guide me to make my own graph step by step?
We are more than willing to help those that are stuck: but that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.
So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
come on bro, i just wanna somebody help me. i have gave everything for create it
|
|
|
|
|
No, you haven't - you just said "I want this" without telling us what you have tried so far.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hi,
if you search CodeProject for real time plot , you'll find an inspirational article series by DaveAuld. I haven't read it but it looks good; and I did read and appreciate lots of Dave's stuff in the past.
modified 7-Feb-19 12:00pm.
|
|
|
|
|
thank's bro, do you have more information about my problem. could we talking more about this
|
|
|
|
|
No
|
|
|
|
|
Hi,
Very new to this so appreciate the help.
I am creating an C# application that has a simple database .mdf inside with a table that will hold numbers. Headings are REF and ID as a primary key.
the .csv file will be formatted as:
number,
number,
number,
My application can browse the file path to a text box but then I need to use an 'Import' button to cycle through the numbers in the .csv file and update the table in the database and place them in the REF column.
I can read the .csv into a DataGridView but would rather it just went into the table and didn't create any duplicates when doing so.
Any help appreciated.
Thanks
|
|
|
|
|
|
You need to do some basic research, there are many examples for this process, CSV to Table to CSV (shameless plug)[^]
Then all you need to do is write it to the database and there are a myriad of examples for that as well.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
How to convert docx,pdf or doc files into html file use c# ?
only use Microsoft class + library, without using third party library
|
|
|
|
|
|
You could just use Word automation to do it. Have it load the file and just do a SaveAs and tell it to save in HTML format.
Then you have to put up with the horrifyingly bad HTML that Word generates...
Or you could just a 3rd party library...
|
|
|
|
|
It's been a long time since I've worked with column sorting. It was working until I fine tuned it.
Now I can't figure out where it's broken. I don't if broke the code in the form, or the class I fined tuned.
But I can't click and go descending, but when I click it stays the same, descending.
It fires twice, the first time is correct, then the 2nd time it goes back
private void LVRecord_ColumnClick(object sender, ColumnClickEventArgs e)
{
Cursor = Cursors.WaitCursor;
if (e.Column.Equals(_lvrColumnSorter.SortColumn))
{
if (_lvrColumnSorter.Order.Equals(SortOrder.Ascending))
{
_lvrColumnSorter.Order = SortOrder.Descending;
}
else
{
_lvrColumnSorter.Order = SortOrder.Ascending;
}
}
else
{
_lvrColumnSorter.SortColumn = e.Column;
_lvrColumnSorter.Order = SortOrder.Ascending;
}
this.LV_Record.Sort();
Cursor = Cursors.Arrow;
}
If it ain't broke don't fix it
Discover my world at jkirkerx.com
|
|
|
|
|
Well that took forever to figure out
I went to the listview properties and registered the column click event.
Now it fires 3 times.
Changed up the code but it wasn't a factor
And my class wasn't the issue as well.
private void LVRecord_ColumnClick(object sender, ColumnClickEventArgs e)
{
Cursor = Cursors.WaitCursor;
var comparer = (LVDataViewStockComparer)LV_Record.ListViewItemSorter;
if (!e.Column.Equals(comparer.SortColumn))
{
comparer.SortColumn = e.Column;
comparer.Order = SortOrder.Ascending;
}
else
{
if (comparer.Order.Equals(SortOrder.Ascending))
comparer.Order = SortOrder.Descending;
else
comparer.Order = SortOrder.Ascending;
}
comparer.SortColumn = e.Column;
this.LV_Record.Sort();
Application.DoEvents();
Cursor = Cursors.Arrow;
}
If it ain't broke don't fix it
Discover my world at jkirkerx.com
|
|
|
|
|
Hi,
1.
I have no experience with ListView sorting, however I read one page of documentation[^], and what struck me was the example there explicitly states a new Comparer object needs to be created each time (not sure why!).
2.
I have been sorting lots of DataGridViews, and the functionality I typically want is sorting by multiple columns, so I always resort to a list of sort criteria (think MRU) and hence an explicit Comparer method.
3.
BTW, I strongly object against your call to DoEvents; this method is to be avoided at all costs, the one thing it does is reshuffling the processing of events, and at best it apparently fixes a structural problem in existing code while adding lots of new anomalies in its behavior. If DoEvents seems to fix a problem, think again and come up with a real solution!
|
|
|
|