Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cmsbuffet

    cast exception

    Dim ident As CustomIdentity = CType(User.Identity, CustomIdentity) InvalidCastException was unhandled by user code. What does that mean?
  2. cmsbuffet

    users

    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?
  3. cmsbuffet

    BC30451 error

    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...
  4. cmsbuffet

    file compression

    And when I try to open Default.aspx with FireFox, it gives out an error - XML Parsing Error: not well-formed Location: file:///D:/cmsbuffet/Default.aspx Line Number 1, Column 2:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> -^
  5. cmsbuffet

    file compression

    I can put all the files in one folder. But when I click on Default.aspx to open, it opens in MSVS but not in the browser.
  6. cmsbuffet

    file compression

    Can I create all the files locally? And then send all the files, which could be recreated locally again, but this time on my boss's computer? Can I do it without running on a server?
  7. cmsbuffet

    file compression

    This file includes database code. So it is fairly big. I also need to send all the database files related to the Default.aspx file that I am sending.
  8. cmsbuffet

    file compression

    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?
  9. cmsbuffet

    file compression

    It is also connected to a database. How do I create a file, which my boss can open and see the HTML and the SQL coding? and display results in the browser?
  10. cmsbuffet

    file compression

    I have a Default.aspx file. What do I have to do with it?
  11. cmsbuffet

    file compression

    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?
  12. cmsbuffet

    results of a query

    The code below suggest to do something with data reader, what can I do with it? Database db = DatabaseFactory.CreateDatabase(); string query = "Select * from Customers Where CustomerID = @CustomerID"; DBCommandWrapper command = db.GetSqlStringCommandWrapper(query)...
  13. cmsbuffet

    results of a query

    I downloaded DAAB. Found a tutorial. The tutorial uses syntax try{ }catch(Exception ex){ } end try As in Java. But the correct syntax in ASP is Try Catch(Exception ex) trow ex; End Try Yet, this does give errors too. Weird. What do I do?
  14. cmsbuffet

    results of a query

    Are there any tutorials on how to use dataaccess block that could be helpful?
  15. cmsbuffet

    results of a query

    Ok. Would that be helpful? If yes, then how? http://www.aspnettutorials.com/tutorials/controls/data-table-vb.aspx Thanks.
  16. cmsbuffet

    results of a query

    Dim command As String command = "Select @ZipcodeID As ZipcodeID" Page.Response.Write(" " + command + " ") Dim cmd As SqlCommand cmd = New SqlCommand(command) Page.Response.Write(" " + command + " ") cmd.Parameters.AddWithValue("@ZipcodeID"...
  17. cmsbuffet

    calling procedure as per an online article

    How can I display the content of cmd. Do I use Equals or Contains? Also cmd.parameters.equals is not a string, for example, so what is the correct syntax to display the result of the query on the page? Here is the code to which I want to add a page.response.write ( Here syntax of the result of...
  18. cmsbuffet

    calling procedure as per an online article

    mySqlCommand.CommandText = "GetZipcodesForDistance" mySqlCommand.CommandType = CommandType.StoredProcedure mySqlCommand.Connection = New SqlConnection("Data Source=ANASTASIA-PC\SQLEXPRESS;Initial Catalog=ZipCodeAndDistance;Integrated Security=True;Pooling=False")...
  19. cmsbuffet

    calling procedure as per an online article

    Also, I found another piece of code. Will it help in my case? Dim command As String command = "Select ZipcodeID from zipcode where ZipcodeID = @ZipcodeID" Dim cmd As SqlCommand cmd = New SqlCommand(command) cmd.Parameters.AddWithValue("@ZipcodeID"...
  20. cmsbuffet

    calling procedure as per an online article

    mySqlCommand.Parameters.AddWithValue("@OriginalZipCode", TextBoxZipcode.Value) mySqlCommand.Parameters.AddWithValue("@Distance", distanceTextBox.Value) Yet, pops another error My guess is that I need to find a place in the code such that the code will be available for both textboxes...

Part and Inventory Search

Back
Top