Search Results - VBForums

Search:

Type: Posts; User: KGComputers

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds; generated 6 minute(s) ago.

  1. Replies
    2
    Views
    69

    VS 2005 Re: cannot update password

    Hi,

    You need to add a uname parameter.



    cmd.Parameters.Add(New OleDb.OleDbParameter("@conpass", confirmnewpasswordtxt.Text))
    cmd.Parameters.Add(New OleDb.OleDbParameter("@uname", uname))
  2. Replies
    3
    Views
    83

    VS 2008 Re: Finding lower values in a grid view

    This forum has Database FAQ and articles on Parameters. :)

    VBForums Database-Development-FAQs-&-Tutorials
    Database-Why-should-I-use-Parameters-instead-of-putting-values-into-my-SQL-string

    KGC
  3. Replies
    1
    Views
    87

    Re: htmlencode and htmldecode

    Since Hello World is inside the script tags which is javascript, you can't set it as innertext of the script element. Instead,
    you show it to the browser using document.write();


    string itemData...
  4. Re: JavaScript:__DoPostback commands not working on a couple pages

    Hi,

    Where do you put the extender in your aspx markup? Can you post your aspx as well?

    KGC
  5. VS 2010 Re: Auto Increment Id should be shown in text box visual basic 2010 express

    Agree with digitalShaman and it's not a good practice to create ID's on user input as this will create issues for a multi-user setup.
    However, you can retrieve the inserted record's ID and show it...
  6. Re: The remote server returned an error: (413) Request Entity Too Large.

    NP.. :) :thumb:
  7. Replies
    5
    Views
    194

    Re: Problems adding rows to a DataGrid

    In my case, I created a property AllDataItems of type ObservableCollection<DataItems>, then in the code below,
    I added a collection changed event to monitor any changes to collection like...
  8. Replies
    5
    Views
    194

    Re: Problems adding rows to a DataGrid

    Try adding a RowEditEnding with Commit checking to trace any changes to your observable collection object. Given that you are entering new item to a new item placeholder.



    private void...
  9. Re: The remote server returned an error: (413) Request Entity Too Large.

    If it's a REST service, use webHttpBinding.


    <bindings>
    <webHttpBinding>
    <binding
    maxBufferPoolSize="2147483647"
    maxReceivedMessageSize="2147483647"
    ...
  10. VS 2010 Re: ERROR: System.Web.HttpException: Unknown server tag 'asp:ScriptManager'

    Hi,

    See this link: AJAX: Unknown server tag 'asp:ScriptManager'.

    KGC
  11. Replies
    5
    Views
    194

    Re: Problems adding rows to a DataGrid

    Given that your DataItem class implements INotifyPropertyChanged, you need to add Mode and UpdateSourceTrigger
    in your data grid columns.


    <DataGrid AutoGenerateColumns="False"...
  12. Re: datasource of dropdownliist in a DataList

    Great! Don't forget to mark this thread as 'Resolved'.. :)

    KGC
  13. Re: Generate auto number in textboxes in vb.net

    Hi,


    I called this function in page_load
    Is this an ASP.NET application? Aside from page load, does GetAutoNumber() method get called after postback such as button click?

    KGC
  14. Replies
    5
    Views
    149

    Re: VB Studio 2005

    using LinearGradientBrush to handle gradients.


    Private Sub Form1_Paint(sender As System.Object, e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint

    Dim color As...
  15. Re: Issue in Error: Out of Memory in vb.net

    Hi,

    You are declaring memory stream objects w/o disposing them. See MSDN for MemoryStream.
    MSDN Memory Stream


    KGC
  16. Re: datasource of dropdownliist in a DataList

    What's the corresponding query in this method?


    ta.ta_SLA_DictionarForLunar_Get(loMarcaDL, loAnulDL, loLunaDl, loActivity)
  17. VS 2005 Re: Make webbrowser1 click a button on a webpage

    See this thread as reference (Perform login using a form): RESOLVED-Unwanted-Looping-Message-Box

    KGC
  18. Replies
    4
    Views
    252

    VS 2012 Re: Debugging issues with VS 2012

    Have you registered asp.net 4 using aspnet_regiis (asp.net iis registration tool)?

    if yes, then try another approach which is changing servers for debugging: ...
  19. Replies
    0
    Views
    393

    ASP.NET MVC TextBox Helper Watermark

    Hi,

    In Winforms or WPF, we set an initial text to a textbox control if it's blank using watermark. In ASP.NET MVC, this can be achieved by adding the placeholder attribute which is defined as one...
  20. Re: How to prevent "Object not set to an instance of an object" error?

    :thumb:..Don't forget to mark this thread as resolved..

    KGC
  21. Re: How to prevent "Object not set to an instance of an object" error?

    Add some checking on strComments before using it.


    'check if object is not null
    If stcComments IsNot Nothing Then
    For x As Integer = 0 To stcComments.Length - 1
    '.....
    ...
  22. Replies
    4
    Views
    252

    VS 2012 Re: Debugging issues with VS 2012

    The only thing I can think of is Unit Testing specific controllers that throws exceptions. Have you tried this approach?

    KGC
  23. Replies
    2
    Views
    146

    Re: Datagridview currency rounding

    You may perform custom sorting(numbers/currency) in the DataGridView's Sort.Compare event.
    DataGridView.SortCompare Event
    How-to-sort-a-DataGridView-Column-numerically

    KGC
  24. Replies
    1
    Views
    228

    Re: Modify Ecel Query

    You mean, execute a query in C#?


    OleDbDataAdapter DA = new OleDbDataAdapter("Select fname, lname From MasterSalesInvoice Where invoice = 'Not Paid'");


    KGC
  25. Replies
    27
    Views
    659

    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
  26. VS 2013 Re: Unwanted Looping Message Box

    Dont forget to mark this thread as 'Resolved'.. :)
  27. Replies
    5
    Views
    198

    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...
  28. Replies
    10
    Views
    269

    VS 2010 Re: DataGridView Column Sort

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

    KGC
  29. 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....
  30. 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
  31. Replies
    5
    Views
    198

    Re: StreamWriter messing up last line

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

    KGC
  32. 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
  33. Replies
    1
    Views
    759

    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
  34. 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.
    ...
  35. 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...
  36. 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...
  37. Re: [RESOLVED] Document Fully 100% Completed

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

    -KGC
  38. 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...
  39. 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())
    {
    ...
  40. Replies
    9
    Views
    308

    Re: need help with code

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

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.