tag:blogger.com,1999:blog-52778051367596819672024-03-06T01:55:34.817+05:30Innovations at WorkTalk about what you knowJesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-5277805136759681967.post-27331558994819129912012-01-30T16:21:00.004+05:302012-01-30T16:28:48.196+05:30Debugging webpartIt was very helpful in knowing how to fix the breakpoint and debug the code for custom written webpart during a sharepoint pageload event.1. Browse the sharepoint site.2. Use Debug -> Attach to process from the webpart which is kept open in .net env. Choose the w3wp process from the list.3. When the page which uses the webpart is loaded, we can see the breakpoint hit.Note, To spot the actual kirukkalhttp://www.blogger.com/profile/16086035930096942523noreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-80708027160564041342012-01-30T15:19:00.004+05:302012-01-30T16:20:53.745+05:30Custom Webpart in sp2010Creating and hosting webpart in sp2010I recently had a chance to edit an existing custom written webpart and host it in sp2010. It was like we already had an usercontrol in place. Entire functionality was developed inside the usercontrol and it was loaded inside the webpart.Add a safecontrol entry to the web.config likeLater it was built. The dll from the debug folder is copied and pasted to the kirukkalhttp://www.blogger.com/profile/16086035930096942523noreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-12646145771096318202012-01-30T12:19:00.014+05:302012-01-30T15:19:43.117+05:30Webservice - Creating and hostingI had a requirement to write a webservice in windows server 2008 with IIS 7. So this is just a summary of the things we did and the troubles we came across,Step - 1 : Writing the code behindDBService.asmx.cs[WebMethod]public DataSet getOrderDetails(string OrderNumber){OracleConnection con = null;OracleCommand cmd = null;string query= String.Empty;query = "Select * from table_name where kirukkalhttp://www.blogger.com/profile/16086035930096942523noreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-59598394154283558752007-09-14T16:20:00.000+05:302007-09-14T16:50:14.424+05:30Tree View in DropdownlistWe all are very much aware of the DropDownList(a server control available in asp .net), the way it functions and the way the data are listed in it.eg ., State1 City1.1 City1.2 City1.3 State12 City2.1 City2.2 City2.3There is another server control available which is < asp:<?xml:namespace prefix = asp />TreeView > which gets rendered something like thiseg.,I was wondering whether it is kirukkalhttp://www.blogger.com/profile/16086035930096942523noreply@blogger.com2tag:blogger.com,1999:blog-5277805136759681967.post-84230436394443602592007-09-13T18:28:00.000+05:302007-09-13T18:41:00.383+05:30DateTime format in Sql ServerSQL Server provides a number of options you can use to format a date/time string. One of the first considerations is the actual date/time needed. The most common is the current date/time using getdate(). This provides the current date and time according to the server providing the date and time. If a universal date/time is needed, then getutcdate() should be used. To change the format of the dateUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-33681408194055662732007-09-13T16:47:00.000+05:302007-09-13T16:52:34.274+05:30How to debug stored procedures in Visual Studio .NETThis step-by-step article explains two ways that you can debug SQL Server stored procedures and the necessary configuration settings and steps for each approach. A Visual Studio .NET developer can use the Server Explorer to debug SQL Server stored procedures independently of any Visual Studio project, or the developer can step into the code of the stored procedure directly from managed code in a Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-5277805136759681967.post-29589560929030913862007-07-05T14:50:00.001+05:302007-07-05T15:04:29.054+05:30object.toString();&nbsp;&nbsp;&nbsp; For people who dont know ,the toString() is one of the methods that are available for all objects in java .Have you ever used this function??If yes for what you have used this function??Hmmm Where did i use this function??&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; In date functions to convert date into string ,when you want to assign an object to Jesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-86156099846804479632007-06-19T12:41:00.000+05:302007-06-19T12:45:14.331+05:30My first article is publishedHi friends,One of my article about struts and AJAX has been published in the following website .http://struts.javabeat.net/articles/2007/06/ajax-support-in-struts-2-0/This is the first article of mine being published.Jesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.com1tag:blogger.com,1999:blog-5277805136759681967.post-74087979127423548062007-06-09T07:18:00.000+05:302007-06-11T09:27:14.098+05:30Find an element in Array ( .NET )Most of us will often need to find an element in an array. In C or C++, we can do this by using the FOR loops. In .NET 2.0, we have a build-in method, which is very simple and powerful too. It is similar to ArrayList’s Contains method. The following code snippet will show this.Private Function MyMethod() as stringDim countryCodes() As StringcountryCodes = “IND,CHI,JPN”.Split(”,”.ToCharArray)If Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-91688109111165929342007-05-22T18:44:00.000+05:302007-05-22T18:51:39.856+05:30Difference between two Dates in C#.NET ?To find the difference between two dates is very simple in VB — By using DateDiff method. But in C#, there is no direct method to do so. but there is a way to achive this.For this we need to understand TimeSpan Class.The following code snippet will show you how to find the difference.DateTime startTime = DateTime.Now;DateTime endTime = DateTime.Now.AddSeconds( 75 );TimeSpan span = Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-37982191427317944522007-04-26T18:51:00.001+05:302007-04-27T11:56:30.536+05:30Core Java Programming Core java seems very difficult now a days....Check out the following statements int i=1; i+=i++; System.out.println(i);What do you think is the output of the above statements..It is just a simple assignment and increment Jesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.com2tag:blogger.com,1999:blog-5277805136759681967.post-74305371339439234182007-04-24T11:34:00.001+05:302007-04-27T09:45:03.853+05:30Velocity intergration with struts Velocity is a Java-based template engine. It permits anyone to use a simple yet powerful template language to reference objects defined in Java code. When Velocity is used for web development, Web designers can work in parallel with Java programmers to develop web sites according to Jesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.com3tag:blogger.com,1999:blog-5277805136759681967.post-70984275451414805362007-04-13T11:27:00.000+05:302007-04-27T09:45:19.366+05:30Garbage Collection...This is one topic which most of you know about. I was once asked by my senior to read about this.. And yes, i did read about that.The Java Virtual Machine has 2 primary jobs:# Execute Code# Manage MemoryMemory Management involves 3 mail goals# Allocate Memory from OS# Manage Java Allocations# Remove Garbage ObjectsGarbage Collection involves around Memory management and it is one major advantage Jesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-66632115098769748332007-04-12T18:47:00.000+05:302007-04-27T09:45:37.801+05:30Overloading and OverriddingFor long i thought , this is one of the simplest concept in java..Both types of polymorphism have same method or function names .In overriding , the function in the super class is over ridden by the subclasses and both have the same name , same parameters and same return types.Over ridding example class Animal { public void eat() { } } class Dog extends Animal {Jesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-65156196315432910662007-04-11T18:01:00.000+05:302007-04-13T12:25:42.690+05:30ERP --- Enterprise Resourse PlanningERP - Short for enterprise resource planning, a business management system that integrates all facets of the business, including planning, manufacturing, sales, and marketing. As the ERP methodology has become more popular, software applications have emerged to help business managers implement ERP in many different business activities such as inventory control, order tracking, customer serviceMadhuhttp://www.blogger.com/profile/09743189765836835394noreply@blogger.com0tag:blogger.com,1999:blog-5277805136759681967.post-66789785095260139572007-04-11T11:52:00.000+05:302007-04-27T09:45:54.566+05:30Private constructorWhat is a Private constructor . Why is a constructor made private.. This private, public and protected access modifiers are used always for two things..1) To confuse u ;)2) To allow and deny access to other classes.(As the name)Private constructors prevent a class from being explicitly instantiated by callers.I know the next question , When do u want the callers not to instantiate the Jesinthahttp://www.blogger.com/profile/10629867537963587350noreply@blogger.com0