473,396 Members | 1,935 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to check entered data in SQL using ASP.NET 3.5 & VB

I'm having idea in VB 6.0 & HTML. Based on this trying to build a simple web application using ASP.NET 3.5, VB as code behind & SQL 2000 for database.

Here, I got one doubt.
In the Login Form, when the user enters his username & password, Computer has to search whether both these fields matches to the filedz present in which it is stored in UserLogin table (SQL 2000 )

How to perform this...?
Nov 13 '09 #1
5 2538
u need query or how to perform that query ?
Nov 14 '09 #2
Hi Prem...

To check or retrieve the data from the database(ie in your User Login table)
you must know about the connectivity ie., ADO.NET.

If you know well enough then just include those coding.

Joshua
Nov 14 '09 #3
Frinavale
9,735 Expert Mod 8TB
Check out the articles on how to use a database in your program part I and how to use a database in your program part II.

-Frinny
Nov 14 '09 #4
ThanQ Sir.

I got idea.

Now the question is;

I've several user types, like Admin, Student, Parent, Coordinator etc.

Each user type has having certain limitations of form usage.
For ex:
Admin - user is having full rights to add, delete, modify the contents.
Student - user is having only to view report & attendance, but no control to modify.

Depending on particular user type login, I've to display web page by enabling/disabling certain features. How to do this...?
Nov 17 '09 #5
Frinavale
9,735 Expert Mod 8TB
Sounds like you need to research Authentication and Authorization.
There are a number of ways to achieve this.

My preference is to use Forms Authentication. I think that you will be most interested in using this type of authentication as well because you are using your own database to store user information.

-Frinny
Nov 17 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: RAD | last post by:
I am working with an evaluation copy of SQL Server 2000 for the first time; my DB experience lies with MS Access. I have a simple table in SQL Server (tblCompany) that has a field called...
1
by: nobody | last post by:
I'm writing data the user enters out to an XML file (using DataSet.WriteXML; DataSet is a typed DataSet created from an XML Schema). The problem I'm having is the user can (and needs to) enter...
1
by: sianan | last post by:
I tried to use the following example, to add a checkbox column to a DataGrid in an ASP.NET application: http://www.codeproject.com/aspnet/datagridcheckbox.asp For some reason, I simply CAN'T get...
14
by: Ørjan Langbakk | last post by:
I have a form where the user has the possibility to enclose his name. email, address and phonenumber. I want to be able to check if some of the fields are filled - at least one. This is so that...
5
theaybaras
by: theaybaras | last post by:
Hi, I'm still getting a feel for some things in Access. What I have is a database of scientific articles. I have an unbound memo field in which I want to have the APA style citation concatenated...
19
Frinavale
by: Frinavale | last post by:
Filtering user input is extremely important for web programming. If input is left unfiltered users can input malicious code that can cripple your website. This article will explain how to make...
3
by: sweetamy | last post by:
i am making an html form......it should check the values before accepting the data in the database,,,,,,,,,,,,,a field name USER NAME should check if the value entered is only a character value nd...
0
by: readnlearn | last post by:
hai, i have written this below code for displaying captcha image whenever i entered incorrect uname,password in login page. for that i disable the controls of captcha like textbox,labels,button and...
1
by: ncsthbell | last post by:
I created a database using full blown access 2007. I have put it out for users to grab and test using Runtime Access 2007. They have entered data and now I need to go back into a table and change a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.