Search:

Type: Posts; User: nikel

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    3,729

    Re: Is there a library that validates strings

    Wikipedia is banned in my country, I have general knowledge about torrenting, of course I'll need to learn more about it. Thanks for your reply.
  2. Replies
    6
    Views
    3,729

    Re: Is there a library that validates strings

    Hi I don't know all of them yet but I pasted an example GID at https://gist.github.com/onurcan19772/8e9b51b00374e0baa99c375aa594618b

    and some token:
    e6c3778f-6361-4ed0-b126-f2cf8fca06db
  3. Replies
    6
    Views
    3,729

    Re: Is there a library that validates strings

    Hi, I edited my post.
  4. Replies
    6
    Views
    3,729

    Is there a library that validates strings

    Hi, is there a library that checks against the types I stated above? It doesn't matter if it's C# C++ another library. These are data types used by a download manager / bittorrent client.



    ...
  5. Replies
    7
    Views
    6,455

    Re: [RESOLVED] Get child controls in a control

    I've already fixed them except for 3 and 4 :wave:
  6. Replies
    7
    Views
    6,455

    Re: Get child controls in a control

    Hi thanks for helping. I did it like this

    public Object GetOption()
    {
    Object o = new Object();

    /*
    TextBox1 = new TextBox
    {
    Location = p,
  7. Replies
    7
    Views
    6,455

    Re: Get child controls in a control

    Hi, I edited my post. The problem isn't location, I get 2 dialogs in my loop instead of 4.
  8. Replies
    7
    Views
    6,455

    [RESOLVED] Get child controls in a control

    Hi I'm trying to iterate through controls from main form. I'm getting 2 controls while I'm expecting 4. Here's my code so far

    public Object GetOption()
    {
    Object o = new Object();

    ...
  9. Replies
    11
    Views
    35,636

    Re: Retrieving and Saving Data in Databases

    Anyway I had duplicate code I removed them.
  10. Replies
    11
    Views
    35,636

    Re: Retrieving and Saving Data in Databases

    private void GetData()
    {
    // Retrieve the data.
    this.adapter.Fill(this.dataTable);

    // The table can be used here to display and edit the data.
    ...
  11. Replies
    2
    Views
    3,299

    VS 2017 Re: Selecting DataGridView Rows Programatically

    Hi, thanks for the reply any warning. I need rows of dgv to be selected programmatically. For example if run the code above,

    1. Open the program, row: 0 is selected by default
    2. I select...
  12. Replies
    2
    Views
    3,299

    VS 2017 Selecting DataGridView Rows Programatically

    Hi I have some code in my datagridview's CellMouseDown event to select multiple rows.

    It takes back my selection, after doing multiple selections over 1 time. How can I fix this? Note: I don't...
  13. Re: Getting All Values Using Where Clause in SQLite

    Hi geek, thanks for helping. Should I remove join's and where clause and create relations in C# class?
  14. Re: Getting All Values Using Where Clause in SQLite

    So my structure is correct?
  15. Re: Getting All Values Using Where Clause in SQLite

    I'm following your tutorial and changing several things. I tried the sql above for insert command using SQLite Manager. I got error: near "VALUES": syntax error

    INSERT INTO "tbl_sheet"
    SELECT (...
  16. Re: Getting All Values Using Where Clause in SQLite

    I tried your suggestion before, let me try again. I'll post here what happened.
  17. Replies
    5
    Views
    6,756

    Re: Database Error There is no row at position 2

    I can't tell which line it occurs at, actually it's not an error but timer I use hangs. Here's some more console output


    'thm_notalar.exe' (CLR v4.0.30319: thm_notalar.exe): Loaded...
  18. Replies
    5
    Views
    6,756

    Re: Database Error There is no row at position 2

    Hi thanks for the reply. If I set them to


    dataTable.Rows[currentId - 1]["id"]

    I get error
    Exception thrown: 'System.InvalidCastException' in mscorlib.dll
    Object cannot be cast from DBNull...
  19. Replies
    5
    Views
    6,756

    Database Error There is no row at position 2

    Hi, I'm trying to fill some text boxes and a listbox. I have this code:

    DatabaseOperations databaseOperations = new DatabaseOperations();

    dataTable = new DataTable();
    dataTable =...
  20. Getting All Values Using Where Clause in SQLite

    Hi, I have a database and I want to get all records (regarding given argument) using the command ExecuteNonQuery. Is this possible?
  21. Replies
    3
    Views
    4,650

    Re: Getting All Properties Of A Control

    Thank that helped a lot.
  22. Replies
    3
    Views
    4,650

    [RESOLVED] Getting All Properties Of A Control

    Hi I have a webbrowser on my form and having problem with getting its values. I followed the page Question about How to loop through all the properties of a class

    Type type = Browser_Wb.GetType();...
  23. Replies
    4
    Views
    1,557

    Re: Normalization for SQLite database

    :) I messed up everything sorry
  24. Replies
    4
    Views
    1,557

    Re: Normalization for SQLite database

    Hi, thanks for the reply. I mean should I do something like:


    +----+-----------+------------+----------+-------------+
    | id | sometable | othertable | name | surname |...
  25. Replies
    4
    Views
    1,557

    Normalization for SQLite database

    I have some tables in my database and there are duplicate records which I want to fix. These tables contain duplicate names across themselves: tbl_compiler, tbl_notation_person, tbl_preparer,...
  26. Replies
    7
    Views
    927

    Re: [RESOLVED] Can't get data using SQLite

    It OK jc. I hope I'll fix that.
  27. Replies
    7
    Views
    927

    Re: Can't get data using SQLite

    Whoaw you're great. I removed inner joins beginning from the end and noticed that "tbl_taken_from" is the problem. The table was empty and I added 1 record to it. Then it worked well. Why is this...
  28. Replies
    7
    Views
    927

    Re: Can't get data using SQLite

    Hello thank you for your reply. I tried the sql using SQLite Manager (Firefox addon) and couldn't get any rows again. I can't think of something to convert the sql to a basic query.

    EDIT: I added ...
  29. Replies
    7
    Views
    927

    [RESOLVED] Can't get data using SQLite

    I have several tables in my SQLite database and am using inner join command. Do I have to create datatables for each table in database? Here's my code:

    private void LoadData()
    {...
  30. Re: WebClient downloads xls file with content “session expired”

    Can this post be moved to VB.Net category?
  31. WebClient downloads xls file with content “session expired”

    I'm trying to download some excel files using C#. The original files have no extension and when I check they contain only this string:


    <?xml version="1.0" encoding="ISO-8859-9"?><err...
  32. ArgumentOutOfRangeException when toolstripmenuitem click

    Hello, I'm trying to pass a variable from main form to child form. The code below is giving me error:

    An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
    ...
  33. Replies
    9
    Views
    3,116

    Re: Prevent getting duplicate records

    OK I fixed it. When the program first loaded, there was a command builder and I got rid of it. Instead I used selectcommand. Thanks for the helps.
  34. Replies
    9
    Views
    3,116

    Re: Prevent getting duplicate records

    bump
  35. Replies
    9
    Views
    3,116

    Re: Prevent getting duplicate records

    Here's my new record function:

    private void addNew_tsmi_Click(object sender, EventArgs e)
    {
    info_lbl.Text = "yeni program ekleniyor";

    List<string> list = new List<string>();
    int number;
    ...
  36. Replies
    9
    Views
    3,116

    Re: Prevent getting duplicate records

    These duplicates occur one time. If I restart my program it doesn't have any duplicates, I get them when I save new record. Another strange thing is a few records aren't duplicated. Can anyone help?
  37. Replies
    9
    Views
    3,116

    Re: Prevent getting duplicate records

    thank you for your reply.
  38. Replies
    9
    Views
    3,116

    [RESOLVED] Prevent getting duplicate records

    Hello, I have a database and if I call GetData() I'm getting duplicate records on DataGridView. Here's my code:

    private void GetData()
    {
    // Retrieve the data.
    ...
  39. Replies
    4
    Views
    4,375

    Re: Can't add integer to database

    list[1] is empty. How can I get text from combobox properly?
  40. Replies
    4
    Views
    4,375

    Re: Can't add integer to database

    It adds strings but not integers. Heres the query:

    SQLiteCommand insert = new SQLiteCommand(
    "INSERT INTO tbl_programs " +
    "(int_isSelected, txt_programName, int_is86, int_is64, " +...
Results 1 to 40 of 200
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width