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...
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...
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...
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 =...
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...
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 =...
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...
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...
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?
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...
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!
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...
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...
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...
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...
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.