Click here to Skip to main content
15,896,514 members
Home / Discussions / C#
   

C#

 
AnswerRe: New Kind of Application for me (centralized/cloud). Looking for learning resources. Pin
Gerry Schmitz30-Jul-23 4:05
mveGerry Schmitz30-Jul-23 4:05 
Questionweb controls in windows forms Pin
mjcs10027-Jul-23 6:14
mjcs10027-Jul-23 6:14 
AnswerRe: web controls in windows forms Pin
Richard MacCutchan27-Jul-23 6:39
mveRichard MacCutchan27-Jul-23 6:39 
AnswerRe: web controls in windows forms Pin
Dave Kreskowiak27-Jul-23 8:00
mveDave Kreskowiak27-Jul-23 8:00 
AnswerRe: web controls in windows forms Pin
Pete O'Hanlon27-Jul-23 22:04
mvePete O'Hanlon27-Jul-23 22:04 
GeneralRe: web controls in windows forms Pin
Dave Kreskowiak28-Jul-23 8:45
mveDave Kreskowiak28-Jul-23 8:45 
AnswerRe: web controls in windows forms Pin
Gerry Schmitz28-Jul-23 5:19
mveGerry Schmitz28-Jul-23 5:19 
AnswerRe: web controls in windows forms Pin
pr1mem0ver29-Jul-23 21:13
pr1mem0ver29-Jul-23 21:13 
GeneralRe: web controls in windows forms Pin
OriginalGriff29-Jul-23 21:22
mveOriginalGriff29-Jul-23 21:22 
GeneralRe: web controls in windows forms Pin
pr1mem0ver30-Jul-23 10:32
pr1mem0ver30-Jul-23 10:32 
GeneralRe: web controls in windows forms Pin
OriginalGriff30-Jul-23 18:29
mveOriginalGriff30-Jul-23 18:29 
AnswerRe: web controls in windows forms Pin
Graeme_Grant19-Aug-23 15:10
mvaGraeme_Grant19-Aug-23 15:10 
QuestionKindly help me i tried to do it for 3 days but i could not solve it. Pin
Hillymalen26-Jul-23 20:18
Hillymalen26-Jul-23 20:18 
AnswerRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
OriginalGriff26-Jul-23 20:26
mveOriginalGriff26-Jul-23 20:26 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
Hillymalen26-Jul-23 20:55
Hillymalen26-Jul-23 20:55 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
OriginalGriff26-Jul-23 21:40
mveOriginalGriff26-Jul-23 21:40 
GeneralRe: Kindly help me i tried to do it for 3 days but i could not solve it. Pin
Hillymalen26-Jul-23 22:00
Hillymalen26-Jul-23 22:00 
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!

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.