473,472 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to generate dataset?

Ook
I think I'm being bitten by holes in the documentation - documentation that
assumes a certain knowledge of how dotnet works, knowledge that I lack :-)

I downloaded and installed odbc.net. I *finally* figured out how to add the
odbcDataAdaptor and odbcConnection to the toolbox, no thanks to the
documentation. So, now I have component1.cs on webform1.aspx. I have a MySQL
database up and running. I have odbcDataAdapter1 and odbcConnection1 on the
component. I even got my MySQL server added to the server explorer. It
works - I know, because it shows me the tables and fields from my MySQL
database. So far so good.

I'm to the point where I'm supposed to generate a dataset, but the menu
options are disabled. What am I missing, what is required to enable these
menu options? Or better yet, how do you do this manually?
Nov 15 '05 #1
1 3820
Hi,

It may be possible that you need some functionality from the DB backend to
generate the dataset, maybe it does not have the commands to return the
types of the columns of the tables, or the names of the tables or maybe it
does not know how to map the DB types to the .NET types.
You can create a dataset manually, just insert a new item in the project
and select DataSet . the rest must be straightforward.
Just post back if you have any problem

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Ook" <usenet@no****@emberts.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I think I'm being bitten by holes in the documentation - documentation that assumes a certain knowledge of how dotnet works, knowledge that I lack :-)

I downloaded and installed odbc.net. I *finally* figured out how to add the odbcDataAdaptor and odbcConnection to the toolbox, no thanks to the
documentation. So, now I have component1.cs on webform1.aspx. I have a MySQL database up and running. I have odbcDataAdapter1 and odbcConnection1 on the component. I even got my MySQL server added to the server explorer. It
works - I know, because it shows me the tables and fields from my MySQL
database. So far so good.

I'm to the point where I'm supposed to generate a dataset, but the menu
options are disabled. What am I missing, what is required to enable these
menu options? Or better yet, how do you do this manually?

Nov 15 '05 #2

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

Similar topics

3
by: Garry Dawkins | last post by:
Hey Frank, I'm a novice with this taking over someone elses application. I'm attempting to add a dataset to a page. I have the query to populate the page and I have the walkthrough instructions. ...
1
by: jtsree | last post by:
i am using Visual Studio.net professional 2003 (VisualBasic.net).I am building a very very simple project where i need to connect to Microsoft access database through OledbDataAdapter in design...
1
by: jtsree | last post by:
I am Using (Windows XP) Visual Studio.net 2003 professional edition working on VB.net language. I am bulding a very very simple project in VB.net where i connect to Access Database by dragging...
0
by: miller chen | last post by:
Using WebServices, and server add the new class PersonSet that inherite DataSet,follow down: public class PersonSet:DataSet { private string _strB; public string strB { get
1
by: ASP.Net programmer | last post by:
I have a few SQLDataAdapters which select a MAX() value from a few different tables. Here is a sample of the SQL statement: SELECT MAX(startdate) AS startdate FROM some_table1 WHERE (startdate...
5
by: pete | last post by:
Help, I can not find this data wizard in my toolbox under data. To generate a dataset 1.. From the Data menu, choose Generate DataSet. Tip If you do not see the Data menu, click in the...
5
by: sambuela | last post by:
All data controls and wizards about dataset, adapter or dataviewer disappear in the IDE. How can i let them appear again? It is because i want to generate dataset by these wizard. Thanks in...
0
by: abc my vclass | last post by:
How to generate a dataset from stored procedure which have many resultsets? I try Dataset designer from VS2005, it only generate first table from stored procedure on server explorer. Another...
1
by: ergolargo | last post by:
Hello all Apologies if I've picked the wrong forum, but can anybody offer assistance to me? I'm definitely struggling to get my first data access layer generated using the Dataset Designer in...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
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
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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
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 ...
0
muto222
php
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.