15,867,686 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 roman_s (Top 4 by date)
roman_s
12-Jan-12 9:53am
View
theres 2 tables in this dataset. They have a relation between a column called "Reporting Date"
When I take this dataset and bind these to a grid I can access the first table through Grid.PrimaryGrid.Columns but I can't access the second table which is nested to the first table.
roman_s
24-Oct-11 14:10pm
View
I tried the above code, the application still hangs and wireshark reports end of stream (after several expected packets, I get 0xAA, 0x55 as my closing flags) then the system continues to keep the connection alive. I can't exit the loop code to close the connection and need to keep the while statement in receiving.
Through this code that I wrote, I can get the size of bytes to expect.
I also can expect 0xAA followed by 0x55 as the closing flag.
Any ideas how I can implement this to get out of the while loop and close connection?
int interval = 0;
if (interval == 0)
{
byte[] aSize = new byte[3];
aSize[0] = buffer[2];
aSize[1] = buffer[3];
aSize[2] = buffer[4];
buffSize = ConvertByteArrayToInt(aSize);
}
roman_s
29-Sep-11 12:14pm
View
Oh forgot to mention
Table A also has a UPC Column im trying to update all UPC of table A from UPC from table C
roman_s
17-May-11 10:31am
View
Works Great returns back the byte values in the bit array..
instead of using the method to return the array list I just assigned a byte array list to the string select/linq method
string input = "0x02 0x07 0x03 0xFF";
byte[] bArray = input.Split(' ').Select(s => Convert.ToByte(s, 16)).ToArray();
Thanks to everyone for their help, also the links above were great to learn more about our little value type byte.