User Profile

Collapse

Profile Sidebar

Collapse
1333
1333
Last Activity: Aug 5 '07, 12:04 AM
Joined: Feb 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 1333
    started a topic datagrid_itemdatabound
    in .NET

    datagrid_itemdatabound

    I have this code where if the value is 1 then format the out put to yes else no.
    When I run my page the datagrid just displays the numerical values 1 and 2. When I run in debug mode my breakpoint at ** doesn't run. So I can't figure out what is happening...

    ** protected void MyDataGrid_Item DataBound(objec t sender, DataGridItemEve ntArgs e)
    {
    if (e.Item.ItemTyp e == ListItemType.It em)
    {

    Label...
    See more | Go to post

  • 1333
    started a topic Get values from datagrid in edit mode
    in .NET

    Get values from datagrid in edit mode

    I have a datagrid where I get 2 values in edit mode and pass these to a function in another class.

    I seem to be passing a NULL value to my Function.


    I figureed this out: this link helped..
    http://www.dotnetspider.com/qa/Question32587.aspx...
    See more | Go to post
    Last edited by 1333; Jul 27 '07, 01:19 PM. Reason: passing in a Null value

  • 1333
    replied to vb.net: strip path
    in .NET
    thanks everyone, with a combination of Right$ and String.Split, I have got what I need. Txs again.
    See more | Go to post

    Leave a comment:


  • 1333
    started a topic vb.net: strip path
    in .NET

    vb.net: strip path

    I have a path like this: /Folder/1/

    How can I strip away all the / and Folder to leave me with just 1 ?
    See more | Go to post

  • 1333
    started a topic Loop to create new folder
    in .NET

    Loop to create new folder

    I need to create a new folder every time the upload folder has 10 files uploaded to it. So when folder1 has 10 files, folder2 is created and becomes the upload folder, and when it has 10 files uploaded to it folder3 is created and so on.....

    Problem is that my code creates all the next folders all at once. I need it to create the next folder when it is required. i.e. when the previous folder has reached 10 files.

    If...
    See more | Go to post

  • 1333
    replied to Datalist with Edit template and custom paging
    in .NET
    I know the Protected Sub AllPendingImage s_UpdateCommand works because when I remove the PAGING code the code fires and the DB gets updated.
    When I re-add the paging code and enter edit mode on my page, I think that the id value gets changed to _Page (don't know why) and the update command doesn't fire because the value is not an integer. I have wrapped the code in a Try/Catch but that doesn't throw up any errors - so I'm stuck. Any ideas would...
    See more | Go to post

    Leave a comment:


  • 1333
    started a topic gridview vertically
    in .NET

    gridview vertically

    can a gridview be designed to show data vertically rather than horizontally? I'm not having much luck putting columns into rows without creating bad HTML.
    See more | Go to post

  • 1333
    started a topic Datalist with Edit template and custom paging
    in .NET

    Datalist with Edit template and custom paging

    Is it possible to have a Datalist with an Edit mode (<EditItemTempl ate />) and custom paging?

    I can get <EditItemTempla te> mode and custom paging to work seperately but not together. I can delete a row from the datalist, but once I go into edit mode the UpdateCommand fails. Is this possible because I am going around in circles with postback or not Postback?
    See more | Go to post
No activity results to display
Show More
Working...