🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #87

Connecting to database and see any data

#87
From: Matjaz Cof
Date: Wed, 25 Jan 2006 10:20
12 lines
1503 bytes
Hi!
I am new in asp.net programming and i cann't view any data.
I install odbc drivers for MySQL. Then i add to the WebForm 
SqlConnection and sucesfully connect to the MySQL. I readed in help that 
SqlConnection is uses with SqlComand and SqlDataAdapter. Fine i throw on 
WebForm SqlDataAdapter, DataSet and DataGrid.
But i cann't see any property of DataSet where to choose source, in my 
case SqlDataAdapter.
Probably i do lots of mistakes here.
I just want to see data of mysql tables in grid(or something else). How?
Which components to use, how to connect them betwen?
Thank you.
Technical Details
Message-ID: <43d75027$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,6955dc25955ba7e6,start
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 25 Jan 2006 11:20:13 +0100
From: Matjaz Cof <fora@fora.cc>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.database.dotnet
Subject: Connecting to database and see any data
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.77.58.111
Message-ID: <43d75027$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138184231 193.77.58.111 (25 Jan 2006 02:17:11 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail