protected
void
Button1_Click(
object
sender, EventArgs e)
{
int
PartyRowId = 0;
foreach
(UploadedFile file
in
AsyncUpload1.UploadedFiles)
{
byte
[] bytes =
new
byte
[file.ContentLength];
file.InputStream.Read(bytes, 0, Convert.ToInt32(file.ContentLength));
string
json3 =
"{'PartyRowId':"
+ PartyRowId +
",'CommonCategoryRowId':"
+ PartyRowId +
",'CommnonCategoryAttributesRowId':"
+ PartyRowId +
",'PartyDoc':"
+ bytes +
"}"
;
}
}
Here i am getting json as
{'PartyRowId':0,'CommonCategoryRowId':0,'CommnonCategoryAttributesRowId':0,'PartyDoc':System.Byte[]}
Not retreving the byte info.....
could u pls help me