Click here to Skip to main content
Page 1 of 5
Page Size: 10 · 25 · 50


Author filtered by: Tharaka MTR [x]
My Vote 5 by Tharaka MTR
Forum Message 12 May 2013  
Nice !! Tharaka Ragith Kumara Eyepax IT Consulting (Pvt) Ltd. Visit my blog
Answer 23 Apr 2013   license: CPOL
http://msdn.microsoft.com/en-u...
SQL SERVER 2008 R2 by Tharaka MTR
Answer 23 Apr 2013   license: CPOL
No, you can't have two identity columns.
Re: My vote of 5 by Tharaka MTR
Forum Message 18 Apr 2013  
Thanks for the v5. Tharaka Ragith Kumara Eyepax IT Consulting (Pvt) Ltd. Visit my blog
Answer 12 Mar 2013   license: CPOL
Check following URLhttp://qrcodenet.codeplex.com/[^]Just launched new open source project QrCode.Net at http://qrcodenet.codeplex.com[^]
Answer 10 Mar 2013   license: CPOL
check thishttp://stackoverflow.com/questions/4116416/parent-child-in-same-table[^]http://stackoverflow.com/questions/2763860/how-to-query-with-child-relations-to-same-table-and-order-this-correctly[^]
Answer 8 Mar 2013   license: CPOL
Check thishttp://stackoverflow.com/questions/13984925/self-closing-tags-in-xml-in-sql-server[^]
Answer 7 Mar 2013   license: CPOL
Check your no. of fields and no. of values. Both fields and values should be equal.
Answer 7 Mar 2013   license: CPOL
When printing the page, first hide the unwanted columns then call the print() function and then show previously hide columnsHide grid view column using...
Answer 5 Mar 2013   license: CPOL
for this I recommend you to use the CROSSTAB query. In SQL PIVOT table.http://blogs.msdn.com/b/spike/archive/2009/03/03/pivot-tables-in-sql-server-a-simple-sample.aspx[^]http://msdn.microsoft.com/en-us/library/ms177410(v=sql.105).aspx[^]try your self. If you have any question feel free...
Answer 5 Mar 2013   license: CPOL
you have to use the Ajax control.and put your label inside that.please check the following as a guidehttp://www.c-sharpcorner.com/UploadFile/364074/timercontrol-with-updatepanel-in-ajax-using-Asp-Net/[^]
decimal string split by Tharaka MTR
Answer 5 Mar 2013   license: CPOL
you complete code seems wrong. It should modify as follows.Dim d As Double = 13.23Dim s As String = Convert.ToString(d)Dim strArray() As String = s.Split("."C)Dim beforeDecimalPoint As String = strArray(0)Dim afterDecimalPoint As String = strArray(1)
Answer 4 Mar 2013   license: CPOL
Basically, you have to use "ItemSource", "SelectedValuePath", "DisplayMemberPath" property with respective binding. SelectedValuePath="[your selected value path]" DisplayMemberPath="[your display member path]" />
Answer 4 Mar 2013   license: CPOL
Check my article, you will get the idea how to do that your self.Generating and splitting a delimited string column[^]If you have any question feel free to ask
SQL
Answer 4 Mar 2013   license: CPOL
Please check followinghttp://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/0da08501-4655-4012-ad0e-60a81ebf55e8[^]
Forum Message 4 Mar 2013  
seems you are true.. but still the same issue there... :( Tharaka Ragith Kumara Eyepax IT Consulting (Pvt) Ltd.
Forum Message 2 Mar 2013  
Most of the time when I click Quick Answer -> All Unanswered It displays a message "Sorry No Entries were found" I tried Quick Answer -> All Questions But same message displayed most of the
Answer 24 Feb 2013   license: CPOL
Im agreed with ryanb31 answer. First you have to enable the session in your web service.you can do that by adding following line to your web service[WebMethod(EnableSession =...
[c#] Print specific page by Tharaka MTR
Answer 24 Feb 2013   license: CPOL
Check the following articlehttp://www.c-sharpcorner.com/UploadFile/dbeniwal321/printing-multiple-pages-in-C-Sharp/[^]http://www.dreamincode.net/forums/topic/44330-printing-in-c%23/[^]
Answer 23 Feb 2013   license: CPOL
you can use regular expression for this.try followingusing System.IO;using System.Text.RegularExpressions;private void ProcessSubTitleFile(string pathToFile){Regex regex = new...
Sql connection security by Tharaka MTR
Answer 23 Feb 2013   license: CPOL
you can encrypt your connection stringCheck followinghttp://msdn.microsoft.com/en-us/library/89211k9b(v=vs.80).aspx[^]Encrypting the app.config File for Windows Forms Applications[^]
Answer 22 Feb 2013   license: CPOL
It is automatically maintained. your question is not clear.do you want to add individual data to session? or do you want to store authentication information in session?check these articleExploring Session in...
kill session asp.net by Tharaka MTR
Answer 22 Feb 2013   license: CPOL
check thishttp://stackoverflow.com/questions/6695693/auto-logout-on-disconnect[^]
Answer 22 Feb 2013   license: CPOL
check this http://stackoverflow.com/questions/4744105/parse-and-execute-js-by-c-sharp[^]
C#
Answer 22 Feb 2013   license: CPOL
http://blog.bartwolff.com/post/2012/06/19/Running-with-elevated-privileges-from-C.aspx[^]http://jpassing.com/2007/12/08/launch-elevated-processes-from-the-command-line/[^]
C#
Answer 22 Feb 2013   license: CPOL
private string HexString2Ascii(string hexString){StringBuilder sb = new StringBuilder();for (int i = 0; i
Answer 19 Feb 2013   license: CPOL
Please check the followinghttp://msdn.microsoft.com/en-us/library/ms775147.aspx[^]
Answer 19 Feb 2013   license: CPOL
Check followingshttp://stackoverflow.com/questions/11244752/resizing-compressing-and-smoothing-images-with-vb-net[^]http://msdn.microsoft.com/en-us/library/bb882583.aspx[^]
Answer 18 Feb 2013   license: CPOL
It definitely access static constructor. But only for first time when the "Employ" strut instance is created. if you trying to create new instance second time it will not access. A static constructor is used to initialize any static data, or to perform a particular action that needs performed...
C#
Answer 18 Feb 2013   license: CPOL
Have you tried anything?Please see below links. http://www.dotnetperls.com/combobox[^]http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.aspx[^]
C#
Technical Blog 17 Feb 2013   license: CPOL
Recently I have answered one of the SQL based question in the CodeProject. Thanks for the participant that question wake up me to write this blog post. Question: He has a table (tblLeave) with the data like below. And he wants to output the data as below Condition: If same type of leave taken contin
Answer 6 Feb 2013   license: CPOL
Suppose you table is MyXMLData and the column name is XmlDataColumnSELECT [XmlDataColumn].query('.//InstalledDate').value('.','VARCHAR(MAX)')FROM [MyXMLData]With regarding your comments, please check following querySELECT [XmlDataColumn].value('(//ID)[1]', 'VARCHAR(MAX)') AS ID,...
SQL Database Partitioning by Tharaka MTR
Answer 5 Feb 2013   license: CPOL
Check following URLs.1. SQL SERVER – 2005 – Database Table Partitioning Tutorial – How to Horizontal Partition Database Table[^].2. Partitioning[^].
Answer 5 Feb 2013   license: CPOL
My recommendation to use mask text box for your purposehttp://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MaskedEdit/MaskedEdit.aspx[^]and there is a JQuery plugin for thishttp://archive.plugins.jquery.com/project/numberformatter[^]and finally please check...
Answer 31 Jan 2013   license: CPOL
I think you can use ASP.NET Ajax enabled masterpage with two content panelPlease check following pages.http://www.asp.net/web-forms/tutorials/master-pages/master-pages-and-asp-net-ajax-cs[^]http://www.asp.net/ajax/documentation/live/tutorials/UsingUpdatePanelMasterPages.aspx[^]
Answer 30 Jan 2013   license: CPOL
you can pass the clientname as comma seperated string as follows'AA,BBB,CCC'split that as a table and use to the IN query.You can use following table function to split and create the table from your comma separated stringCREATE FUNCTION [dbo].[FT_CSVToTable] (@CSVList...
Answer 30 Jan 2013   license: CPOL
Pls refer following articles and slideshttp://www.slideshare.net/jthelin/interoperability-and-wcf-overview-presentation[^]http://msdn.microsoft.com/en-us/library/aa702565(v=vs.90).aspx[^]WCF Service with custom username password authentication[^]
C#
Answer 28 Jan 2013   license: CPOL
Check this article,http://blogs.msdn.com/b/swiss_dpe_team/archive/2008/01/25/using-your-own-defined-type-in-a-linq-query-expression.aspx[^]
Answer 28 Jan 2013   license: CPOL
See my article below, I have explained most of the possibilities.Generating and splitting a delimited string column[^]
Answer 28 Jan 2013   license: CPOL
You can't clear browser cache using Javscript But you can clear the application cache pragmatically.$('.button').click(function() { $.ajax({ url: "", context: document.body, success: function(s,x){ ...
Answer 27 Jan 2013   license: CPOL
Here are some article for Web Serviceshttp://www.west-wind.com/presentations/dotnetwebservices/DotNetWebServices.asp[^]http://www.w3schools.com/webservices/default.asp[^]I recommend you to check the WCF...
datetime formate problem by Tharaka MTR
Answer 27 Jan 2013   license: CPOL
Use DateTime.ParseExact Methodhttp://msdn.microsoft.com/en-us/library/w2sa9yss.aspx[^]
Answer 27 Jan 2013   license: CPOL
Check this articles you will get some ideaC# Code Reviews using StyleCop – Detailed Article[^]http://www.c-sharpcorner.com/UploadFile/dommym/a-real-code-review-in-C-Sharp/[^]http://weblogs.asp.net/tgraham/archive/2003/12/19/44763.aspx[^]
Technical Blog 26 Jan 2013   license: CPOL
Web service and script service.
Answer 26 Jan 2013   license: CPOL
Check this.SELECT LV_TYPE,LV_TYPE,MIN(FROM_DATE) AS FROM_DATE ,MAX(TO_DATE) AS TO_DATE, COUNT(LVALUEP) AS LVALUE FROM tblLeaveGROUP BY PAYCODE,LV_TYPEPlease try followingSELECT PAYCODE,LV_TYPE, MIN(FROM_DATE) AS FROM_DATE, MAX(FROM_DATE) AS TO_DATE, COUNT('A') AS...
Answer 26 Jan 2013   license: CPOL
It seems this issue occurred due to the conflict with two jquery file.There are several way to overcome this.One way is using jQuery.noConflict() method.http://api.jquery.com/jQuery.noConflict/[^]Also you avoid this by using the full jquery...
Answer 24 Jan 2013   license: CPOL
You can use PIVOT query,http://msdn.microsoft.com/en-us/library/ms177410(v=sql.100).aspx[^]try your self and get back to us if you need any more help
Answer 24 Jan 2013   license: CPOL
Check the answer in below forum, you can use this type of methodhttp://stackoverflow.com/questions/6571470/ms-access-2010-sql-query-help[^]http://www.fmsinc.com/tpapers/queries/crosstab.html[^]
C#
Answer 24 Jan 2013   license: CPOL
Please check following two forum and article,http://stackoverflow.com/questions/6571470/ms-access-2010-sql-query-help[^]http://www.fmsinc.com/tpapers/queries/crosstab.html[^]
C#
onblur in javascript by Tharaka MTR
Answer 23 Jan 2013   license: CPOL
Hi modify your javascript function as "Surname()" by removing the txt_ prefix.Problem here is, your text box and the java script function has same name.function SurName(){var x= document.getElementById("txt_SurName");x.value=x.value.toUpperCase(); }

Page 1 of 5
1 2 3 4 5


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid