Hi Friends this is Sreenivas .If u want any technical clarification on .Net i can help u out.Please contact +91-9642411153 1 Double d=decimal.ToDouble("Decimal Value"); 2 Double d= (double)("decimalValue"); 3 Double d=Convert.ToDouble("Decimalvalue");
What is WCF? Windows Communication Foundation (WCF) is an SDK for developing and deploying services on Windows. WCF provides a runtime environment for services, enabling you to expose CLR types as services, and to consume other services as CLR types. WCF is part of .NET 3.0 and requires .NET 2.0, so it can only run on systems that support it. What is service and client in perspective of data communication? A service is a unit of functionality exposed to the world.The client of a service is merely the party consuming the service. What is address in WCF and how many types of transport schemas are there in WCF? Address is a way of letting client know that where a service is located. In WCF, every service is associated with a unique address. This contains the location of the service and transport schemas. WCF supports following transport schemas HTTP TCP Peer network IPC (Inter-Process Communication over named pipes) MSMQ The sample addr...
User Table: ========= Create Table User ( Id int Identity(1,1) Primary Key, Name Nvarchar(100) null ); insert into User values("Sreenivas")("Sreenivasulu"); IN SQL Server script: ================ Select Top 5 * from Users order by Name -- Top 5 Select Top 5 * from Users order by Name desc -- Last 5 In LINQ Query: ============ _Context.Users.OrderBy(a=>a.Name).Take(5); -- Top 5 _Context.Users.OrderByDecending(a=>a.Name).Take(5); -- Last 5
Comments
Post a Comment