16,012,173 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 .NET 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 PTG.Jake (Top 18 by date)
PTG.Jake
26-Feb-16 13:00pm
View
so..like this?
Dim GridView4 As GridView = CType(FindControl("GridView3").FindControl("GridView4"), GridView)
For Each row As GridViewRow In GridView4.Rows
Dim CheckBox11 As CheckBox = CType(row.FindControl("CheckBox1"), CheckBox)
Dim Label100 As Label = CType(row.FindControl("Label100"), Label)
Dim Label101 As Label = CType(row.FindControl("Label101"), Label)
Dim Label102 As Label = CType(row.FindControl("Label102"), Label)
If CheckBox11.Checked = True Then
cval2 = ""
Else
End If
Next
PTG.Jake
29-Dec-14 16:40pm
View
Deleted
Is this rowdatabound event?
I'd rather use a label and set it visible to false.
<asp:label ID="lblGenderid" runat="server" Value='<%# Eval("Gender_Id") %>' visible="false" />
then:
Dim lbl as Label = TryCast(e.row.FindControl("lblGenderid"), label)
PTG.Jake
28-Nov-14 13:12pm
View
great yes I used the example from jsfiddle, but I guess I was obtaining the ID incorrectly
PTG.Jake
31-Oct-14 8:51am
View
Sample records before update:
tnumid, tnum, tnumstatus
1, 1000, ready
2, 1001, ready
table after update:
tnumid, tnum, tnumstatus
1, 1000, Hold
2, 1001, Hold
instead of stopping on the first value for tnumstatus and updating it then exiting the while, it updates the first value and second value...
Yes ATjong TNumID is primary key
I should also mention this is happening in a private sub dothis()
If Not IsPostBack Then
dothis()
Else
End If
PTG.Jake
29-Oct-14 23:49pm
View
I have debugged and found everything is fine until the update statement. I just don't know why it's updating 2 rows instead of the 1????
PTG.Jake
10-Sep-13 16:29pm
View
Lijo Rajan: It would be ok if that was the only record selected and showing at all in gridview 2.
PTG.Jake
28-Dec-12 14:45pm
View
Ok since this is going nowhere. lets say i do this:
dim d as date
d = date.today
insert into table (duedate) values('" & d.addmonths(1.0).day5 of new month
HOW do i add one month to todays date but select the day i want, not just addmonth?
PTG.Jake
28-Dec-12 13:28pm
View
i have a DDL of 1-28 for the day due of the month, if i choose 1 for day due, i want to insert a row into my table with the startdate(basically a timestamp) the next row will insert the startdate + 1 month but instead of adding 30 days for the +1month, i want it to insert the next month after the start date with 01 being the day due. Not just add 30 days, i want to actually tell it what day to insert for that month.
PTG.Jake
25-Dec-12 10:39am
View
Is there a particular reason you are going back and forth between 2010 and 2008? Which platform are you developing under? I use 2010 myself, and am not familiar with 2008 and what changes there are between the 2.
PTG.Jake
24-Dec-12 22:06pm
View
It looks like you have the checked state = false. If I am not mistaken, a checkbox is always unchecked by default. Try removing the "checked="false" and see if that will allow you to check it then... Though I almost never use checkboxes, so don't hold me to it.
PTG.Jake
24-Dec-12 12:32pm
View
Thanks Dino your second link helped me alot. I was stuck on trying to use a "do while". problem solved.
PTG.Jake
20-Dec-12 13:15pm
View
I am doing this on button click
PTG.Jake
27-Nov-12 15:27pm
View
Nolensville, this is what i ended up doing to get this to work. I just havent had time to get back to post my answer here.
PTG.Jake
27-Nov-12 11:48am
View
Marcus, I tried what you suggested, but it does not work.
below works perfect:
calendar2.SelectedDate = calendar1.SelectedDate
but it only duplicates what calendar1's selected date is. There has to be a way to get this to work, just havent figured it out yet.
PTG.Jake
13-Nov-12 11:19am
View
I moved my code to prerender after i posted this, but i get the same results. when i load the page, "nothing happens" as in i get no error at all, but the label has no data in it.
PTG.Jake
19-Oct-12 8:28am
View
The checkbox on the grid is in a template field, and the 2 columns are bound fields.
PTG.Jake
17-Oct-12 15:49pm
View
Marcus, I tried that, but it still enters into the table encoded text.
PTG.Jake
17-Oct-12 9:40am
View
my code is on formview iteminserting
Show More