Solved

Load a Dataset (xsd file) From Database

Posted on 2008-10-24
1
536 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
1 Comment
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now