Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie ? on creating Dataset in VS 2005
Message
From
25/07/2006 15:28:01
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01139720
Message ID:
01139915
Views:
17
Adding data to a DataSet programmatically isn't too difficult, Dmitry. I'm sure you'll quickly discover how to do it. But, don't hesitate to ask if you get stumped.

Also, if you're using WinForms, then data binding your TextBoxes to the columns in the DataTables is the way you want to go to get data to-and-from your TextBoxes from your DataTable.

~~Bonnie




>Hi Kevin,
>
>>
>>They changed some things in VS2005. The default dataset editor doesn't display everything. You can right-click on an individual column and view properties, and set the datatype.
>>
>
>I got it now.
>
>>However, if you'd prefer to see the same kind of options that show in VS2003, you can right-click on the dataset in Solution Explorer, and select "Open With". You'll see a list of options, one of which is the XML Schema Editor that will show what you saw in VS2003. (Believe me, I'm not thrilled with what they changed).
>>
>
>I will try this.
>
>>To the best of my awareness, you can't see the datatables in Solution Explorer. You have to open the dataset visually to see them. (I'm sure if you expanded the class view. you'd see the datatable objects as well).
>>
>>I don't know why you wouldn't be seeing all the datatables in Crystal. If they truly exist in the dataset, they "should" show in the Crystal DB expert.
>>
>
>Since I posted my message, I figured what I was missing. So I am able to see the tables and the columns and add them to my sample Crystal Report details band.
>
>My next thing is to learn how to add rows to the tables (in code) and set values from text boxes. I am sure you will see another "newbiew" thread before too long <g>
>
>Thank you very much, Kevin.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform