Hi Si,
VB.NET has a DataGrid control, but it's quite different from the MS Data
Bound Grid. One of the ways to see how the DataGrid can be coded is to run
the DataForm Wizard. Unfortunately, that's not working for you. If I
remember correctly, the Dataform Wizard doesn't handle DBNulls, and that
might be the error you're seeing. You may want to try runing the wizard and
limiting the columns you select to see if one column is causing the
trouble.
Craig, VB.NET Team
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).
--------------------
From: "Dongo!" <d0***@sgc0nsultants.kar00.c0.uk>
Newsgroups: microsoft.public.dotnet.languages.vb
Subject: Database on VB.Net
Date: Mon, 17 Nov 2003 21:46:14 -0000
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <vr************@corp.supernews.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Complaints-To: ab***@supernews.com
Lines: 23
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-
xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:157501
X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Hi Group,
I`ve just got VB.NET and moving from VB6 finding things a little hard, I
hope someone could help?
On VB6 if I wanted to display data from a Datbase I would add the MS Data
Bound Grid Control to the project whats the equivilent on VB.Net?
I`ve tryed using the DataForm wizard but it keeps coming up saying - 'Value
Cannot be NULL, Paramited Name: Type'
Any Web Links or Help would be much appriciated
Regards
Si
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.536 / Virus Database: 331 - Release Date: 03/11/2003