15,903,030 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12505620 (Top 26 by date)
Member 12505620
14-Feb-24 4:50am
View
It is not the thing I want.
Member 12505620
18-Jan-24 11:51am
View
Thanks for your intrest, M. imran Ansari. It pulls data twice with these codes. In the first line, it draws all the courses at the same time. The next lines work correctly. If we destroy all the classes in the first row, there will be no problem.
Member 12505620
2-Nov-23 13:37pm
View
Could you help me to solve the problem please? I am new at c#. I don't know how to solve.
Member 12505620
28-Oct-23 16:53pm
View
Thanks Mohammed Imran Ansari. It works fine.
Member 12505620
7-Oct-23 4:26am
View
I know the reason but I couldn't solve the problem. How can we do it?
Member 12505620
19-Aug-23 3:40am
View
There is no debug problem. It woks fine. Only it is not working after setup.
Member 12505620
18-Aug-23 4:01am
View
Yes, I know the reason. But I do not know the solution.
Member 12505620
18-Aug-23 1:36am
View
Sorry I added the error.
Member 12505620
18-Aug-23 1:36am
View
I am running it on visiual studio. It is working very well there. But it is not working after setup.
Member 12505620
12-Aug-23 17:22pm
View
It means that I want to set the progressbar speed at the rate of the amount of data that will be saved into the database. For example If I check five checkboxes that will be saved into the database, the save speed should be faster than fifteen datas that will be saved. So the recording speed should be proportional to the number of data.
Member 12505620
4-Aug-23 4:10am
View
Thanks for your intrest Eldon.
Member 12505620
4-Aug-23 1:39am
View
I mean it takes a long time to save. It saves multiple lines each time. I know this will take a long time. However, that is a very long time. My progress bar is also not displayed when I click the button.
Member 12505620
4-Aug-23 0:09am
View
Deleted
Thanks for your intrest Eldon. When I tried your corrected code, it saved all of the checked and unchecked rows without giving message ("Geziye katilacak ögrenci seçmediniz!");
Member 12505620
3-Aug-23 23:49pm
View
Thnaks for your intrest Eldon.
Member 12505620
30-Jul-23 9:48am
View
Thanks. The problem was solved with the following codes.
if (dataGridView1.CurrentCell.ColumnIndex.Equals(1) && e.RowIndex != -1)
{
object value = dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
if (value != null && value.ToString() != string.Empty)
{
if (Convert.ToBoolean(dataGridView1.Rows[e.RowIndex].Cells[0].Value) == false)
{
MessageBox.Show("Geziye katılmayan kişiyi kafile başkanı olarak seçmeye çalılmaktasınız.Öncelikle geziye katılacak kişi seçiniz.");
dataGridView1.Rows[e.RowIndex].Cells[1].ReadOnly = true;
}
else
{
dataGridView1.Rows[e.RowIndex].Cells[1].ReadOnly = false;
}
}
}
Member 12505620
28-Jul-23 12:51pm
View
Thanks a lot for your interest Andre Oosthuizen. It works perfectly.
Member 12505620
27-Jul-23 16:17pm
View
Is there another way of to validate the combobox selection when I click the button?
The thing I want to do:
1-) If one of “Yes” options is not chosen, I want it to give this warning “You haven’t chosen one any Yes option. You have to choose one of the Yes options.”
2-) If someone chooses more than one Yes option, I want it to give this message “You have chosen more than one Yes option. You can choose only one Yes option.”
Member 12505620
18-Jun-23 15:31pm
View
There is no error. It reads only one row. I want it to read all of the rows.
Member 12505620
5-Jun-23 7:16am
View
Is it possible to clear the checked values when I unchecked the header checkbox?
Member 12505620
25-Sep-21 8:55am
View
This code doesn't work.
Member 12505620
4-Jun-20 10:01am
View
When I tried this code, a blank page appeared. I think as toplam doesn't work.
(select s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 AS TOPLAM from students)
Member 12505620
4-Jun-20 5:11am
View
I tried omitting where but then it is collecting the each row again with row above at each time.
sql = sql & "s" & x & " + "
For example : 1st line result : 1+0+0+0+0+3+0+0+0+0+0+0
2nd line result : 1+0+0+0+0+3+0+0+0+0+0+00+0+0+3+0+2+1+0+0+0+0+1
3rd line result :1+0+0+0+0+3+0+0+0+0+0+00+0+0+3+0+2+1+0+0+0+0+10+0+0+0+0+0+0+0+0+0+0+0
etc.
Member 12505620
3-Jun-20 18:10pm
View
Hello Maciej Los;
Firstly, thanks for your concern.Your code is running correctly fo only one single line but I have a datatable and I want to have it calculated each row seperately. How can I modify this line
sql = sql & "s" & x & " + "
for each row?
Member 12505620
31-May-20 9:36am
View
Deleted
Hello Maciej Los;
Firstly, thanks for your concern. I have a query before this codes and it is a datatable. I want to have it calculated each row seperately. This code line is calculating (sql = sql & "s" & x & " + ") the line before again and again each time.
I am using this codes. <%lastnumber=13%>
<%for x=1 to (lastnumber-1)%>
<% Next%>
<% dim a,b
a=objRec("s"&x&"")
b=objRec("s"&lastnumber&"")
%>
<%=a+b%>
But this code (a=objRec("s"&x&"")) doesn't work. Because it doesn't give the columns from s1 to s12. It gives the last column (s12). What is the resaon in your opinion?
Member 12505620
29-May-20 17:36pm
View
Deleted
I am very close to the result. But the loop doesn't work correctly. Where am I making a mistake? Would you help me in loop query? My codes are below.
<%lastnumber=13%>
<%for x=1 to (lastnumber-1)%>
<% Next%>
<% dim a,b
a=objRec("s"&x&"")
b=objRec("s"&lastnumber&"")
%>
<%=a+b%>
a=objRec("s"&x&"") this line doesn't work. It must be from s1 to s12. But ıt gives only s12.
Member 12505620
28-May-20 14:28pm
View
Deleted
Hello Maciej Los;
Thanks for your concern. I tried your code. The result seems like that. 1 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 4
It must be like that <%=1+0+0+0+0+3+0+0+0+0+0+0+4%> and the code you write doesn't give the result 8.
Show More