User Profile

Collapse

Profile Sidebar

Collapse
chibbie23
chibbie23
Last Activity: Aug 25 '19, 11:59 PM
Joined: Mar 3 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • This is such a newbie question. Saw the code for this

    dw_control.Obje ct.col1.update = "no"

    OR

    dw_control.Modi fy("col1.Updat e = No")
    See more | Go to post

    Leave a comment:


  • Powerbuilder: Change Updatable Columns at Runtime

    Hi,

    I don't know where to place this question, can't seem to find a topic dedicated for powerbuilder. Anyway, I have an application, I'm working on a particular window, inside this window, I have a datawindow which is updatable. The updatable columns are defined. This datawindow is retrieved during the open event (parameters were passed via openwithparm). Before I save, i check whether the columns are updated (I compare the primary...
    See more | Go to post
    Last edited by chibbie23; Jul 12 '13, 04:23 PM. Reason: Clarrifications

  • Yeah, you're right, i didn't know untill now that the application I'm maintaining is writing logs every now and then. That triggers the error for me. Thanks so much for the help.
    See more | Go to post

    Leave a comment:


  • It's a pretty old code, one of our legacy applications here. I'm aware that appending string variables over and over again may cause memory leak (that's why i prefer string builders), but does it cache it on the disk itself or just the temporary memory?

    Also, can you further explain the "compiling" part, this happens in run time of the live application.

    Thanks.
    See more | Go to post

    Leave a comment:


  • Not enough disk space on server causes some aspx to error

    I have a website that's running on windows 2000 SP4. In the server, there is the prompt "There is no enough disk space to install all available updates. Click 'Yes' for help on freeing up disk space"

    I did not do any disk maintenance, i would like to wait for the network admin to do it. However, some pages of my asp.net application started to error out. Here's the stocktrace:

    -------------------------------------------------------...
    See more | Go to post

  • Streaming Text File: How to properly convert to integer

    I have been working with one of my projects in asp.net. The user is to upload a text file. I read the file line by line, I first store the line in a string, and since the data is in a fix position, i just have to do a substring to it. I have to first validate the data in the text file before saving it to the database. I have used:

    Code:
    Dim ldt_file_data As DataTable
    Dim ldr_file_data As DataRow
    Dim lo_File
    ...
    See more | Go to post

  • I really dont know how to phrase my problem back then, however i stumbled upon some answers after googling. The answer would be to use regular expressions to remove html tags.

    something like this works, but not all the time:
    Code:
    lbl1.text = Regex.Replace(tbl.rows(0).item("details"), "<.*?>", "")
    See more | Go to post

    Leave a comment:


  • How to display just the text of a marked up field?

    Hi,

    I have a table in mssql which holds the data i display on my "News" page. I wanted the user to be able to style the details of the news, so i store the details on a column with a text data type. i use freetextbox to let the user customize the details section of the news. It's working fine when i show the whole news on a page, with the Title on the header, and the author's name and date just below it. i display the details...
    See more | Go to post

  • Hi PsychoCoder,

    Forgot to include i am using IIS7 on my Windows7 pc. But the fix is the same though. I opened the basic settings for my app pool which is asp.net v4.0 classic, and surprised to see that the .Net Framework version is set to 2.0, made that 4.0 and everything went fine.

    Thanks
    See more | Go to post

    Leave a comment:


  • Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute n

    After configuring my website in the iis manager, i select the default document of the website, which is home.aspx, when i tested it on my browser, it pops this error:

    Parser Error Message: Unrecognized attribute 'targetFramewor k'. Note that attribute names are case-sensitive.

    I made sure to it that my website which was made in vs2010, uses .net framework 4.0 and the apppool in the iis is .net framework 4.0 classic....
    See more | Go to post

  • It seems that the solution is to set the default document in the IIS manager. Though i am yet to test if this works, I thought setting a start up object in your solution will handle this.
    See more | Go to post

    Leave a comment:


  • Error on running aspx website from iis when endabledirbrowsing is off

    Hi guys, i am having trouble setting up my website using IIS manager. I think I've specified the path correctly, when enabledirbrowsi ng is off, the web browser is throwing me an error (Error 403.14 The web server is configured to not list the contents of the directory), it works fine when enabledirbrowsi ng is on, however, it prompt me the list of my directory.

    Here's the list of things i've done so far:

    1. Since i am using...
    See more | Go to post
    Last edited by chibbie23; Feb 20 '12, 03:16 AM. Reason: clarifications

  • It seems that when i try to explicitly select the fields i want, it returns an iEnumerable(of anonymous) type and CopyToDataTable method expects an iEnumerable(of Datarow) type. So the workaround is to create a datatable with columns representing the fields you want to select and then loop through the rows in the results and then add the records one at a time.

    Code:
    Dim dt as new datatable
    dt.columns.add("ID",gettype(string))
    ...
    See more | Go to post

    Leave a comment:


  • How To Join Multiple Datatables Using LINQ To Dataset

    Hi,

    I have been searching for quite a while about joining multiple datatables via LINQ to dataset (When i say multiple, i don't mean just 2!!!), and it seems there aren't lot of examples in the net. I have seen examples of joining two datatables, done that, no problem there. Now i want to join three datatables. And there's nothing i can find out there.

    For example i have a 3 datatables:

    PERSON (columns:...
    See more | Go to post

  • Hi Rabbit,

    i can get a linq with 2 datatables:

    Code:
    Dim newadtbl As New DataTable
    
        If adtbl IsNot Nothing Then
    
            Dim newatblVal =
    
                From new_col In adtbl.AsEnumerable() _
    
                From old_col In adt.AsEnumerable() _
    
                    .Where(Function(oc) new_col.Item(4).Equals(oc.Item(4)) _
    
                                AndAlso
    ...
    See more | Go to post

    Leave a comment:


  • Hi rabbit,

    here's the scenario, the user would search for a category, then the result would be bound into a repeater. Now that the user has the whole resultset in hand, I want to give them the option to export the result to excel without having to deal with reports. Before i convert the datatable to excel, i would like first to polish it, and make every record readable for users, meaning i have to do this all at the same time. That's...
    See more | Go to post
    Last edited by chibbie23; Feb 7 '12, 01:04 AM. Reason: Clarifications

    Leave a comment:


  • Hi rabbit,

    I forgot to include, i am adding the computed column to polish my table and make it more readable for users(e.g. when data in existing column = "1" then data on the added column should be "COMPLETE") , because i am exporting that table as an Excel File. Which is also the reason why i need to compute for that added column as a whole and not one at a time. Thanks
    See more | Go to post
    Last edited by chibbie23; Feb 6 '12, 07:12 AM. Reason: Clarifications

    Leave a comment:


  • Alternative way of referencing a column from another column in datatable

    I have a data table, i want to add a new column on that table, the data in that new column will depend in the data from another column. Now i can think of two ways to accomplish this, first is loop through the whole table and do the statements to get my new columns appropriate data. the second approach would be to give the new column an expression, then convert the table to xml (to remove the expression) then convert the xml string back to datatable....
    See more | Go to post

  • GOT IT!!! It seems to be the answer to this is not putting it to group header, there is a property in the table textbox name "HIDE DUPLICATES"
    See more | Go to post

    Leave a comment:


  • The client wanted the first line not only to have the name in it, but also corresponding records with it.
    If i do that, other field values for the first record would duplicate in the body.

    e.g:
    Name___________ ____Subject__Gr ade
    Adams, Matthew_____Mat h01____89
    _______________ ____Math01____8 9
    _______________ ____Comp01____9 4
    _______________ ____Psych1____8 5
    _______________ ____Lit101____9 1
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...