| | |
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: 1722 | Replies: 7
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
"crystal .net .net2005 30minutes 2005 2008 access application arithmetic array basic binary bing button buttons c# center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dll dropdownlist error excel file-dialog folder ftp google hardcopy highlighting image images inline listview login math mobile ms navigate net networking opacity output peertopeervideostreaming picturebox picturebox1 plugin port print printing problem problemwithinstallation project reports" save savedialog searchbox serial server soap sorting sql string syntax tcp text textbox timer toolbox trim updown upload usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web wpf





