15,896,118 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 12926744 (Top 39 by date)
Member 12926744
16-Oct-23 5:11am
View
I have updated my code , as 'lblcempath' is not actually required and CEMDrawSignpath is the byte64 encoded image as it is taking from database.
Member 12926744
18-May-23 4:17am
View
Thank you Richard for the solution . I have tried it and its working .
Member 12926744
16-May-23 6:00am
View
Thank you so much .
Member 12926744
16-May-23 5:59am
View
Thank you will try that way too .
Member 12926744
24-Feb-23 5:40am
View
Thank you, its working
Member 12926744
4-Nov-19 5:10am
View
Tried everything on google but nothing could solve the problem .
Member 12926744
4-Nov-19 5:09am
View
I tried changing to X64 , x86 ,Any Cpu.But nothing helps .
Member 12926744
1-Sep-18 9:00am
View
how to check it with current time as I am stuck there
Member 12926744
1-Sep-18 8:12am
View
No I need to select all hrs in a day between 12:00 Am to 12:00 PM . such as
12:00 AM ,1:00 AM,2:00 AM......12:00 PM .
I am getting these in the following query "select distinct CONVERT(varchar(15),CAST( dateadd(hour,number-1,'01-jan-2017' ) AS TIME),100) as slots from master..spt_values where number>=1 and number<=24"
But the problem is that ,for example if the current time is 3:00 pM , I need only those times between 3:00 pm and 12 :00 pm and so on.
Member 12926744
15-Aug-18 1:00am
View
no
Member 12926744
14-Aug-18 2:59am
View
Its's an integer value.
Member 12926744
24-Jul-18 7:55am
View
Thank you very much for your answer . How to select it based on date ie suppose there is a date field in scheduling table and I need to get the free time slots based on that date.
Member 12926744
24-Jul-18 6:52am
View
select e.emp, ts.*
from employee e cross join
timeslots ts left join
scheduling s
on s.emp = e.emp and s.timeslot_id = ts.timeslot_id
where s.emp is null;
This is what I have tried .I am stuck in filtering out the time slots .
Member 12926744
24-Jul-18 6:28am
View
Time columns is stored as two time columns
Member 12926744
4-Jul-18 3:54am
View
select distinct CONVERT(varchar(15),CAST( dateadd(minute,30 * (number-1),'01-jan-2017' ) AS TIME),100) as slots from master..spt_values where number>1 and number<=50 order by slots
Thank you I got the answer . Thank you very much for your help.
Member 12926744
4-Jul-18 3:52am
View
Thank you very much for your answer but this will give it in 24 hr format.I want it as 12 hr format with am and pm . Any help will be really appreciated.
Member 12926744
22-May-18 10:13am
View
Sorry that was my mistake...actually date column should be less than the current date.Even if I changed to less than, still it is not working .It is hiding all the buttons in all rows.
Member 12926744
22-May-18 9:41am
View
No...they all are in the same column
Member 12926744
19-Jan-18 23:28pm
View
I am using google chrome
Member 12926744
29-Dec-17 2:43am
View
Thank you very much.It worked.
Member 12926744
29-Dec-17 2:37am
View
The value of IN028_01 be like 'REF123434556'
Member 12926744
29-Dec-17 2:14am
View
<asp:BoundField DataField="IN028_01" HeaderText="Cl Ref.No"
ItemStyle-HorizontalAlign="Center" ItemStyle-Width="70px"
SortExpression="IN028_01" NullDisplayText="-" >
<ItemStyle HorizontalAlign="Center" Width="70px" />
Member 12926744
29-Dec-17 2:11am
View
Its a datafield value of gridview.
Member 12926744
29-Dec-17 1:03am
View
Still its not working.Is there any problem with my javascript.The value is not passing to the script.
Member 12926744
27-Nov-17 6:26am
View
How can we save it to a specific folder in server .
Member 12926744
22-Nov-17 6:34am
View
Thank you.It worked.One more thing how to eliminate the extra white spaces before the word hundred because after removing the word there are three white spaces after Thousand.
Member 12926744
22-Nov-17 4:50am
View
However I am getting an error 'too many arguments' while giving this code.
Member 12926744
16-Nov-17 0:15am
View
Thank you very much.It worked.
Member 12926744
15-Nov-17 23:41pm
View
Thank you very much .It worked.Its opening in new tab.But I need to open it in new window.Can you please help me.I am new to javascript.
Member 12926744
15-Nov-17 22:56pm
View
Product.aspx?cid=[object%20HTMLInputElement]chdate=%20[object%20HTMLInputElement]%20&%20pname=%20[object%20HTMLInputElement],%20null,scrollbars=yes,top=10,left=10
The values is passed like this .ie I think the variables are not getting textbox values.
Member 12926744
15-Nov-17 22:42pm
View
While doing it I am getting an error "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."Can you please help me
Member 12926744
10-Nov-17 6:13am
View
Thank you very much.Got the answer
<asp:Button runat="server" ID="btn" OnClientClick='<%# string.Format("window.open(\"add.aspx?cid={0}¶m2=\" + document.getElementById(\"{1}\").value, null,\"scrollbars=yes,top=10,left=10\", \"true\");", Eval("psid"), Form.FindControl("txt_chqdate").ClientID) %>' />
Member 12926744
10-Nov-17 6:11am
View
Well got the answer.
<asp:Button runat="server" ID="btn" OnClientClick='<%# string.Format("window.open(\"add.aspx?cid={0}¶m2=\" + document.getElementById(\"{1}\").value, null,\"scrollbars=yes,top=10,left=10\", \"true\");", Eval("psid"), Form.FindControl("txt_chqdate").ClientID) %>' />
Thank you very much for your help.
Member 12926744
10-Nov-17 5:47am
View
OnClientClick attribute is on an imagebutton.
<asp:templatefield>
<itemtemplate>
<asp:ImageButton ID="ibut_Print" runat="server" target="_blank" OnClientClick='<%# Eval("psid", "window.open(\"add.aspx?cid={0}\", null,\"scrollbars=yes,top=10,left=10\", \"true\");") %>'
AlternateText="View" CssClass="btn5" ForeColor="White" ToolTip="Print Invoice" />
<ItemStyle HorizontalAlign="Center" Width="15px" />
Member 12926744
10-Nov-17 5:37am
View
<asp:TextBox ID="txt_chq" CssClass="txtch" Width="250px" runat="server">
This is my textbox field to be passed.
However I am getting an error 'does not contain a definition for FindControl " in the above code.Could you please help me.
Member 12926744
10-Nov-17 5:30am
View
Thanks for your reply.Can we pass a textbox value as parameter.If so ,could you please tell me how.Since I couldn't find an appropriate way though.
Member 12926744
23-Oct-17 9:13am
View
The file is downloaded on a button click.
Member 12926744
21-Jul-17 2:59am
View
Thank you very much for the information .Since I'm new to C# I don't know about it.
Member 12926744
21-Jul-17 2:58am
View
Thank you very much for the information .Since I'm new to C# I don't know about it.
Show More