Search:

Type: Posts; User: moxid

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    752

    VS 2015 Re: expression to filter bindingsource

    it is c# becaus i thought the expression might be same however i tried your code but a few things are underlined.
  2. Replies
    8
    Views
    752

    VS 2015 Re: expression to filter bindingsource

    i think first i need to trim the Value since it has the time also, which we dont want and then we need to compare it with DateTime.Today
  3. Replies
    8
    Views
    752

    VS 2015 Re: expression to filter bindingsource

    bestellungenBindingSource.Filter = String.Format("Zubereitungszeitpunkt not like DateTime.Now.ToString('dd/MM/yyyy')");
  4. Replies
    8
    Views
    752

    VS 2015 Re: expression to filter bindingsource

    But when i do: MessageBox.Show(DateTime.Now.ToString("dd/MM/yyyy")); it has exatcly the same format as my stored values (just without the time).
  5. Replies
    8
    Views
    752

    VS 2015 expression to filter bindingsource

    Dear friends:
    the column is of type String and is holding values like 27.04.2018 21:44 and i want to filter the column so that all the records are filtered out that dont have the date of today.
    I...
  6. Replies
    3
    Views
    2,281

    Re: empty datarowview cell

    Thanks, i was a little bit confused. i just used == 0 it works too.
  7. Replies
    3
    Views
    2,281

    empty datarowview cell

    ((DataRowView)kundenBindingSource.Current).Row.Field<double>(11)


    with this i can get the value of the 11. column but what if i wanted to check wheter the value is empty, how would i do that?
    ...
  8. Replies
    5
    Views
    699

    Re: html request to get longitude and latitude

    Thank you! this helped me alot.
  9. Replies
    5
    Views
    699

    Re: html request to get longitude and latitude

    Ok i found another soloution to receive the informatiosn in xml format.
    now comes my question i want to use xml.linq to read this xml document. until the element "location" and receive the value of...
  10. Replies
    5
    Views
    699

    Re: html request to get longitude and latitude

    https://developers.google.com/maps/documentation/geocoding/intro?hl=en

    it is json they say.

    and in the browser it says json

    Screenshot:...
  11. Replies
    5
    Views
    699

    html request to get longitude and latitude

    dear friends,
    i am trying to get the longitude and latitude of a city via zip code (postcode)

    the json output looks like this (it is automaticly shown in a new broser tab)




    results
    0
  12. Replies
    1
    Views
    716

    5.0 [RESOLVED] autocompletestring public

    I want to create for each row in my datatable a autocompletestringcollection. i have to use a loop and loop through the rows and create a autocompleteestringcollection for each row. i tried


    ...
  13. Replies
    2
    Views
    803

    VS 2017 Re: one form for 2 things

    Thank you very much! It works.
  14. Replies
    2
    Views
    803

    VS 2017 [RESOLVED] one form for 2 things

    Dear friends,

    i tried to find a soloution for this but i just dont know what the best way is.
    I have a form (form2) with a datagridview and bindingsrouce containing all customers.

    Now in one...
  15. Replies
    2
    Views
    922

    5.0 Re: simple linq command

    Thanks you very much! Helped me.
  16. Replies
    2
    Views
    922

    5.0 [RESOLVED] simple linq command

    Hello dear friends,

    i was wondering what this command would look like if i do it in linq instead bindingsource.filter:


    kundenBindingSource.Filter = String.Format("CONVERT([Id],System.String)...
  17. Replies
    14
    Views
    2,137

    VS 2015 Re: declare sql variable

    You guys are right, the tableadapter ist not made for difficult sql querys, also the declaration works, there are alot of bugs and visual studio gives me errors. So i am doing the query without...
  18. Replies
    14
    Views
    2,137

    VS 2015 Re: declare sql variable

    I am putting this into the tableadapter > add new query > update method

    Using it without variables it works..
  19. Replies
    14
    Views
    2,137

    VS 2015 Re: declare sql variable

    Can u tell me what is wrong with this? VS Error: The Sql Construct "Declare" is not suported



    DECLARE @Bestellvar INT
    SELECT @Bestellvar = Bestellungen + 1 FROM Kunden

    UPDATE Kunden
    SET...
  20. Replies
    14
    Views
    2,137

    VS 2015 [RESOLVED] declare sql variable

    Hello,

    i have a simple problem which i can not solve on my own.

    in my sql query i have got:

    DECLARE @myvar int = columnname + 1
    which doesn´t work.

    this works:
  21. Replies
    41
    Views
    6,222

    Re: Combine / Merge two buttons' actions

    Hello, i dont recomend this method and i also don´t recommend the method you are receiving the source code and the innertext of an element. Unforteanatly the google source page gives back an empty...
  22. Replies
    41
    Views
    6,222

    Re: Combine / Merge two buttons' actions

    The problem is that you dont get any result from google there is just a empty string in the source code.
    <span id=result_box class="short_text"></span>

    And you have to put the word you are...
  23. Replies
    5
    Views
    1,464

    VS 2015 Re: bindingsource filter whole table

    Selecting a record form parent table displays all records from child table this is ok, i want it to happen. But as i said putting something in the textbox should filter the whole table not only the...
  24. Replies
    5
    Views
    1,464

    VS 2015 Re: bindingsource filter whole table

    Hello dear friend,

    I have a textbox where i want to filter the WHOLE child table and not only the records that are shown in the child table when making a selection in the parent table. Because...
  25. Replies
    41
    Views
    6,222

    Re: Combine / Merge two buttons' actions

    They way you are trying to receive the sourcecode is totaly wrong. Also use the html agility pack for parsing source code.
    here is a example of one of my projects, maybe it helps you.



    Try
    '...
  26. Replies
    5
    Views
    1,464

    VS 2015 bindingsource filter whole table

    Hello dear friends,

    i have 2 tables and they are related to each. When selecting a record of the parent table of course all the record of the child table are shown in the datagridview. Now I want...
  27. Replies
    1
    Views
    908

    VS 2015 Insert to tableadapter and parent table key

    Dear forum,

    i want to insert a new record into my table adapter. this table contains a foreingkey and i want his foreingkey to be added automaticly. do i have to use :



    Dim row =...
  28. Replies
    3
    Views
    573

    VS 2015 Re: sql query to string

    Works perfect! And i also put the displaymember top of datasource as u said. Thanks you very much.
  29. Replies
    3
    Views
    573

    VS 2015 sql query to string

    Hello dear friends i fill my listbox with this code:




    ListBox1.DataSource = ZutatenTableAdapter.innerjoinGetdata(myInteger)
    ListBox1.DisplayMember = "bezeichnung"


    This works...
  30. Replies
    4
    Views
    1,193

    VS 2015 Re: simply deserialze problem

    This is exactly what i was searching for. Thanks!
  31. Replies
    4
    Views
    1,193

    VS 2015 Re: simply deserialze problem

    no errors. it is this line of code:
    deserial.Deserialize(swread)

    because when i do outside of the class:
    mycl = CType(deseria.Deserialize(swread), Class1)
    it works

    but inside the...
  32. Replies
    4
    Views
    1,193

    VS 2015 [RESOLVED] simply deserialze problem

    Dear friends,

    why does the deserialization not work? All Strings are empty. This sub is in my class1.



    Public Sub deserial()

    Dim deserial As New XmlSerializer(GetType(Class1))
    ...
  33. Replies
    3
    Views
    831

    VS 2015 Re: foreingkey value -1

    ParentTable:
    Dim row = DirectCast(BestellungenBindingSource.AddNew(), DataRowView)
    row(1) = Kunde
    row(2) = Datumnow
    BestellungenBindingSource.EndEdit()...
  34. Replies
    3
    Views
    831

    VS 2015 foreingkey value -1

    Dear friends,

    i have 2 Datatables and they are related to each with relationship in dataset.
    Now when i add a new row to the bindingsource, the id of the parent table is of course -1.
    And the...
  35. Replies
    7
    Views
    1,579

    VS 2015 Re: Add row to datatable without save

    Thank your very much! This thread helped me a lot.
  36. Replies
    7
    Views
    1,579

    VS 2015 Re: Add row to datatable without save

    Sorry i guess i found it out:

    Dim row = DirectCast(bindingsource.AddNew(), DataRowView)

    row(0)= value
    row(1)=value
    row(2)=value
    Bindingsource.EndEdit
  37. Replies
    7
    Views
    1,579

    VS 2015 Re: Add row to datatable without save

    So to add a "temporay" row you recommend me to add the record to the bindingscource instead of adding the row to datatable right?

    Also how can i pass my values into the addnew method? When i try...
  38. Replies
    7
    Views
    1,579

    VS 2015 [RESOLVED] Add row to datatable without save

    Hello dear friends what is the best way to add a row to a datatable and display it in the datagridview? i need to add row temporarley without calling update method of tableadapter.If user cancel...
  39. Replies
    2
    Views
    431

    VS 2015 Re: pass value to form2

    Thank you very much!
  40. Replies
    2
    Views
    431

    VS 2015 pass value to form2

    Dear friends,

    i am trying to pass an integer to form2 i tried:



    form1//

    Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
    Dim frmArtikel As New...
Results 1 to 40 of 184
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width