Solved

Load a Dataset (xsd file) From Database

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.net/WinForms: adjust Screen Resolution 6 58
VB.Net How to Exit Sub - Exit Form??? 5 58
VB.Net Report Printing Issue 3 35
VB.net Open Folder in Windows Explorer 3 31
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 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