Answered by:
VARCHAR2 DECALRATION

Question
-
User1449453972 posted
HOW TO DECALARE V1 AS VARCHAR2(4) IN VB.NET
V2 OF TYPE CHAR IN VB.NET
THANKS
I AM ALWAYS DELCARING V1 AS STRING
V2 AS STRING
Tuesday, May 21, 2013 6:09 AM
Answers
-
User-800912061 posted
You can declare V1 as string like this.
Dim V1 as string = "Me"
and you can declare V2 as Char like this.
Dim V2 as Char = "U"c
Or refer to below links.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, May 21, 2013 6:23 AM -
User-1716253493 posted
vb only has string datatype
http://msdn.microsoft.com/en-us/library/47zceaw7(v=vs.80).aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, May 21, 2013 6:37 AM
All replies
-
User79986525 posted
Hi ,
declare like this
Dim V2 as string=""
Tuesday, May 21, 2013 6:14 AM -
User-800912061 posted
You can declare V1 as string like this.
Dim V1 as string = "Me"
and you can declare V2 as Char like this.
Dim V2 as Char = "U"c
Or refer to below links.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, May 21, 2013 6:23 AM -
User-1716253493 posted
vb only has string datatype
http://msdn.microsoft.com/en-us/library/47zceaw7(v=vs.80).aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, May 21, 2013 6:37 AM