Solved

Load a Dataset (xsd file) From Database

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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