ThinkDigit Home
Subscribe to the Newsletter
Search
 
SKOAR!       / SHOPPING
 
 
News / Features / Downloads / Channel 5
 
All Stories by
Write to at
 
 
 
Posted by
Sanket Chaukiyal
1
78
Posted on: Jan 19, 2012 21:13:53 IST
 
 
This is an article continued from Developing a simple application using LINQ [Part 3]. In this part we will be looking at where we can use specific datatypes instead of using the "var" keyword, the Count(), Sum()and First() method. Continuing from the previous article, we create the third function. This function lets you take a closer look at different statistics PopulateProductStatistics() - In this function we will recover different statistics(products for reorder, types of products and total products) about the inventory. Here we will see two more functions in LINQ which are used to count the number of records retrieved and add all the values of a result set. Notice that here instead of the "var" keyword we have used the datatype "int". This is because...
 
Feature Stories
 
Databinding in Windows 8 JavaScript Metro style Apps
Third Party Browsers Blocked on Windows 8 for ARM?
[Interview] Shabir Momin - creator of ZengaTV
A Guide to impress.js - Create Amazing Web Standard Presentations
[Interview] Abhishek Arora - winner of Google Code In 2011
App of the Week: ArsClip 4.0
Adobe Releases Flash Player 11.2 and AIR 3.2 With new Premium Features
LESS: A Better way to Code CSS
App of the Week: Firefox ProfileManager 1.0
App of the Week: RAMDisk 3.5
Databinding in Windows 8 JavaScript Metro style Apps
Third Party Browsers Blocked on Windows 8 for ARM?
[Interview] Shabir Momin - creator of ZengaTV
A Guide to impress.js - Create Amazing Web Standard Presentations
[Interview] Abhishek Arora - winner of Google Code In 2011
App of the Week: ArsClip 4.0
Adobe Releases Flash Player 11.2 and AIR 3.2 With new Premium Features
LESS: A Better way to Code CSS
App of the Week: Firefox ProfileManager 1.0
App of the Week: RAMDisk 3.5
Read More
 
 
Posted by
Sanket Chaukiyal
0
178
Posted on: Jan 15, 2012 20:08:45 IST
 
 
This is an article continued from Developing a simple grocery inventory- Part 2. In this part we will be looking at the different groups of controls on the "Add/Delete" tab, looping through retrieved results and the "distinct" method in LINQ.Continuing from the previous article, we will now see the controls on the Tab "Add/Delete" of the tab control.Controls on Tab "Add/Delete"This tab contains many controls but most of them have similar functions. The controls here are grouped according to their functionality. The controls are grouped according to those that perform addition of a new product, modification of details of an existing product, deletion of a product, show statistics of the inventory and a listbox control that shows all the products...
 
 
Posted by
Sanket Chaukiyal
1
117
Posted on: Nov 20, 2011 20:29:10 IST
 
 
This is the second part of a series on developing a simple application using LINQ. You can read Part 1 at dvwx.in/linq-series-1. In this part we will be looking at datacontext, the "var" keyword, retrieving data through LINQ, binding retrieved data to controls and conditional retrieval of data. You'll also begin to see some LINQ coding. We'll begin with the controls in the "View & Search" tab of the tab control.Controls on Tab "View & Search"Controls on Tab "View & Search"As you can see, we have: 1. A grid view to show our output - dataGridView_Products2. A text box to input out search query - txtSearch3. Three buttons- one for showing all products, one for showing reorder products and the last for initiating the search query -...
 
 
Posted by
Sanket Chaukiyal
1
226
Posted on: Nov 10, 2011 15:00:51 IST
 
 
In the previous article titled "LINQ - An easy introduction" we saw how LINQ works with data and objects. In this article which is a part of a series, we will develop a very simple inventory application for a grocery store (let's call is Evergreen Store). Over the next five articles in this series, we'll see the basic operations in LINQ which are required to build any application. The functions here are very simple and can be modified and optimised as you learn more advanced programming in LINQ. The purpose of this article is to provide explanation of the LINQ coding implemented as the application is being built. The database which we will use is SQL Server although it won’t matter much as the front end LINQ programming won’t change even if we switch databases...
 
 
Posted by
Sanket Chaukiyal
5
366
Posted on: Sep 05, 2011 14:22:00 IST
 
 
To put it very simply, Language-Integrated Query or LINQ is another way to query data using native code. It adds native querying capability to .NET languages. You may ask “what is the need of another data access method when you already have a good one like ADO.Net?” Well, one of its major advantages is that, it is a general-purpose query language, which essentially means that it is not just used to query relational databases but also XML, Controls and Memory Data Objects. Curious? Let me show you how. Consider the following examples:SQL Statement in ADO.NET Select * from Inventory where Price >50; LINQ statement var product=from d in Inventory where d.Price >50 select d.ProductName; Simple enough right? But you'd wonder what's the advantage in using...
Tags:
XML , .NET , , linq , series-linq
 
Displaying (1 - 5) of 5