9,869,444 members (35,612 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
107 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 3
Page Size:
10
·
25
·
50
Author filtered by: Dharmenrda Kumar Singh
[x]
Check for column and bind grid if exists or not
by
Dharmenrda Kumar Singh
Answer
3 May 2013
license:
CPOL
if (e.Row.RowType == DataControlRowType.DataRow) { System.Web.UI.WebControls.Label lblRoleNo = (System.Web.UI.WebControls.Label)e.Row.FindControl("lblRoleId"); System.Web.UI.WebControls.Label lblSupervisorName =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
ASP.Net-4.0
Check for column and bind grid if exists or not
by
Dharmenrda Kumar Singh
Question
2 May 2013
license:
CPOL
How to bind data to itemtemplate of gridview at RowDataBound event. I am using a gridview and below is the code for that grid view.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
ASP.Net-4.0
Bind gridview when column not exists in datatable but binding at itemtemplate
by
Dharmenrda Kumar Singh
Question
2 May 2013
license:
CPOL
I am having a dataset which i am pivoting and then binding to a grid view. It is working fine when all the itemtemplates value are present in the pivoted table but in case if any of the column is not present in the pivoted table, then at the time of binding the gridview , i am getting error ....
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
ASP.Net-4.0
ASP.Net-2.0
Looping each record of a table and inserting data into a temp table joining another temp table in SQL
by
Dharmenrda Kumar Singh
Question
29 Apr 2013
license:
CPOL
I have two temporary table #CoreUtilizationForRole1 and #RoleID2Details. I want to insert values into a third temp table using these two temp table. Below are the table Structure of both the Temp table.create table #CoreUtilizationForRole1(roleid int,SupervisorName...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
SQL2005
SQL
SQL-Server
SQL-Server
SQL2008
SQL2008R2
SQL Query for interchanging rows position as per some condition
by
Dharmenrda Kumar Singh
Question
29 Apr 2013
license:
CPOL
I am getting output for a report in SQL as mentioned below :-create table ReportCustom (RoleID int, Supervisor varchar(250),UserECode int, UserName varchar(250),TimeSpent float,Activityname varchar(250))goinsert into ReportCustom values(1,'Naveen Kumar Chitrapu',20201,'Uma Maheshwar...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
SQL2005
SQL
SQL-Server
SQL-Server
SQL2008
SQL2008R2
Sql Query to Drill down to a table to minimum level as per RoleID and Hierarchy Structure
by
Dharmenrda Kumar Singh
Answer
17 Jan 2013
license:
CPOL
with ProductionCTE(CalendarD...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
SQL2005
SQL
SQL-Server
SQL-Server
SQL2008
SqlDependency
Sql Query to Drill down to a table to minimum level as per RoleID and Hierarchy Structure
by
Dharmenrda Kumar Singh
Question
16 Jan 2013
license:
CPOL
We have a application where users are entering their time efforts .We have two tables, Production table for entering all production tasks and NonProduction for entering all non production related tasks in the application.We also have a UserInfo table where all the user information is stored like...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
SQL2005
SQL
SQL-Server
SQL-Server
SQL2008
SqlDependency
How to Store Cell[0] value in Session when user select a row in gridview.
by
Dharmenrda Kumar Singh
Answer
11 Oct 2012
license:
CPOL
protected void GVNatureOFWork_SelectedIndexChanged(object sender, EventArgs e) { int index = GVNatureOFWork.SelectedIndex; string natureofwrkid = GVNatureOFWork.DataKeys[index].Value.ToString(); Session["NOWID"] = natureofwrkid; ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Store Cell[0] value in Session when user select a row in gridview.
by
Dharmenrda Kumar Singh
Question
10 Oct 2012
license:
CPOL
How to Store SelectedRow.Cell[0] value in a session when CommandField is "Select" in a GridView. ? What the changes i will do in my code so that when a Select Command executes on my grid (By Clicking on Select Link of my grid), It will Store the NatureOfWorkID of that row in the session...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
ScriptManager.RegisterStartupS...
by
Dharmenrda Kumar Singh
Question
16 Sep 2012
license:
CPOL
How to executedocument.getElementById("").click();usingScriptManager.RegisterStartupScriptI am trying it like thisScriptManager.RegisterStartupScript(this.Page, Page.GetType(), "OpenModalDialog", "document.getElementById('
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Ajax
Display Password field as encryped in SQL Server
by
Dharmenrda Kumar Singh
Question
13 Sep 2012
license:
CPOL
I am having a table , TblUserLogin with field LoginID int ,Password varchar(50) , LoginUserName varchar(150), Designation varchar(100). My requirement is that , when ever we are using selectstatement to this table we are able to see the password which is entered (Which is a sensitive...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Hyperlink not getting enabled in master page without leaving the page.
by
Dharmenrda Kumar Singh
Question
27 Aug 2012
license:
CPOL
I had written code to Enable and disable hyperlinks on master page from the content page. Every thing is working fine and the hyperlinks are getting disabled also after calling the DisableHyperlinkInMasterPage Method. When i am calling the EnableHyperlinkInMasterPage method still the hyperlinks...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Call to javascript Function from code behind using ScriptManager.RegisterStartupScript
by
Dharmenrda Kumar Singh
Question
19 Aug 2012
license:
CPOL
I am using Ajax Toolkit on my content page . I have an Javascript Code which i want to call from the code behind using ScriptManager.RegisterStartupScript.The javaScript Code is :- function disp_confirm() { var r = jConfirm("Your Shift End ! Do...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
Radio button while editing a grid with datatype as bit in SQl Server.
by
Dharmenrda Kumar Singh
Question
15 Aug 2012
license:
CPOL
I am trying to create a editable grid in ASP.Net, In my SQL table, their is a column IsCountyEnabled(datatype bit) and this i want to show as True / False in my grid (After binding the grid i am able to see it as True / False in Active Column). When the user want to update the column it...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL
Add zero before single character hh:mm:ss in javascript clock
by
Dharmenrda Kumar Singh
Question
12 Aug 2012
license:
CPOL
function clock(){ var d = new Date(); var h = d.getHours(); var m = d.getMinutes(); var s = d.getSeconds(); $('#clock').html(", "+h+":"+m+":"+s); // ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Update label on MasterPage from content page without full Postback
by
Dharmenrda Kumar Singh
Question
3 Aug 2012
license:
CPOL
Does there exist a solution for this scenario?I had not used Script Manager on Masterpage as it is not required when i started developing the project so i have individual scriptmanager and Update panel for each content page .In the masterpage now i had added a label which Shows System...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Ajax
Query string not working inside grid view
by
Dharmenrda Kumar Singh
Question
30 Jul 2012
license:
CPOL
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Open new grid by clicking on a row of grid.
by
Dharmenrda Kumar Singh
Question
29 Jul 2012
license:
CPOL
Below you can find the code of my grid and every thing is working fine up to here. Now i want to add Click event on RegionProjectname so that when ever i click on the the Region project name row, the RegionProjectID of that column is stored in a session variable and a new grid will open based on...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
after adding script manager on master page getting -Only one instance of a ScriptManager can be added to the page.
by
Dharmenrda Kumar Singh
Question
19 Jul 2012
license:
CPOL
I am using ajax toolkit in my project. My project is having a master page and i am inheriting this master page in my web pages.I am using Script manager on every page but now requirement came to display a real time clock also on the master page.I had written the code using Timer to display real...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Fix- Only properly formatted script tags can be registered
by
Dharmenrda Kumar Singh
Question
19 Jul 2012
license:
CPOL
I am having a web page and i applied script manager on it. On the page load i am checking some condition and showing a Javascript ShowModalDialog from code and it is working fine.int isAnyNonProdTaskActive = _nonProduction.IsAnyTaskActive(UserIDFromDB); if (isAnyNonProdTaskActive >...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
Sort Dataset with DateTime as Column Datatype in C#.
by
Dharmenrda Kumar Singh
Question
18 Jul 2012
license:
CPOL
I am having a dataset (Dataset ds) and below you can find demo fields and data of it.Calendar DateUserIDVolume Processed07/19/201211:30AM4121207/18/201211:30PM412107/20/201201:30PM4128The Column datatype is ,Calendar date as DateTime,UserID as Int and Volume...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Get Total of a column from Dataset in Time Format(HH:MM) using C# without using Linq
by
Dharmenrda Kumar Singh
Question
18 Jul 2012
license:
CPOL
Is there a way to get total of a column from dataset without using Linq Query?CREATE procedure St_Proc_GetUserReportforCurrentDayTask @userID int as Begin set NoCount on; ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Get total in HH:MM format from the dataset
by
Dharmenrda Kumar Singh
Question
18 Jul 2012
license:
CPOL
CREATE procedure St_Proc_GetUserReportforCurrentDayTask @userID int as Begin set NoCount on; DECLARE @TODAY DATE SET...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Select statement to display Minutes in HH:MM Format
by
Dharmenrda Kumar Singh
Question
18 Jul 2012
license:
CPOL
I am having a table (Table Name -Production) in SQL Server.The Production table have a Column TimeSpent (Datatype- varchar(25)) and stores Number of minutes spent . Example 60,78,23 etc. I want to display TimeSpent in HH:MM Format in a select statement. for example it display 01:00 for 60, 01:18...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
SQl Query to calculate Total in HH:MM Format
by
Dharmenrda Kumar Singh
Answer
15 Jul 2012
license:
CPOL
Query worked for me, I had just updated my table and decreased the size of TimeSpent to Varchar(25) from varchar(60) and it is fixed.select CAST((SUM (datepart(hh, convert (varchar, timespent, 108))) +(sum(datepart(mi, convert (varchar, timespent, 108)))/60) ) AS VARCHAR(2))+ ':'...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
SQl Query to calculate Total in HH:MM Format
by
Dharmenrda Kumar Singh
Question
15 Jul 2012
license:
CPOL
I have a table(production) which is having a column with name TimeSpent, the datatype of this column is varchar and it stores data in HH:MM format example 10:23,14:59,11:00 etc.I want to write a query in sql which will sum this and give me a total in HH:MM Format only. I tried some thing like...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Restrict Asp:TextBox to not allow more than 6 character in it.
by
Dharmenrda Kumar Singh
Question
15 Jul 2012
license:
CPOL
Hi,I want to restrict the user that he cant enter more than 6 characters in a text box.As a user start entering in the text box and reach to the max limit and try entering 7th character, the text box will not allow him to do so and alert him that max size reached.How i achieve this?I had...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Fix- DataBinding: 'System.Data.DataRowView' does not contain a property with the name
by
Dharmenrda Kumar Singh
Question
13 Jul 2012
license:
CPOL
create procedure St_Proc_GetUserReportforCurrentDayTask @userID int as Begin set NoCount on; DECLARE @TODAY DATE SET @TODAY = CONVERT(VARCHAR(10),...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Regular Expression for Non decimal positive integer ranging between 0 to 999999
by
Dharmenrda Kumar Singh
Answer
12 Jul 2012
license:
CPOL
[1-9]\d{0,5}...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
regular-expression
Regular Expression for Non decimal positive integer ranging between 0 to 999999
by
Dharmenrda Kumar Singh
Question
12 Jul 2012
license:
CPOL
I need the regular expression which matches all positive non decimal integers only range from 0 to 999999. It will not accept any decimal, alphabets or any special character and range should be in between 0 to 999999.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
regular-expression
Javascript Clock(Timer) to start from the provided time span stored in hidden field.
by
Dharmenrda Kumar Singh
Answer
11 Jul 2012
license:
CPOL
Changed the Code and I used below code to fulfill my requirements.Hope this will help to those who have similar requirements:- ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Javascript Error after using Script Manager- : The message received from the server could not be parsed
by
Dharmenrda Kumar Singh
Answer
11 Jul 2012
license:
CPOL
I Had Used:-ScriptManager.RegisterStartupScript(Page, GetType(), "CLOSE", "window.close();", true);in Place ofResponse.Write("window.close();"); Response.End()and this helps me to fix the error.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Javascript Error after using Script Manager- : The message received from the server could not be parsed
by
Dharmenrda Kumar Singh
Question
11 Jul 2012
license:
CPOL
I am opening a ShowModalDialog on a button OnClientClick event and the javascript for it is:- function openmodalWinLunch() { var variable1 = "Lunch"; window.showModalDialog("ClockPopUP.aspx?code=" +...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Get value from hidden field of ASP.Net in Javascript.
by
Dharmenrda Kumar Singh
Question
10 Jul 2012
license:
CPOL
How to get value from a hidden field from javascript.I m using the below code to do this but getting error:-var digiclock = document.getElementById("").value;I m getting this error message : Unable to get value of the property 'value': object is null or...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
open ShowModalDialog of Javascript from asp.net code behind
by
Dharmenrda Kumar Singh
Answer
10 Jul 2012
license:
CPOL
I used the below line to open ShowModalDialog of javascript from asp.net code behind.Page page = HttpContext.Current.CurrentHandler as Page; ScriptManager.RegisterStartupScript(page, page.GetType(), "OpenModalDialog", "
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
ShowModalDialog of javascript is not closing from ASP Code behind and opening a new pop up of same page
by
Dharmenrda Kumar Singh
Answer
10 Jul 2012
license:
CPOL
I had added to the head section of the clock.aspx page and then it works fine for me.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
ShowModalDialog of javascript is not closing from ASP Code behind and opening a new pop up of same page
by
Dharmenrda Kumar Singh
Question
10 Jul 2012
license:
CPOL
i m opening an Webpage(Clock.aspx) from window.showModalDialog of javascript.In the Clock.aspx i have a button and i want that when the user click on that button the Clock.aspx page will be closed. I dont want to use onClientClick() method of javascript as some server side database insertion is...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
Javascript Clock(Timer) to start from the provided time span stored in hidden field.
by
Dharmenrda Kumar Singh
Question
10 Jul 2012
license:
CPOL
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
open ShowModalDialog of Javascript from asp.net code behind
by
Dharmenrda Kumar Singh
Question
10 Jul 2012
license:
CPOL
How to open ShowModalDialog of Javascript from asp.net code behind (C#).
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
Error message- Type 'Button' must be placed inside a form tag with runat=server in master page.
by
Dharmenrda Kumar Singh
Question
2 Jul 2012
license:
CPOL
i m not able to add button on my master page:-Employee Quotient
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
web controls are not recognizing in the respective codebehind class
by
Dharmenrda Kumar Singh
Question
28 Jun 2012
license:
CPOL
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Sys.WebForms.PageRequestManage...
by
Dharmenrda Kumar Singh
Question
26 Jun 2012
license:
CPOL
I have a grid view on my page and i want to export it to the Excel Sheet, Below is the code i had written to do this task, here i am already passing the dataset to the method to bind the grid and btnExcelExport is the button which will export the Grid Content in to Excel Sheet :-private void...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Only Date Part comparison with System Date in SQL Server
by
Dharmenrda Kumar Singh
Answer
26 Jun 2012
license:
CPOL
alter procedure St_Proc_GetTimeEntryID @userID int, @timeEntryID int output as begin set nocount on; SET @timeEntryID=0 DECLARE @TEMP INT SET @TEMP=0 SELECT @TEMP=ProductionTimeEntryID FROM ...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Only Date Part comparison with System Date in SQL Server
by
Dharmenrda Kumar Singh
Question
26 Jun 2012
license:
CPOL
I have a stored procedure :-CREATE procedure St_Proc_GetTimeEntryID @userID int, @timeEntryID int output as begin set nocount on; SET @timeEntryID=0 DECLARE @TEMP INT SET @TEMP=0 SELECT...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
TextChanged event not firing for text box, when the text is changed from javascript
by
Dharmenrda Kumar Singh
Answer
25 Jun 2012
license:
CPOL
I had fixed it as i the text box is inside an ajax update panel and that's why the event is not firing.I had added a trigger in the update panel for that text box and it worked fine.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
TextChanged event not firing for text box, when the text is changed from javascript
by
Dharmenrda Kumar Singh
Question
25 Jun 2012
license:
CPOL
I have a text box which i m filling of date from the calendar extendar and the code is as below:-Date
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
HH:MM Format in SQL Server
by
Dharmenrda Kumar Singh
Question
22 Jun 2012
license:
CPOL
I m using a stored procedure and there i m having a column Name timespent which i want to show like HH:MM format only, the procedure is working fine but the only problem is that currently the time spent is coming as hh:mm:ss format. Guide me how i ll get time spent in HH:MM format and correct my...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Issue while Retrieving DateTime from session and calculating TimeSpan in ASP.Net using c#.
by
Dharmenrda Kumar Singh
Question
22 Jun 2012
license:
CPOL
I am storing Datetime in a session as mentioned below:-Session["LoggedInTime"] = System.DateTime.Now;Then i m retrieving this value on a page load like this:-DateTime _loggedInTime = Convert.ToDateTime(Session["LoggedInTime"]);I debug the above code code and find that up to here the...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Remove second from timestamp in Sql Server
by
Dharmenrda Kumar Singh
Question
21 Jun 2012
license:
CPOL
I m storing datetime from a calendar extendar and storing it in the database.The Format of the datetime is Format="dddd, MMMM dd, yyyy". Then i m displaying this Datetime with other field in a grid view and naming this field as 'CalendarDate'. Currently the CalendarDate in the grid is displaying...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL-Server
HH:MM:SS:Msec to HH:MM:SS in stored procedure
by
Dharmenrda Kumar Singh
Question
19 Jun 2012
license:
CPOL
I have a stored procedure which update a table based on such calculation and the calculation is done as Column Name (Calendatedate) -( Current System Date Time) and update this information to a column (TimeSpent) and display the value in Hh:Mm:SS:Msec Format. The Query is working fine but i want...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid