I would like to create users for ASP.Net page, but I want each user to view different objects on the page. For instance, I want the Admin user to view all three datagrids, but all the other users should only see two datagrids. Where do I start?
BC30451 I get this error. Membership and createStatus are not declared.
The error comes from the following line
Dim newUser As MembershipUser = _Membership.CreateUser(Username.Text, Password.Text, _Email.Text, passwordQuestion, _SecurityAnswer.Text, True, _createStatus)
It says that...
I would like to save an ASP file .aspx and send it to my boss. He doesn't have the Visual Studio. How do I compress the file, so that it will small enough for me to send it the boss of mine?
I would like to save an ASP file and send it to my boss. He doesn't have the Visual Studio. How do I compress the file, so that it will small enough for me to send it the boss of mine?
The following code gives an error on every single line of code.
Imports System.Xml
Imports System.Xml.XmlReader
Dim SQLXMLReader As XmlReader
SqlCommand.CommandText = "GetZipcodesForDistance"
SqlCommand.CommandType = CommandType.StoredProcedure
SqlCommand.Connection...
What is wrong with this code? It produces 7 errors, but I copied it almost word for word from an online article.
Imports System.Xml
Imports System.Xml.XmlReader
Dim SQLXMLReader As XmlReader
SqlCommand.CommandText = "GetZipcodesForDistance"
SqlCommand.CommandType =...
I have a stored procedure
GetZipcodesForDistance( _
Application("outputTextBox"), _
Application("radiusTextBox"))
I would like to assign the query result of the procedure GetZipcodesForDistance into a data set zipcodedistance. I have a for loop to display the...
I have a stored procedure
GetZipcodesForDistance( _
Application("outputTextBox"), _
Application("radiusTextBox"))
I would like to assign the query result of the procedure GetZipcodesForDistance into a data set zipcodedistance. I have a for loop to display the...
Can a textbox be bound to a database or stored procedure? I would like to connect a textbox to a database. More specifically, I would like to pick a value in the textbox and have selected all the rows in the database that have that value in the textbox. What hints can you give me? Thanks.
I am trying to create a database in .net 2.0 which has to be an .mdf file. But I have the .dbo file in SQL Express. How do I convert from .dbo to .mdf file?
If I would like to connect SSMS with .Net, and I would like to connect a procedure in Transact-SQL with a Project in .Net studio, how do I do the configuration? Or how do I call procedure from SSMS?
I need a stored procedure. The stored procedure will analyze the length of the zip code. If the length is 5 you select against the USA table, if it is 6 (with no space) or 7 (with space) select from the Canada table. How do I start? What command parses a varchar zipcode?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.