By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

Read Tables Data from this Dataset

P: n/a
ok i made this but now i don't know how to retrive the values contained in
the tables of the ds dstaset someone han help?????

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Text;

using System.Windows.Forms;

using Interventi.Business;

namespace Interventi.Client.Forms

{

public partial class frmLogin : Form

{

public frmLogin()

{

InitializeComponent();

}

private void btnEsci_Click(object sender, EventArgs e)

{

clsStart.blnLoginOK = false;

Application.Exit();

}

private void btnLogin_Click(object sender, EventArgs e)

{

string a;
DataSet ds= new DataSet();
ds = clsLogin.VerificaPassword("g","g");
}

}

}

using System;

using System.Collections.Generic;

using System.Text;

using System.Data;

using Interventi.Data;

using Interventi.Data.dsInterventiTableAdapters;

namespace Interventi.Business

{

public class clsLogin

{

public static DataSet VerificaPassword(string strUtente, string strPassword)

{
dsInterventi dsInterventi = new dsInterventi();

UTENTITableAdapter taUtenti = new UTENTITableAdapter();

taUtenti.FillBy_UTCOD(dsInterventi.UTENTI, strUtente);

//DataTableReader dtrUtenti = new DataTableReader(dsInterventi.UTENTI);

return dsInterventi;
}



}
Jul 20 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.