| | |
Count number, vb.net
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
You're talking about DB table, right?
Assuming you have mobile phone numbers in a "unified format", this SQL statement returns unique numbers and their count:
Just replace field and table names before you use that.
Assuming you have mobile phone numbers in a "unified format", this SQL statement returns unique numbers and their count:
VB.NET Syntax (Toggle Plain Text)
SELECT DISTINCT(<MobileNumberField>), COUNT(<MobileNumberField>) AS MobileNumberCount FROM <tablename> GROUP BY <MobileNumberField>
Teme64 @ Windows Developer Blog
•
•
Join Date: May 2008
Posts: 144
Reputation:
Solved Threads: 9
SELECT DISTINCT(MobileNumber), COUNT(MobileNumber) AS RecordCount FROM MobileTable GROUP BY MobileNumber
Start a new thread for your question and you will get an answer for it.
Teme64 @ Windows Developer Blog
•
•
•
•
plz...m relly need a immediate coding..
plz sumbody solve my probs..
i want to subtract my current quantity stock went m enter any amount at a textbox...
currentquantity = fullquantity - amount(type in the textbox)
then save to database
can sumbody help mee..plzzz
However,
•
•
•
•
currentquantity = fullquantity - amount(type in the textbox)
VB.NET Syntax (Toggle Plain Text)
Dim currentquantity, fullquantity As Double currentquantity = fullquantity - CDbl(TextBox1.Text)
and see this link to know how to add row to Database
Last edited by manal; Jan 12th, 2009 at 2:04 pm.
"give only what u willing to receive "
![]() |
Similar Threads
- Updated : Simple ASP.Net Login Page (ASP.NET)
- I want to count the number of clicks of buttom (VB.NET)
- Batch file in ASP.Net to convert Excel files into higher version (ASP.NET)
- Count number of checkboxes being checked in asp.net (ASP)
- ASP.net/Stored Proc & Login Verification (ASP.NET)
- retrieving ids from dynamically created controls in asp.net (ASP)
- ASP .NET database hit counter (ASP.NET)
Other Threads in the VB.NET Forum
- Previous Thread: List open office files
- Next Thread: Common References not recognised in VS2008
Views: 1719 | Replies: 7
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert intel internet listview mobile monitor ms net networking objects output panel passingparameters picturebox port position print printing problem project read remove save searchbox searchvb.net select serial server shutdown soap sorting survey syntax table tcp temperature text textbox timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year





