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 strongm 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. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Jason.... I have only gone and worked it out dude :-) It should read DataGridview1.Datasource = dataset1.tables["Employees"]; I have actually surprised myself
  2. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    ... actually when typing in datagrid1 why am I not able to call the Setdatabindings method? or infact the DataBindings method?
  3. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    I don't understand Jason.. You talking about the IListSource? There is also a I collection and ItypedList....... and how the hell do you now this stuff off by heart? :-)
  4. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Hey, How would it know what the datasource is? In this case dataset1 (which I dragged from toolkit and filled using adapter) :-)
  5. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Ok mate. Thank you I will have a look at Agile. I have a fairly good design patterns resource to. Could one of you chaps give me some advice on the following data bind? The code seems to compile but yet the DataGrid remains grey. Any ideas? Cheers using System; using...
  6. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Thank you Jason. It does put a lot into perspective. Until about a month ago I was a Business Analyst contractor working within Government. For me it wasn't about the daily/hourly rate but the day-to-day duty and achievements. It started to get a bit repetitive and boring so I literally jut...
  7. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Thanks Bob. That makes a lot of sense. Think my problem is I'm trying to learn to much and getting very frustrated as I usually (well like t think) I pick things up fairly quickly. I was ready to throw the towel in but fater reading your post, maybe it is not to bad and everyone has to start...
  8. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Hi Jason, I do not understand - sorry. In the second block of code I have created a new Datatable called myDataTable. Then I have gave it a value by assigning mydataset.table["Customers"]..... or have I got that wrong? Isn't the first line of code just referencing the object but not holding...
  9. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Guys, Really sorry about this but I have another question (maybe more dumb that the last).... in terms of creating a table (by the book), why is it the construction is DataTable mydatatable = mydataset.Tables["Customers"]; Could we not use .... DataTable mydatatable = new DataTable()...
  10. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Thank you chaps. I totally understand now. Thanks for your time.
  11. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    oh is there a difference between a for loop and foreach loop? Sorry for being a pain mate.
  12. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Aaaaaaahhh! Makes sense now. Strange ting is it still works just as well without the curly braces as with my original post?? Sorry for bothering you mate. Thanks.
  13. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Harley, Quick question about the above.... sorry!! In the loop... foreach (DataColumn datacol in dt.Columns) Console.WriteLine(dRow[datacol]); Console.WriteLine("================"); .... I understand the loop carries the value of the first column and the prints out 'John' but why...
  14. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    No problem mate. You do understand though you are now my beacon of c# hope though - time pending of course :-) As I said in my message I sent you a facebook message and another message on your forum ... bit stalkerish I know :-) However most importantly strictly hetro :-) (people may get the...
  15. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    There is no way you two are novices. I would say errr, seasoned professionals. Cheers for that that Harley. The stupid thing is I have been using the Readline(); method all the way through learning but for some some strange reason I just didn't pick it up at this point. On a another note...
  16. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Bob, Thanks for getting back to me big guy. Regarding the 'heavy bags' I was refering to your late 1am finish last night:-) I am learning 'pure' c# as well as database c# as I go along. For the 'pure' C# I am using a book called 'headfirst c#' which is pretty good. I do tend to use...
  17. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    I'm being a tool. Sorry. Have your real name dude. Will email you or something in a sec mate. No need to reply. Cheers
  18. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    No worries on the star son, you deserve it and it is the least I can do. What is the best way to get in contact?
  19. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Harley you are an absolute Gem. That is perfect!!! I was being a complete fool. Maybe one day I can help you one day with a query if I get good enough. Not sure if it would be the correct answer to your question thought :-) Having said that I maybe working on the next Microsoft operating...
  20. UKLAD1980

    FOR LOOP NESTED QUERY FOR DATABASE

    Harley, You are an absolute living legend. I salute you. Do you want to move in with me and make me a programming genius? :-) Would it possible for you to use the example data to constuct a snippet of what is displayed at each stage so tat I can truly understand. If I am honest I'm not...

Part and Inventory Search

Back
Top