Click here to Skip to main content
14,975,411 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Friends,
I bought a software without "customer support after sales", so I am struggling to rewrite some of the codes in the C# project.
I have the Admin Page(AdminLogin.aspx)
I have the following Code which is redirected from this Admin Login Page(say AdminLogin.aspx/adminlogin.aspx.cs):

The following code has to do the validation of Admin part:

public partial class AdminAccount : System.Web.UI.Page
{
Registration_DS.REGI_SELECTDataTable RDT = new Registration_DS.REGI_SELECTDataTable();
Registration_DSTableAdapters.REGI_SELECTTableAdapter RAdapter = new Registration_DSTableAdapters.REGI_SELECTTableAdapter();
protected void Page_Load(object sender, EventArgs e)
{

}
...
.....
.......
I want to know what this line is and what it says....!

Registration_DS.REGI_SELECTDataTable RDT = new Registration_DS.REGI_SELECTDataTable();

I guess it is DataSet and DataAdapter - but I don't know to rewrite the code.
There are stored procedures(SQL server 2008) namely REGI_INSERT,REGI_SELECT etc
I believe that there is no dll files or any 3rd party API etc.,
so please help me to fix this.

What I have tried:

I tried nothing. But I wrote some simple code to validate Admin Login and list Members registered in the site to approve etc, which is irrelevant to this question, Sorry.
Posted
Updated 23-Mar-21 3:59am

1 solution

Based on the names, it's part of a strongly-typed DataSet:
Typed DataSets - ADO.NET | Microsoft Docs[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900