Search Results - VBForums

Search:

Type: Posts; User: KGComputers

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. VS 2010 Re: i want to split textbox to smaller textboxes

    Don't forget to mark this thread as resolved.

    KGC
  2. VS 2010 Re: i want to split textbox to smaller textboxes

    Oh, thanks for pointing it out.. :)
  3. VS 2010 Re: i want to split textbox to smaller textboxes

    Use string split for that requirement.



    Dim combination As String
    Dim combinations() As String
    combination = "10962-10532-33154"
    combinations = combination.Split(New Char() {"-"c})...
  4. VS 2010 Re: Setting Image Button URL in code behind

    Hi,

    Normally, the image doesn't get updated on your sorting event because you rebind your Gridview control with new datasource.
    Hence, the control has been re-initialized.

    Try updating the...
  5. Replies
    0
    Views
    232

    Bootstrap Modal Dialog in ASP.NET 4.5

    Here's a simple demo on using bootstrap modal dialog in asp.net 4.5 webforms. First is to reference jquery, bootstrap.min.css and bootstrap.min.js in your aspx markup.



    <script...
  6. Replies
    6
    Views
    204

    Re: ASP.NET Web Site Administration Tool

    Maybe you should run aspnet_regiis tool again.

    KGC
  7. Replies
    6
    Views
    204

    Re: ASP.NET Web Site Administration Tool

    What is the default browser of your asp.net project? If it's chrome or firefox, change it to IE.

    KGC
  8. VS 2010 Re: VB 2010 Close webbrowser without messagebox?

    It works on status text changed event of the control. Maybe in your case, it would be a different event.

    KGC
  9. VS 2010 Re: VB 2010 Close webbrowser without messagebox?

    So i guess it's a confirm/alert dialog. See this link disabling-alert-window-in-webbrowser-control

    KGC
  10. VS 2010 Re: VB 2010 Close webbrowser without messagebox?

    Hi,

    Have you tried setting the WebBrowser1 ScriptErrorsSuppressed property to true?

    KGC
  11. VS 2008 Re: Must Declare Scalar VAriable @PurchaseID

    Hi,

    Your using cmdSql in your second With Statement (PurchaseDetail). Replace it with cmdSql2.

    it should be:


    With cmdSql2
    .Parameters.Add("@PurchaseID", SqlDbType.Int).Value =...
  12. Replies
    0
    Views
    405

    WPF DataGrid Sortable Column Header

    Here's an example of sorting records through a WPF Datagrid Column Header.

    Customer class:


    public class Customer
    {
    public String FirstName { get; set; }
    public String LastName {...
  13. Re: GridView in Repeater - GridView's CommandArgument Needs field from Repeater

    Hi FD,

    After reading the MSDN on GridView, I stumbled on a property called DataItemContainer. This references a gridview's item container. In that case, a repeater item. Inside that repeater items...
  14. Re: GridView in Repeater - GridView's CommandArgument Needs field from Repeater

    In theory, I tested your issue with the setup below. I'm using data tables and classes for Gridview and Repeater Binding

    Person Middle 1[+]
    Peter - Edit
    Laura - Edit
    Cris - Edit...
  15. Re: GridView in Repeater - GridView's CommandArgument Needs field from Repeater

    Yes, you can get them through the repeater item command and store them through ViewState or Session. But I made few changes to your gridview aspx markup.


    <asp:Repeater ID="ChildClassesRepeater"...
  16. VS 2010 Re: Popup message (Your Browser is not supported) in my Webbrowser-VB.net2010

    Hi,

    What is the version of Internet explorer in your pc?

    KGC
  17. Replies
    2
    Views
    110

    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))
  18. Replies
    7
    Views
    200

    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
  19. Replies
    1
    Views
    268

    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...
  20. 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
  21. 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...
  22. Re: The remote server returned an error: (413) Request Entity Too Large.

    NP.. :) :thumb:
  23. Replies
    5
    Views
    286

    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...
  24. Replies
    5
    Views
    286

    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...
  25. 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"
    ...
  26. VS 2010 Re: ERROR: System.Web.HttpException: Unknown server tag 'asp:ScriptManager'

    Hi,

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

    KGC
  27. Replies
    5
    Views
    286

    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"...
  28. Re: datasource of dropdownliist in a DataList

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

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

    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...
  31. 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
  32. Re: datasource of dropdownliist in a DataList

    What's the corresponding query in this method?


    ta.ta_SLA_DictionarForLunar_Get(loMarcaDL, loAnulDL, loLunaDl, loActivity)
  33. 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
  34. Replies
    4
    Views
    296

    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: ...
  35. Replies
    0
    Views
    777

    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...
  36. 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
  37. 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
    '.....
    ...
  38. Replies
    4
    Views
    296

    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
  39. Replies
    2
    Views
    159

    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
  40. Replies
    1
    Views
    345

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