I have here a small problem, namely when ppl try to register on the website with their email i want to check in DB if there already exists that email adress or not. But i dont really know how to do it with LinqDataSource, can anyone help me and give me a small example.
In this case i want to get like 0 or 1 if the email already exists, but what if i want to get the email or maybe a whole record to manipulate it etc.
What ive tried now is this (but it is wrong i might even went a wrong way):
protected void btnRegister_Click(object sender, EventArgs e)
DataClassesDataContext db = new DataClassesDataContext();
and this is the storedprocedure1
ALTER PROCEDURE dbo.StoredProcedure1 @Email nvarchar(50)
SELECT * FROM table1
But as i already said it might be totaly wrong way that im going, i was just trying everything, but i want to do it with LinqDataSource somehow.
Waiting for responses
View Complete Post