Click here to Skip to main content
15,891,033 members

Videos


Page 2 of 1,135
1 2 3 4 5 6 7 8 9 10


21. I cannot insert data to database using localhost xampp through PHP
In SQL queries strings and dates need quotes. To avoid that (as well as other risks) it is recommended to use what is known as "parameterized queries". Let google explain further... :)
Luc Pattyn Updated: 18 Apr 2022
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
22. Not updating status with 1
Assuming your id field is numeric: SQL isn't HTML numeric literals don't take quotes. PS: you wouldn't have ran into this problem if you had used a parameterized query!
Luc Pattyn Updated: 18 Apr 2022
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
23. Calculate runtime on n log(n) big O notation?
the big O notation only tells you how the execution time will change when the "size" of the problem is changed, it does not provide an actual estimate for a specific case. In other words, there is an unknown factor, so for example O(n2) could...
General Programming » Algorithms »
Luc Pattyn Updated: 11 Apr 2022
Rating: ( (No votes))
24. How do I call this getpagecount method in my program?
How about replacing string[] linesOfData = new string[File.ReadAllLines(filePath).Length]; by string[] linesOfData = File.ReadAllLines(filePath); ? The former reads everything without storing it at all, counts the lines, and creates an array...
Luc Pattyn Updated: 10 Apr 2022
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
25. Why aren't my inputs diplays to my listbox in C#?
button1_Click never ends, your GUI thread remains busy since for (int monthsCounter = 1; mounthsCounter
Luc Pattyn Updated: 8 Apr 2022
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
26. I am getting "datagridview.textboxcell" msg when I want to show grid view record in textbox
Quote: TxtCategoryName.Text = DgvCategory.Rows[e.RowIndex].Cells[1].ToString(); When this shows a Type such as DataGridViewTextBoxCell rather than the contents you hope to get, it means you did something wrong. As it is a TextBoxCell, you...
Programming Languages » C# 6.0 »
Luc Pattyn Updated: 26 Mar 2022
Rating: ( (No votes))

Page 2 of 1,135
1 2 3 4 5 6 7 8 9 10