Search results for query: *

  1. P

    EF5 Legacy Detecting a new relationship

    Hi guys, As title says im using EF5 legacy Im just wondering if it is possable and not overly complicated to 'catch' when an object is being added to another object. So i have a Car table/object and an Order table/object, im looking for something like the onpropertychanged when i add an order...
  2. P

    Passing objects through forms

    Hi guys, im looking for some help/opinions on the proper way to pass data/objects through various forms. So im using EF5 but the legacy model, I have a form that will create/load a cars details and then another form to add orders to that car. And here is how i go about it. My 'Home'(Main) form...
  3. P

    Nested Rows in DataGridView

    Hi everyone, im annoyed with myself as im sure i had some help getting this done before and im an awfull one for starting projects again and again as i find/learn better ways of doing things, but i cant find the project that i used the nested rows before and im not to great with Datagridviews...
  4. P

    Reading HTML and performing Regex

    Hi guys. Im having problems with trying to read some HTML and get the data I need. Public Sub GetItems(ByVal CharName As String, ByVal RealmName As String) Dim Request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://eu.battle.net/wow/en/character/" & RealmName &...
  5. P

    EF6 Connection Strings Dynamic

    Hey Frm_Home is the application starting form, which before anything calls the login form(Frm_Login) Public Class frm_Home Public CurrentUser As User Private db As ImageEntities Private Sub frm_Home_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load...
  6. P

    List advice

    Hi guys, I'm looking a bit of advice of the best way I should construct the list/lists/Dbtable/DBTables :S I'l try my best to stay on topic and keep it simple. I need to fill 3 properties Car.Make Car.Model Car.Colour, each property cancels out options for the next, eg VW would leave only Vw...
  7. P

    Question Filtered Select statement on Entity Framework

    Hi guys, got my lambda expression fixed as in i didn't need them, never realized i could use two arguments for comparison. I have a CheckedListBox, that holds a Collection of Cars, And a DataGridView That Displays The Cars.Orders The Problem i am getting, is the a common problem, that...
  8. P

    Resolved Lambda Expression to test two values

    hi guys, i'm looking to improve some code and get a little bit more specific with it. The CheckedListBox holds a list of cars and the DataGridView shows the cars Car.Orders Here's the code i'm using, this code doesn't do everything i need it to, but it worked to allow me to continue creating...
  9. P

    Server Help

    Hi guys, this probably will need moved, i had a quick look through the topics and didn't see anywhere to place this question, i know this is completely off topic as this is a VB.Net forum, but im hoping someone here can give me some guidance. I have a Dell Power Edge 2650 Server, got cheap and...
  10. P

    Entity Framework Help

    Didn't Know how To Title This, Sorry For Generic Title. Hi all, i am trying to do something in theory seems quite simple to me but i just cant get my head around it. I am using the Entity Framework Database First Model, and i am trying to create an invoice from a previously made order. I am...
  11. P

    Creating a Products Table

    i don't remember how i came across the video i found, but i always thought that Linq was lambda :S but now i have been watching a few videos on Linq to SQL classes, i defiantly think this is the way to go for me. but i would also like some help in creating a few tables that would be similar to...
  12. P

    Not Sure If I Can Use SQLCompact Edition

    i was reading a post and i dont remember where exactly it was, but the guy was talking about using the Sync Framework and the local Db Caching. But JMC then continued to say 4GB Database As Local Caching I Think NOT(or something very simlar) i am guessing this is a big no no, so was looking...
  13. P

    The identifier cannot be an empty string Error

    Well Guys The Title Says it all, im getting the error 'The identifier cannot be an empty string' and i cannot for the life of me work this out. i am hoping i have just been up to long programming and need to sleep, but i really cant find anything wrong in the code The Table Does Have An ID...
  14. P

    1 Connection or the other

    hi guys, i am just looking for some advise which im pretty sure will make me need to change the way im doing this. EDIT : Option Strick Will Be Used, Wont Be Using Variables Without Types I Am trying to get my application to decide which connection string and SOL components it is going to use...
  15. P

    Reading Records

    Hi Guys, not sure how to put this question so here goes. I am looking to retrieve records from a database and then create a new value from what was retrieved, so example I am looking to search a table For order Numbers related to a Car. the Order Number is going to be made up as follows Car...
  16. P

    n-tier application desing

    Hi Guys, i am buildiong an appliation that i am tying to understand and think would it be worth while turning into an n-tier application, would like some thoughts from you guys on what i think is a good idea :S been reading up on 3 tier appliocation design, but i don't think that would really...
  17. P

    offline mode and online mode?

    Hey Guys, Just looking to find out what this idea/method would be called so i can read up about it. if i was to build an application that had an offline mode and an online mode. i would like to be able to use my appliction in an offline mode as such when im out and about, then when i get home...
  18. P

    DataGridView Binding Help Please

    Hi Guys, i dont know how to bind a datagridview to another datagridview depending on the row selected The user enters the reg and it checks info already in the database When their is info it gets all the info and updates the cars property's The two DataGridView at the bottom of the picture...
  19. P

    What Is The Best Way To Confirm DataBase Enteries

    hey Guys, what is the best 'Method' of confirming database stuff. Public Function Car_Paid(reg As String) As Boolean Connection.Open() Dim CARcommand As New OleDb.OleDbCommand("UPDATE cars SET Paid = true WHERE (Reg = @Reg)", Connection)...
  20. P

    ExecuteScalar null reference

    hey guys, i understand what is happening here im, just not sure of how to work around it. Public Function CarExists(reg As String) As Boolean Using constring As New OleDb.OleDbConnection(My.Settings.DBConnectionString) Dim DA As New OleDb.OleDbDataAdapter...
Back
Top