| Mahesh's profile▒▒╰☆╮Mahesh kumar R {Yes...PhotosBlogLists | Help |
▒▒╰☆╮Mahesh kumar R {Yes2Dotnet} ╰☆╮▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒╰☆╮ÇÿbérìäFréåK ╰☆╮╰☆╮☆MS Blogstar of the year 2006 ☆☆☆☆☆ |
|||||||||||||
Why I should not use DataTable.Select() for larger set of recordsReason : Performance degrade How : Select() takes arbitary criteria, returns an array of DataRows (Row Collection). It has to walk thru the entire table and compare every record to the criteria that you passed in. It is considered worst method to use for large set of records. So here is the alternative, 1) DataTable.Rows.Find if you look for single row... Src : Scaling ADO.NET DataTables and Best Practices for Using ADO.NET2) Indexing the DataTable..but need to build Index in .NET Code as well. 3) LINQ - recommended 4) Morphing the DataTable into a generic collection like Dictionary(Of String, String) to hold the same data as the DataTable. Cannot load file..another DLL Hell I got Visual Web Dev Express 2008 for my day job ( "Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified." The quick fix is, download the below 3 setup and install to get rid of this error. Microsoft SQL Server System CLR Types Microsoft SQL Server 2008 Management Objects Microsoft SQL Server 2008 Native Client Download -http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en#filelist Microsoft TechEd 2009 Detail
Problem Statement for MS Architect Contest. India Election Pedia – A DIGITAL MESH Functions and Features of the system shall include the following:
Achieved MCTS in Web !!Yes, this monday I've cleared 70-528 following 70-536 to get MCTS in Web Applications. I was planning this exam for the past 2 years, but every time i get some excuse. But this time I've decided to achieve it without delay. I manage to get decent score around 820 and 875 ( 700 is the pass mark, max 1000). I gave my exam in NIIT Prometric center, Residency road branch. { Note : NIIT dont have parking, Carry 2 original ID proof along with xerox copy } Thanks to kalyan for his blog on 10% gift voucher. Follow here to get one - http://kaliyans.spaces.live.com/blog/cns!96AD32C97E4483A0!712.entry On total I saved 10$ (5$ for each exam). Really matters during this testing time... Not able to install Windows XP in Vista's Pre-loaded machine !! Friend of mine bought a new laptop with Vista Ultimate by default(OEM Version). He had a problem in activation and not able to log in Read more from Wikipedia source and MS error report Microsoft Expression Web SuperPreview - for IE Web TestThis is for Web developers (ASP.NET) who work for cross browser support An easy solution for this is to identify browser type then bunch of code for each browser compatible DOM manipulation(Javascript). Its really time consuming and takes time to test it. This kind of approach boggles me and am not confident at all. But I highly recommend to take care of cross browser support from the prototype development stage itself. Here is the news from MS regarding Web SuperPreview for IE (its a visual debugging tool that makes it easier to migrate our Web sites from IE 6 to IE 7 or 8 ), but it would be better if they extend this support to test other browsers also..Currently few of my applications are working smoothly in IE 6 and above..but not sure about IE 8. I'll post about the pros and cons after checking this too... jQuery to my project !!Currently i'm involved in designing a complete web application all alone and learning a lot these days. Doing a lot of POC and observing the best available things to the current Project. In this, jQuery is my latest crush,i knew JQuery for the past one year after Scott announcement but i never had a change to work for client project. Here is my first POC for no bie's.. jQuery is a fast, lightweight JS
library that is CSS3 compliant and supports many browsers. The jQuery
framework is extensible and very nicely handles DOM manipulations, CSS,
AJAX, Events and Animations. Complete list of download available here.JQuery is not a JS replacement, but its a library written using JavaScript. 1) Download from here 2) Add as reference. In aspx file.. $(document).ready(function() { // Add the page method call as an onclick handler for the div. $("#buttonn").click(function() { $.ajax({ type: "POST", url: "MyJQuery.aspx/Samplemethod", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { $("#Mydiv").text(msg.d); } }); }); }); <body> <form id="form1" runat="server"> <div id="Mydiv"> </div> <input id="Text1" type="text" /> <input id="buttonn" type="button" value="button" /> </form> </body> </html> In Code behind.. [System.Web.Services.WebMethod] public static string Samplemethod() { return DateTime.Now.ToString(); } You could see, the page gets the latest date and time easily... Composite Application Guidance for WPF and Silverlight - Feb 2009The guidance includes a reference implementation, reusable library code (named the Composite Application Library), documentation, QuickStart tutorials, and hands-on labs. This version of the Composite Application Guidance is designed to help you build WPF and Silverlight applications that have a single code base. You can download PRISM v2.0 here. |
|
||||||||||||
|
|