No announcements
Found 1618123 threads
-
0 Votes
converting a byte[] to a string successfully?
You will need to convert to the string, then calculate the length.Answered | 11 Replies | 3843 Views | Created by Teenprogrammer - Sunday, June 22, 2008 6:29 AM | Last reply by Teenprogrammer - Tuesday, June 24, 2008 3:55 AM -
1 Votes
Why Int32 literal is implicitely converted to byte type ?
floating-point types (like float) stores values according to the precision and approximate range for the float type ...Answered | 6 Replies | 3599 Views | Created by bootstrap1 - Sunday, November 21, 2010 1:56 AM | Last reply by Reed Copsey, Jr - Sunday, November 21, 2010 7:39 PM -
0 Votes
Can I convert from byte[] to 'Type'?
You cannot "just convert" - it's actually more involved and you're better off leaving it to the framework.Answered | 3 Replies | 3339 Views | Created by C_Smith - Wednesday, May 13, 2009 9:40 AM | Last reply by codevanced - Wednesday, May 13, 2009 11:17 AM -
5 Votes
Convert string of byte to byte[]
Is reconvert from base64 to string byte possible in this case @Viorel_ ?Answered | 13 Replies | 1076 Views | Created by Loris Charge - Monday, October 15, 2018 10:34 AM | Last reply by Loris Charge - Tuesday, October 16, 2018 10:23 AM -
1 Votes
Convert type in string stored to original type
You will need to do one of: IF @type = 'int' SELECT convert(int, @OriginalData) ELSE IF ...Answered | 8 Replies | 2604 Views | Created by Vipul Langalia - Wednesday, August 8, 2012 11:15 AM | Last reply by Erland Sommarskog - Thursday, August 9, 2012 12:24 PM -
0 Votes
Cast a string repsentation of a byte to a type byte
You could use the byte.Parse method with the System.Globalization.NumberStyles.HexNumber option: string thestring = "0x5a, 0x4c, 0x5d"; ...Answered | 2 Replies | 717 Views | Created by William256 - Sunday, February 22, 2015 3:45 AM | Last reply by Magnus (MM8) - Sunday, February 22, 2015 9:53 AM -
2 Votes
Convert the userdefined type to string and string to user defined type
I's not so easy as you wish; You can convert any object to string but to convert it back from string to the defined type you need for that the ...Answered | 3 Replies | 1029 Views | Created by Ramkumar.B - Thursday, November 14, 2013 10:14 AM | Last reply by RohitArora - Friday, November 15, 2013 4:22 AM -
3 Votes
Converting a date string to date type
First of all, you should know that format like Apr 2017 is a String type data not a Date type in SQL Server and also can't be recoginzed as a Date ...Answered | 7 Replies | 1340 Views | Created by vinnie_Phantom - Friday, August 10, 2018 2:31 PM | Last reply by Xi Jin - Monday, August 13, 2018 2:28 AM -
0 Votes
Convert a Bytes of File in String
Byte[] in .NET.Answered | 3 Replies | 3225 Views | Created by Erich Franz - Tuesday, November 11, 2008 10:09 PM | Last reply by Mattias Sjögren - Thursday, November 13, 2008 12:46 PM -
1 Votes
convert string to datetime?
Hi, I want to convert a sting to a varible with type of datetime?.Answered | 6 Replies | 3768 Views | Created by peter 9 - Tuesday, July 10, 2012 4:17 AM | Last reply by Mitja Bonca - Tuesday, July 10, 2012 2:28 PM -
27 Votes
How to convert the string to byte in c# ?
Especially since he changed "encoding" (a local variable of type "System.Text.ASCIIEncoding") to "Encoding" (a class), which breaks the code, since ...Answered | 15 Replies | 379615 Views | Created by Ghanshyam Singh - Friday, January 27, 2006 2:04 PM | Last reply by Tim Roberts - Wednesday, September 18, 2019 5:12 PM -
2 Votes
How to convert string type to int?
Apart from the obvious things that cannot be converted, such as "abcd", be aware that a null or blank value or DBNull cannot be converted into an int (they ...Answered | 2 Replies | 673 Views | Created by Tanzeel23 - Sunday, April 14, 2019 11:23 AM | Last reply by Kareninstructor - Sunday, April 14, 2019 1:06 PM -
1 Votes
convert byte[]to string
System.Text.Encoding enc = System.Text.Encoding.ASCII; string myString = enc.GetString(myByteArray) Regards, ...Answered | 3 Replies | 2928 Views | Created by Sachin Tyagi - Tuesday, June 21, 2011 8:39 AM | Last reply by Adam Bielasty - Tuesday, June 21, 2011 9:27 AM -
0 Votes
Convert Object Type Variable to String
I have a string which was read from flat file & stored in recordset as a variable of object type.Answered | 7 Replies | 11199 Views | Created by Arun Prithviraj - Monday, October 10, 2011 10:46 AM | Last reply by Shailesh Rajak - Monday, October 10, 2011 11:55 AM -
0 Votes
Convert a string geography type
You need to get rid of the ‘SRID=4326;’ at the beginning of the string.Answered | 2 Replies | 6994 Views | Created by Bafla13 - Tuesday, December 4, 2012 9:05 PM | Last reply by Olaf Helper - Wednesday, December 5, 2012 6:24 AM -
1 Votes
Converting data of datacolumn type Byte[] back to Byte Array
During solving this issue, I found some solutions about Unable to cast object of type 'System.String' to type 'System.Byte[]' in the codeproject.Answered | 3 Replies | 24130 Views | Created by naht - Thursday, March 10, 2011 6:09 AM | Last reply by Jackie-Sun - Wednesday, March 16, 2011 7:19 AM -
1 Votes
Convert VarBinary type to Any Type
If "int" comes in TypeName particular row then I want to get Int type object (like we do in c# ...Answered | 9 Replies | 8330 Views | Created by Vipul Langalia - Wednesday, August 8, 2012 9:10 AM | Last reply by SQLZealots - Thursday, August 9, 2012 8:28 AM -
1 Votes
Convert string[] array to byte[] array
Hi All, could any one please help me out the following, I am trying to convert the following string [] to ...Answered | 1 Replies | 2745 Views | Created by _prasad - Tuesday, June 24, 2014 11:58 AM | Last reply by Margriet Bruggeman - Tuesday, June 24, 2014 12:53 PM -
0 Votes
Value of type string cannot be converted to ....
NoteType.Text = "Task" I also see that you have declared a String called NoteType in the form's Load event, but that is a local ...Answered | 2 Replies | 3248 Views | Created by Randy Boulter - Monday, February 23, 2015 11:55 PM | Last reply by Randy Boulter - Tuesday, February 24, 2015 10:44 AM -
0 Votes
how to convert a string to byte array?
hi Please try this snippet code Dim StringVariable As String = ...Answered | 2 Replies | 2145 Views | Created by Fatima AmirAfshar - Wednesday, November 2, 2011 10:41 AM | Last reply by YosrJ - Wednesday, November 2, 2011 10:46 AM - Items 1 to 20 of 1618123 Next ›
No announcements