Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WallyAnchor

    Problems entering value into a DataTable

    Hi jebenson Thanks. I tried that and while it works, the next line of code executed is a 'random' (not random, but I can't figure out the logic) line of code buried in an If block later in the code, missing out a chunk. I can't figure out why. If I put it in a try/catch block it throws a null...
  2. WallyAnchor

    Problems entering value into a DataTable

    Hi. Thanks for your reply. Yes, the new datarow will have nulls for all the values. Decimal.TryParse("4", r("dbl")) I'm trying to populate r("dbl") with the value 4. Surely it shouldn't matter whether r("dbl") is null or not...? Cheers Wally
  3. WallyAnchor

    Problems entering value into a DataTable

    Hi. I'm having troubles understanding what the problem is with this. In my application I'm trying to parse & insert a (valid) string into a column/row in a datatable. Here's a boiled down example: Dim dt As DataTable = New DataTable("dt") dt.Columns.Add("dbl", Type.GetType("System.Double"))...
  4. WallyAnchor

    Can I customise height of drop down parameter

    I'm using a multiple select drop down parameter in Reporting Services 2005. Is there any way I can increase the height of the drop down so more items are displayed without having to scroll to get them? Cheers Wally
  5. WallyAnchor

    Problem deleting from a GridView INSIDE a DataList

    Gidday. (This should possibly be a new thread, but it does follow on from my previous one) OK, when I integrate this into my project I've come across a bit of a weird issue. I haven't had a chance yet to break it down into something simpler yet so I can't nail down where the problem is yet...
  6. WallyAnchor

    Problem deleting from a GridView INSIDE a DataList

    Hi. Well, I had to put this aside for a while due to other work, but I'm back on it again. I got this working fine in my simplified version, but it took a bit more work to get it going in my actual project which is a more complex. Anyway, it's all working good now - thanks for your help. One...
  7. WallyAnchor

    Problem deleting from a GridView INSIDE a DataList

    I did wonder if that was what was actually being done 'in the background', but I thought maybe I was overthinking it. I guess I should have run profiler to see what was happening on the sql server for a basic (working) example. So, because I have a number of GridViews nested in a DataList (the...
  8. WallyAnchor

    Changing the mode of Form View or DetailsView

    Gidday FormView1.ChangeMode(FormViewMode.Edit) should work. You could also try changing the default mode: FormView1.DefaultMode = FormViewMode.Edit Hope that helps Cheers Wally
  9. WallyAnchor

    Problem deleting from a GridView INSIDE a DataList

    Thanks matey. I've been messing around with this and this is what I've currently got. I know it's not right because it doesn't work.. :-) This is where I'm at at the moment: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Test.aspx.vb" Inherits="Test" %> <!DOCTYPE html PUBLIC...
  10. WallyAnchor

    Problem deleting from a GridView INSIDE a DataList

    Hi. Ok, I moved the code to the item databound event. I'm not entirely sure why I had it in the itemcreated event - must have been clutching at straws. Anyway, this didn't make any difference - exact same behaviour. So I ditched the SqlDataSource control & filled a DataAdapter and bound that...
  11. WallyAnchor

    Problem deleting from a GridView INSIDE a DataList

    I've never really had any problem with them before, and I'm not entirely sure they are the problem. What would you suggest to use instead? Cheers Wally
  12. WallyAnchor

    Problem deleting from a GridView INSIDE a DataList

    (Reposted from Visual Basic(Microsoft) -VB.NET/VB2005 Forum, as this forum seems a better place for it...) Hi. I have a DataList that shows a number of GridViews. The datasource for the DataList returns a Name/title for each GridView, along with the Select/Delete commands and comma seperated...

Part and Inventory Search

Back
Top