No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am new to ASP.Net and am building an MVC project in VS2013 I have the following actionResult public ActionResult Index() { LaundryUsers db = new LaundryUsers(); var users = db.Laundries.Where(u => u.UserId == WebSecurity.CurrentUserId); if (users == null) { return HttpNotFound(); } return View(users); } The result always throws … |
|
I have a piece of code that works for adding multiple rows to a dataset but I think that it is a lot of code and thought maybe someone may know a better way of doing it. I need to add rows to the dataset based on the selection of … |
|
I have a problem trying to copy 3 fields on a form to a database. The reason I cannot seem to do it is that the last field asks how many copies you want to save in a combo box. So lets say the user selects 3 I need to … |
|
Hi guys, I will start by saying what I need my project to do! I have two Datagrids, One grid has all the customers garments on it with style number and contact length. The other grid has the users who have garment issued to them. the style number is in … |
|
Hi Guys, I have a problem getting my head around an issue with printing labels. I can get my program to print a single label from gaining the ID number for that record and using the e.drawstring method but I need to print multiple labels say from one persons ID … |
|
I cannot seem to get the datagrid to update with the correct data from the combobox selection the program just crashes. Do I need to bind to the combobox some how?? Any help or advise would be apreciated [CODE] Private Sub cboBarcodeInCust_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … |
|
not too sure why this problem is happening. I can update the dataset from a textbox but then when I click the update button it is showing an error "Object reference not set to an instance of an object." The dataset is empty when I try to run the update. … |
|
I am not too sure if this is easy or not but I have a datagrid with a return date field. All I want to happen is if any of the dates in the grid are before the current date Datetime.Now then turn a picturebox to visible. I have had … |
|
I have a main form with a combobox linked to a dataset when the user selects an account I have another form that opens the customers details on it. I can get it to display the first customer in the combobox but if select a different customer the form loads … |
|
I am studying vb.net and am trying to develop a data access program I am getting the following error when I try to add a new record to the dataset. Any help would be great error " Input string was not in correct format. Could not store<LinenIndex> in LinenItemsID colomn … |