15,906,816 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by N Haque (Top 10 by date)
N Haque
9-Apr-14 0:16am
View
Deleted
No number no need to consider.
N Haque
11-Jul-13 7:00am
View
If you have stateid--statename and countryid then no need to join any where to insert your data. Just write insert statement. If you don't have countryid but have country_name then you need select query to select countryid. Please clarify you question.
N Haque
29-Jan-13 8:53am
View
you can try this-
DataTable dt = new DataTable();
// dt=Your DataTable;
DataSet ds = new DataSet();
ds.Tables.Add(dt);
oDocument.SetDataSource(ds);
N Haque
23-May-12 5:06am
View
Thanks for your suggestion. But I can’t change existing dll right now.
N Haque
23-May-12 5:06am
View
Thanks for your suggestion. But I can’t change existing dll right now.
N Haque
13-Mar-12 9:07am
View
you do not need to run loop for that. you can get all rows using UNION
select * from PollingBooth_A
UNION
select * from PollingBooth_B
And then just do sum by party_id.
See Solution 5
N Haque
13-Mar-12 8:38am
View
I think It will be working..
N Haque
28-Feb-12 7:34am
View
You use 1 not 2 as 3rd Parameter.
Like the following-
declare @RE AS binary(32)
Set @RE =0x0101010101010100000000000000000000000000000000000000000000000000
SELECT SUBSTRING( convert(nvarchar(32), @RE,1),3,LEN(convert(nvarchar(32), @RE,1)))
I have got The following result :-
010101010101010000000000000000
N Haque
28-Feb-12 7:00am
View
Sorry You have to convert the binary to String
Try it -
select 'Your binary data is : ' + SUBSTRING( convert(nvarchar(32), @Binval,1),3,LEN(convert(nvarchar(32), @Binval,1)))
OR
Declare @binString nVarchar(32)
Set @binString=convert(nvarchar(32), @Binval,1)
select 'Your binary data is : ' + SUBSTRING( @binString,3,LEN(@binString))
N Haque
28-Feb-12 4:27am
View
is "Employee Status" string fixed or not considerable? Can I consider only the [**] third bracketed word??
Show More