473,507 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question, what is this a bug, a documentation error how you call this?

Cor
Hi group,

I was making a sample and then I did got a problem.
(I never made a dataset with a bytearray in it for directwriting to disk
without a database).

I got errors and as usual I did not look to the error message and it took
more time than I did want.

ds.Tables(0).Columns(0).DataType =System.Type.GetType("System.Byte[]")

The subject is the descripiton from the bytearray as Byte[]

I found it when I did look good to the errormessage.

Is this VB.net?

Before it happens that someone thinks that I do not understand it and wants
to explain me.
That is not my question I full understand why.

Cor
Nov 20 '05 #1
5 807
Cor,
Did you get a compile error or a runtime error?

Which version of .NET?

Can you give a "complete" code snippet that identifies the problem?

Hope this helps
Jay

"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi group,

I was making a sample and then I did got a problem.
(I never made a dataset with a bytearray in it for directwriting to disk
without a database).

I got errors and as usual I did not look to the error message and it took
more time than I did want.

ds.Tables(0).Columns(0).DataType =System.Type.GetType("System.Byte[]")

The subject is the descripiton from the bytearray as Byte[]

I found it when I did look good to the errormessage.

Is this VB.net?

Before it happens that someone thinks that I do not understand it and wants to explain me.
That is not my question I full understand why.

Cor

Nov 20 '05 #2
Cor
Hi Mr. Harlow,

Maybe you have never seen a message from me before in this newsgroup, but I
have posted before to this newsgroups.

I did ask about an opinion about the use for [] as needed in this syntax I
did give in VB.net

Just to match that with my own opinion. Should this be seen as a bug, an
error in the documentation, and something Microsoft should be attend on to
fix that in future.

All code is inside in the message.

Cor
Nov 20 '05 #3
"Cor" <no*@non.com> schrieb

Maybe you have never seen a message from me before in this newsgroup,
but I have posted before to this newsgroups.

I did ask about an opinion about the use for [] as needed in this
syntax I did give in VB.net

Just to match that with my own opinion. Should this be seen as a bug,
an error in the documentation, and something Microsoft should be
attend on to fix that in future.


System.Byte[] is the right syntax.

http://msdn.microsoft.com/library/en...dtypenames.asp

--
Armin
Nov 20 '05 #4
Cor
Hi Armin,

That was I looking for, makes it all clear, I could not find it.

With this you can say it is consequent.

Although .........................................

Thanks a lot.

Cor


Nov 20 '05 #5
Cor,
Maybe you have never seen a message from me before in this newsgroup, but I have posted before to this newsgroups. I hope you will agree the above statement is totally uncalled for!
The reason I was asking, is the code you did post compiles under VS.NET
2003, however I did not run it, as there really is not enough to actually
run.

Hence I was asking if you were having a compile error or a runtime error.

As Armin stated, you need to use the [] as you are dealing with a Framework
method and Framework methods tend to follow C# syntax.
All code is inside in the message. As Jon Skeet would say: "Short but complete programs"

http://www.yoda.arachsys.com/csharp/complete.html

Hope this helps
Jay

"Cor" <no*@non.com> wrote in message
news:Oz**************@TK2MSFTNGP12.phx.gbl... Hi Mr. Harlow,

Maybe you have never seen a message from me before in this newsgroup, but I have posted before to this newsgroups.

I did ask about an opinion about the use for [] as needed in this syntax I
did give in VB.net

Just to match that with my own opinion. Should this be seen as a bug, an
error in the documentation, and something Microsoft should be attend on to
fix that in future.

All code is inside in the message.

Cor

Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1930
by: david.kettle | last post by:
Hello Python World! I've been playing with the 'wave' and 'audioop' modules in the library, and I have a question. When I tried to read a "wav" file with samples in 32-bit float, I got the...
55
2729
by: ben | last post by:
is it true that a function without an inline keyword never get inlined? If not true when is it inlined or not? ben
3
2789
by: Nathan Wallace | last post by:
Hello, I have 2 schema, for argument sake let's call them child.xsd and parent.xsd. I define all my types in parent.xsd and the child.xsd include the parent.xsd using the following tag: ...
11
4228
by: Mark Yudkin | last post by:
The documentation is unclear (at least to me) on the permissibility of accessing DB2 (8.1.5) concurrently on and from Windows 2000 / XP / 2003, with separate transactions scope, from separate...
4
1916
by: ORi | last post by:
Hi all ! There's a question I've been bothering for a while: I'm actually developing architectural frameworks for application developing and I think virtual methods, although needed because of...
5
2862
by: Joe Thompson | last post by:
Hi, I am using VC++.Net 2003 with WinForms to write a serial port application. I downloaded the newest VC++ examples from MSDN and found a project called Using the COM Port. In it, there is a...
2
1949
by: Nik | last post by:
Hi, I am having a problem while trying to use a buffer in a Function call. I have ported the code from the MSDN documentation and it seems that the function expects a different type of input...
6
3087
by: kath | last post by:
Hi all, Platform: winxp Version: Python 2.3 I have a task of reading files in a folder and creating an one excel file with sheets, one sheet per file, with sheet named...
42
6741
by: mellyshum123 | last post by:
I need to read in a comma separated file, and for this I was going to use fgets. I was reading about it at http://www.cplusplus.com/ref/ and I noticed that the document said: "Reads characters...
0
7221
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7109
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3190
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1537
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.