Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
OriginalGriff26-Jul-23 22:08
mveOriginalGriff26-Jul-23 22:08 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
Hillymalen26-Jul-23 22:13
Hillymalen26-Jul-23 22:13 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
Ralf Meier26-Jul-23 22:35
mveRalf Meier26-Jul-23 22:35 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
OriginalGriff26-Jul-23 22:47
mveOriginalGriff26-Jul-23 22:47 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
OriginalGriff26-Jul-23 22:45
mveOriginalGriff26-Jul-23 22:45 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
Hillymalen26-Jul-23 23:23
Hillymalen26-Jul-23 23:23 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
OriginalGriff26-Jul-23 23:40
mveOriginalGriff26-Jul-23 23:40 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
OriginalGriff26-Jul-23 23:47
mveOriginalGriff26-Jul-23 23:47 
OK, that's very definitely the long way round - you don't need the events as if you hook up the DataTables to the DGV correctly using BindingSources, the system will do it all for you.
Do you want me to show you how I would do it, or do you want to fix this line of code?
C#
string query = $"SELECT * FROM ordc WHERE ord_no = ord_no";


If it's the later, then there are two ways to do it - the incredibly dangerous way you are trying to do it, and the proper way which means users can't destroy your database?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

Questionc# Pin
Impana D patel24-Jul-23 0:54
Impana D patel24-Jul-23 0:54 
AnswerRe: c# Pin
Richard Deeming24-Jul-23 1:08
mveRichard Deeming24-Jul-23 1:08 
AnswerRe: c# Pin
Richard MacCutchan24-Jul-23 1:33
mveRichard MacCutchan24-Jul-23 1:33 
AnswerRe: c# Pin
OriginalGriff24-Jul-23 1:55
mveOriginalGriff24-Jul-23 1:55 
Questionc# Pin
Impana D patel23-Jul-23 23:46
Impana D patel23-Jul-23 23:46 
AnswerRe: c# Pin
Richard MacCutchan24-Jul-23 0:03
mveRichard MacCutchan24-Jul-23 0:03 
QuestionWhat should be the principles of multilayer software design? Pin
farshad valizade 202323-Jul-23 22:00
farshad valizade 202323-Jul-23 22:00 
AnswerRe: What should be the principles of multilayer software design? Pin
Richard Deeming23-Jul-23 23:11
mveRichard Deeming23-Jul-23 23:11 
QuestionMulti-threading Pin
MAW3017-Jul-23 9:52
MAW3017-Jul-23 9:52 
AnswerRe: Multi-threading Pin
Gerry Schmitz17-Jul-23 15:32
mveGerry Schmitz17-Jul-23 15:32 
AnswerRe: Multi-threading Pin
Dave Kreskowiak17-Jul-23 15:53
mveDave Kreskowiak17-Jul-23 15:53 
QuestionParameterized Query Pin
Richard Andrew x6416-Jul-23 8:47
professionalRichard Andrew x6416-Jul-23 8:47 
AnswerRe: Parameterized Query Pin
Dave Kreskowiak16-Jul-23 10:44
mveDave Kreskowiak16-Jul-23 10:44 
GeneralRe: Parameterized Query Pin
Richard Andrew x6416-Jul-23 11:39
professionalRichard Andrew x6416-Jul-23 11:39 
AnswerRe: Parameterized Query Pin
OriginalGriff16-Jul-23 11:24
mveOriginalGriff16-Jul-23 11:24 
GeneralRe: Parameterized Query Pin
Richard Andrew x6416-Jul-23 11:42
professionalRichard Andrew x6416-Jul-23 11:42 
GeneralRe: Parameterized Query Pin
OriginalGriff16-Jul-23 18:34
mveOriginalGriff16-Jul-23 18:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.