Try this:
"0x" + BitConverter.ToString(arraytoinsert).Replace("-", "")
Although you should really be using a parameterised query rather than string concatenation of course…
More Related Contents:
- Please help me access nested array
- remove an index number from array
- Passing arrays as parameters in bash
- Creating an Array from a Range in VBA
- Element-wise array replication in Matlab
- What is the ideal growth rate for a dynamically allocated array?
- DIR output into BAT array?
- Return rows matching elements of input array in plpgsql function
- How do you efficiently generate a list of K non-repeating integers between 0 and an upper bound N [duplicate]
- Compare arrays for equality, ignoring order of elements
- How can I convert a buffer of a slice of bytes (&[u8]) to an integer?
- Find cosine similarity between two arrays
- How to filter an array of objects based on values in an inner array with jq?
- Is there a Perl shortcut to count the number of matches in a string?
- How to split a string by new lines in Swift
- Pipe complete array-objects instead of array items one at a time?
- Assign to a bash array variable indirectly, by dynamically constructed variable name
- Maximum single-sell profit
- Unmarshal 2 different structs in a slice
- Swift: What’s the best way to pair up elements of an Array
- Why are Arrays invariant, but Lists covariant?
- Class-validator – validate array of objects
- Extending Array to check if it is sorted in Swift?
- How do I remove elements at a set of indices in a vector in MATLAB?
- How to forward functions with variadic parameters?
- How do I Merge two Arrays in VBA?
- Excel VBA Quickest way to sort an array of numbers in descending order?
- How can I store function pointers in an array? [duplicate]
- Passing array to a SQL Server Stored Procedure
- jq: recursively merge objects and concatenate arrays