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 IamaSherpa 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. XgrinderX

    MVC Newbie - Get Team Name Using ID in Another Table

    I am creating a softball schedule app that will be used by multiple teams. I have a table the has team info - id, name, coach, etc I have a table that has game info - id, date, teamid, opponentid, outcome Here are the two models: namespace softball.Models { [Table("tblTeams")] public class...
  2. XgrinderX

    MVC Entity Framework MSSQL and MySQL in same project

    Unfortunately that doesn't work either: Keyword not supported: 'providername' This seems like it should be simple but for some reason I can't get it. I would think this is something that would be fairly commonly needed and I can't find any concrete examples showing how to do it. Thanks for your...
  3. XgrinderX

    MVC Entity Framework MSSQL and MySQL in same project

    I updated the connection string to look more like what is shown at www.connectionstrings.com, but I still get "Keyword not supported: 'provider'" Here's what my updated string looks like: provider=MySql.Data.MySqlClient;server=localhost;database=clientdb;user id=uid;password=somepassword How...
  4. XgrinderX

    MVC Entity Framework MSSQL and MySQL in same project

    Thanks for the quick response! Here's the code I was using to generate the connection string: // Get database connection info var clientInfo = _db.ClientInfo.Find(Id); string dbProvider = clientInfo.dbType.ToString(); string dbServer = clientInfo.dbServer.ToString(); string dbName =...
  5. XgrinderX

    MVC Entity Framework MSSQL and MySQL in same project

    I am brand spanking new to MVC, leaning MVC4 at the moment due to access to a video tutorial on the subject. My project will require access to both MSSQL and MySQL. There will be a configuration table in MSSQL that holds the info for various clients, including database connection info. Some...
  6. XgrinderX

    msxml2.xmlhttp never gets past readyState 1

    Thanks for the reply - it still didn't work for me. Not sure what's going on. I figured out how to do it using JavaScript though, so it's all good.
  7. XgrinderX

    msxml2.xmlhttp never gets past readyState 1

    Here's a code sample - I have response.writes put in to see what's going on: dim o set o = server.CreateObject("MSXML2.XMLHTTP") o.open "GET", "https://www.url.com/", true o.setRequestHeader "header1", "value1" o.setRequestHeader "header2", "value2" o.onreadystatechange =...
  8. XgrinderX

    Update Session ID after login, prevent Session Fixation

    I've inherited a project that has gone through a security audit. One thing they found is that the session ID is not updating after login and this opens the application up to a Session Fixation attack. My problem is one of timing it appears. The default.aspx.vb handles the login click and checks...
  9. XgrinderX

    XML throws error on server, but not in debug locally

    Disregard - we discovered the XML response on the server was incorrect.
  10. XgrinderX

    XML throws error on server, but not in debug locally

    I have an XML response returning from a web service. It all works fine on my local machine in debug mode, but when I copy it up to the server I am getting the following error: Data at the root level is invalid. Line 1, position 1. I did some research and saw one suggestion to use .Load with a...
  11. XgrinderX

    Dynamic Service Reference from Database

    In this thread: thread855-368962 ...there is a solution for dynamically adding web reference URL using the web.config. What about if the info being used to call the service is stored in a database? Can this be done?
  12. XgrinderX

    Server.Transfer not loading template, Response.Redirect won't login

    Any ideas why Response.Redirect throws an exception when debugging from the IDE but works fine when running on the server?
  13. XgrinderX

    Server.Transfer not loading template, Response.Redirect won't login

    Is there a way to use Server.Transfer such that it will load template info? Right now I have an app that I did not right, I am maintaining, bug fixing, and adding features. One thing we added is templates - there are two templates. Depending on the URL, it loads one or the other. The logic for...
  14. XgrinderX

    CheckboxList DataBind and pre-checked boxes

    That first link you posted sent me in the right direction. I got it figured out now, just like you said - manually populating the list items did the trick. Data bind was of no use in this situation. Thanks so much!
  15. XgrinderX

    CheckboxList DataBind and pre-checked boxes

    Eh? How would I then pass the ID of the checked items over for processing?
  16. XgrinderX

    CheckboxList DataBind and pre-checked boxes

    Fairly new to ASP.NET. I have a CheckboxList that I have successfully bound to a DataTable which was generated by a stored procedure which returns several rows of data. The rows include the following fields: ID, Desc, Checked I am binding the Desc to DataTextField and the ID to DataValueField...
  17. XgrinderX

    visibility:hidden doesn't work on applet in IE9

    Apologies for the delay in my response, I figured out a fix shortly after I posted this and only today found the email notification in my spam folder. Just in case any one else has this issue, I solved the problem by first sending the applet frame to a blank.htm page, then setting the CSS to...
  18. XgrinderX

    visibility:hidden doesn't work on applet in IE9

    I have an applet that opens within a frame inside a div that overlays my main page. When the user clicks the close button, it hides the div including the applet using the following CSS: display: none; visibility: hidden; This works everywhere except IE9. Anyone have any ideas why or how I...
  19. XgrinderX

    AJAX innerHTML update, then reference the new innerHTML

    thread1600-1279426 I hope the thread reference above works. I tried both methods and could not get either to work, but I may have misunderstood. I am trying to use AJAX to load some new form fields into the page. Once those fields are loaded, I need to initialize and load some values from...

Part and Inventory Search

Back
Top