hai
i am a student working on my project on C# coding in which i need to display the datas of the solar inverter readings which i already uploaded to mysql database and from that i need to show the datas through C# coding. i did the coding for displaying the datas but i got struct in viewing the data from two date ie from 1st date to the 2nd date. so please help me to complete the code.if anyone need to see the coding i did plz send me a reply i will upload that also because its very urgent plz help guys
jvinothkumardpi
0
Newbie Poster
Recommended Answers
Jump to Posti did the coding for displaying the datas but i got struct in viewing the data from two date ie from 1st date to the 2nd date.
If you mean you need to adjust your query, then have a look at BETWEEN.
Jump to PostDo you execute a stored procedure to filter and return your data, or do you return all the data and use C# to filter it?
If you use a stored procedure, protaeas is correct. You can use
where RecordDate between startDate and endDate
If you do it in C# you …
All 5 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
jvinothkumardpi
0
Newbie Poster
Ketsuekiame
860
Master Poster
Featured Poster
jvinothkumardpi
0
Newbie Poster
Ketsuekiame
860
Master Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.