Click here to Skip to main content
15,906,097 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 13:23
LAPEC6-Jan-11 13:23 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 14:19
Henry Minute6-Jan-11 14:19 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 15:13
LAPEC6-Jan-11 15:13 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute7-Jan-11 11:16
Henry Minute7-Jan-11 11:16 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC7-Jan-11 13:21
LAPEC7-Jan-11 13:21 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC9-Jan-11 8:37
LAPEC9-Jan-11 8:37 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute9-Jan-11 8:38
Henry Minute9-Jan-11 8:38 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC9-Jan-11 8:41
LAPEC9-Jan-11 8:41 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute9-Jan-11 9:10
Henry Minute9-Jan-11 9:10 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC30-Jan-11 4:13
LAPEC30-Jan-11 4:13 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute10-Feb-11 13:20
Henry Minute10-Feb-11 13:20 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC10-Feb-11 13:41
LAPEC10-Feb-11 13:41 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC10-Feb-11 13:57
LAPEC10-Feb-11 13:57 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC9-Jan-11 8:52
LAPEC9-Jan-11 8:52 
QuestionHelp with UAC Issue Pin
Jammer16-Dec-10 8:15
Jammer16-Dec-10 8:15 
AnswerRe: Help with UAC Issue Pin
Jammer17-Dec-10 9:39
Jammer17-Dec-10 9:39 
Questionset url file Pin
ali_heidari_16-Dec-10 3:24
ali_heidari_16-Dec-10 3:24 
AnswerRe: set url file Pin
Hari Om Prakash Sharma16-Dec-10 3:53
Hari Om Prakash Sharma16-Dec-10 3:53 
QuestionI am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Honeyboy_2016-Dec-10 2:56
Honeyboy_2016-Dec-10 2:56 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Thomas Krojer16-Dec-10 3:03
Thomas Krojer16-Dec-10 3:03 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Hari Om Prakash Sharma16-Dec-10 3:19
Hari Om Prakash Sharma16-Dec-10 3:19 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? [modified] Pin
Hari Om Prakash Sharma16-Dec-10 3:36
Hari Om Prakash Sharma16-Dec-10 3:36 
Honeyboy_20 wrote:
I want to Read All bytes

FileStream fs = File.OpenRead(filename);
byte[] data = new byte[fs.Length];
fs.Read (data, 0, data.Length)


Honeyboy_20 wrote:
if Number of Byte equal to 256 I will go to Nested loop to Read 16 byte from previous 256 byte


byte[] set256=new byte[256];
int p=0;

for(int i=0;i < data.Length;i++)
{
set256[p++]=data[i]; //fill data into 256 Byte set
if(p==256)
{    
    byte[] set16=new byte[16];
    int k=0;
    for(int j=0;j < 256;j++)
    {
        set16[k++]=set256[j]; // data into 16 Byte set
        if(k==16)
        {
             //your 16 Byte set
             //convert set16 into readable information (Info)
             k=0;
        }
    }
    p=0;
}
}


First and the Foremost: FIGHT TO WIN

modified on Thursday, December 16, 2010 10:35 AM

GeneralRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Luc Pattyn16-Dec-10 4:17
sitebuilderLuc Pattyn16-Dec-10 4:17 
GeneralRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Hari Om Prakash Sharma16-Dec-10 4:29
Hari Om Prakash Sharma16-Dec-10 4:29 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Luc Pattyn16-Dec-10 5:13
sitebuilderLuc Pattyn16-Dec-10 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.