Search Results - VBForums

Search:

Type: Posts; User: KGComputers

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    18
    Views
    455

    Re: many data with few textboxs

    Make sure that the BindingSource.DataSource has records and that your DataGridView control has columns.
    MSDN DataGridView.AutoGenerateColumns Property

    KGC
  2. Replies
    8
    Views
    177

    VS 2013 Re: Unwanted Looping Message Box

    Dont forget to mark this thread as 'Resolved'.. :)
  3. Replies
    5
    Views
    156

    Re: StreamWriter messing up last line

    public override string ToString()
    {
    return first_name + "\t" + last_name + "\t" + email;
    }

    How about inserting the email only, will it work (retains the .com)?

    public override string...
  4. Replies
    4
    Views
    126

    VS 2010 Re: DataGridView Column Sort

    DGV.Columns(12)
    Your index is 12 while you only have 4 columns in DGV?

    KGC
  5. Replies
    8
    Views
    177

    VS 2013 Re: Unwanted Looping Message Box

    Using the timer will trigger the message box every 3 seconds generating unwanted looping. The code snippets below don't use timer.

    Replaced Timer Event with Webbrowser control document completed....
  6. Re: How do I code use cascading deletes in an MVC 5 internet application

    Hi,

    Your MapCompany and MapLocations has a one to many relationship? See solution here: ef-code-first-cascade-delete-on-foreign-key-one-to-many

    KGC
  7. Replies
    5
    Views
    156

    Re: StreamWriter messing up last line

    ChimpExportModel is a class right? Can you post the code for the class as well?

    KGC
  8. Replies
    8
    Views
    177

    VS 2013 Re: Unwanted Looping Message Box

    Hi,

    Welcome to the forums. :)


    Much better if you will post the code snippet as well. Wrap it with code tags for readability.

    KGC
  9. Replies
    1
    Views
    379

    Re: uable to bind grid with jsons data

    Hi,

    Here's a sample on databinding asp.net gridview using jQuery. I used webmethod approach as oppose to asmx. Databinding-ASP-NET-GridView-with-jQuery

    KGC
  10. VS 2010 Re: [RESOLVED] webbrowser not fully loading website

    @mleo1

    I had a similar task like this on how to render images in a Webbrowser control. I have submitted a sample application in VB.NET Codebank.
    ...
  11. WebBrowser Control behavior similar to Internet Explorer

    Recently,

    I was asked if the .NET Winforms WebBrowser control can emulate the behaviour of Internet Explorer like rendering of images from a website. After doing some research, I found a...
  12. Re: Comparing Data Reader Results to A String

    System.Data.DataTable datatab = dataread.GetSchemaTable();
    One thing I noticed is your returning the datatable schema rather than values which is the suggestion of JMC.

    If you really want to get...
  13. Re: [RESOLVED] Document Fully 100% Completed

    See this thread.
    Best-way-to-cast-the-Sender-object

    -KGC
  14. Re: Document Fully 100% Completed

    There's an answer on handling window.onload event. I haven't tried this approach. And it's in C#.
    See links below:
    documentcompleted-firing-multiple-times-accepted-stackoverflow-answer-not-work...
  15. Re: Show SQLDataReader Results In ONE messagebox

    You can also use StringBuilder to add a header


    StringBuilder data = new StringBuilder();
    data.AppendLine("Employee Number\tEmployee Name");
    while (reader.Read())
    {
    ...
  16. Replies
    9
    Views
    283

    Re: need help with code

    I see. I've requested the mods to transfer this thread to the appropriate subforum.. :)

    KGC
  17. Replies
    9
    Views
    283

    Re: need help with code

    Hi,

    Based from your requirement, do you need an asp.net website/application for that?

    This is more of a desktop application. am i correct?

    -kgc
  18. VS 2010 Re: Using Regex to match multiple html lines

    Regex has an option for handling multilines of string.

    'temp is your string that contains the <td> tag...
    Dim result As String = Regex.Replace(temp, "[^\d]", "", RegexOptions.Multiline)
  19. Re: HTMLAglitypack HELP! Easy Just cant figure it out!!

    There might be some href that don't have Title attribute. Add another checking for handling null HtmlAttribute objects.


    If att IsNot Nothing Then
    If...
  20. Re: HTMLAglitypack HELP! Easy Just cant figure it out!!

    See code below:


    For Each link As HtmlNode In htmlDoc.DocumentNode.SelectNodes("//a[@href]")
    Dim att As HtmlAttribute = link.Attributes("title")
    If...
  21. Re: Weird JScript Scrip File download in WebBrowser control

    You mean, you have set ScriptErrorsSuppressed property to true and same thing happens?

    -kgc
  22. Replies
    10
    Views
    173

    VS 2010 Re: String Related Functions

    It's String.Split() in .NET. There are also overloaded of Split(). See MSDN documentation here: String.Split()
  23. VS 2013 Re: TreeNode find index problem

    Here's my version using extension method FirstOrDefault() rather than index. I set searchAllChildren to true since I assume there are child nodes to search also.


    For Each tn As...
  24. Re: Best way to cast the Sender object?

    For known types, I'd use DirectCast().

    See section on Conversion Functions, CType, DirectCast, and System.Convert.
    Visual Basic .NET Internals

    fastest-casting-in-vb-net-with-a-known-type

    KGC
  25. Re: Free book on understanding execution plans

    If you have a stable internet connection, try deleting/clearing your browser cache/history.
  26. Re: Free book on understanding execution plans

    @dee-u
    I just downloaded the pdf file using different browsers. Its working.

    IE -> Right click on Free PDF Download, then Save target as...
    Firefox -> Right click on Free PDF Download, then Save...
  27. Re: Weird...master page menu button events not firing on some pages only

    So, I believe you have to remove manually the # sign through client side/javascript when a link is
    clicked.
  28. Replies
    3
    Views
    239

    Re: Assign the filed for XtraReport ?

    Actually, it's not my code. It's from DevExpress Online documentation. Their documentation has examples on subreport of XtraReport. Refer to the url provided in post #2 and navigate to their website.
  29. Re: Weird...master page menu button events not firing on some pages only

    As I reviewed your url in post# 5, the # character is added in the query string.
    Try encoding the url first.

    HttpServerUtility.UrlEncode()

    KGC
  30. Re: Weird...master page menu button events not firing on some pages only

    Did you integrate ajax update panels or jquery or javascript to your asp.net buttons in your .aspx markup/master page?
  31. Replies
    2
    Views
    101

    VS 2010 Re: Using MySqlDataReader

    Is this related to ambiguous column names issue in mysql? If yes, you can alias your columns to fix that.

    KGC
  32. Replies
    16
    Views
    261

    VS 2008 Re: WebBrowser1.Document.GetElementById

    Try this:

    Dim dobElement As HtmlElement = WebBrowser1.Document.GetElementById("dobMonth")
    dobElement.GetElementsByTagName("option").Cast(Of HtmlElement)() _
    ...
  33. Replies
    3
    Views
    239

    Re: Assign the filed for XtraReport ?

    Based from their documentation, specify DataMember with "Table" and not the table name from the database.

    // Create an empty report.
    XtraReport report = new XtraReport();

    //...
  34. Replies
    13
    Views
    309

    Re: [RESOLVED] DataTable Join

    :) :afrog::thumb:
  35. Replies
    3
    Views
    146

    Re: reportviewer error

    Check RaportChei table if it has rows/values before assigning it to rdsRaportChei report data source.
  36. Replies
    13
    Views
    309

    Re: DataTable Join

    I've added a datatable join sample in post #6.. :)
  37. Replies
    13
    Views
    309

    Re: DataTable Join

    Hmmm, i see your getting a null value.That might occur in one of those properties/datarow field(s). How about adding some checking to it. See checking
    on subpet below:


    var query = from person...
  38. Replies
    13
    Views
    309

    Re: DataTable Join

    Hi RD,

    You need to convert your IEnumerable result back to datatable.
    See article below:
    convert-list-to-datatable/
    convert-ienumerable-to-datatable

    KGC
  39. Replies
    11
    Views
    579

    VS 2012 Re: LINQ to SQL

    Dim selectQuery = From u In db.users
    from c In db.countries
    Where u.userCountryOfBirth = c.countryID New usersForGrid() With { _
    Key .Ime = u.userFirstName, _
    Key .Prezime...
  40. Re: Weird...master page menu button events not firing on some pages only

    There are workarounds shown in these threads on treating #FragmentIdentifier (hashtag).

    removing-fragmentidentifier-from-url-on-postback
    how-to-get-url-hash-from-server-side

    KGC
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.