Solved

Load a Dataset (xsd file) From Database

Posted on 2008-10-24
1
552 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

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 …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

840 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