?
Solved

Load a Dataset (xsd file) From Database

Posted on 2008-10-24
1
Medium Priority
?
576 Views
Last Modified: 2012-08-14
I have a dataset called "LoginDS" that I designed at design time (add->new item->dataset).  It has only one datatable called "Login". I want to load data to it manually because the connection string is dynamic. How can I do that?

0
Comment
Question by:emresamisuzer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 1500 total points
ID: 22795341
something like this:
Dim dsLogin As WindowsApplication4.DataSet1
        dsLogin = New WindowsApplication4.DataSet1()
        Dim dsLoginRow As WindowsApplication4.DataSet1.LoginRow = dsLogin.Login.NewLoginRow()
        dsLoginRow.LoginName = "Sameer"
        dsLogin.Login.AddLoginRow(dsLoginRow)

Open in new window

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question