Search results for query: *

  1. S

    Array of TextBoxes

    I don't get the compilation error when I use myBase.Load. I wouldn't say it's working though :-P . I think I'm almost there....hopefully. Again, thanks to everybody for their help!
  2. S

    Array of TextBoxes

    is myBase.Load the same as Me.Load? all the webforms on my project seem to use myBase.Load for the Page_Load. I may be doing something wrong here....
  3. S

    Array of TextBoxes

    For some reason I'm getting the following compilation error: Compiler Error Message: BC30183: Keyword is not valid as an identifier. Source Error: Line 15: Line 16: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) _ Line 17...
  4. S

    Array of TextBoxes

    Thanks for the link Paszt. The concept is a little confusing to me, but I'll look over the code more and tinker around with it in my own project.
  5. S

    Array of TextBoxes

    hmmm, the page.findcontrol(string) didnt work. i think i know why though. the textboxes are dynamically created using literal controls and placed in the web form at a placeholder. when the update button is clicked the page refreshes and im pretty sure the literal controls are all cleared out...
  6. S

    Array of TextBoxes

    Putting the variables in a module worked...but i have another (hopefully quick) question. Is it possible to get a textbox value like this: Dim textBox_string As String textBox_string = "f8888" textBox_string.Text ... the textBox would look like <asp:TextBox id="f8888" runat="server"> I...
  7. S

    Array of TextBoxes

    well, i only need that variable on one page. by dimming globally i mean that i am dimming it right after <script runat="server"> instead of inside a SUB or Function. is this not correct?
  8. S

    Array of TextBoxes

    ok, here's the live code. the first section is where I create the global array: Dim myquery As String Dim holder As String Dim DS As System.Data.DataSet = New System.Data.DataSet() Dim CF_tb() As TextBox Dim CF_length as Integer Here's a...
  9. S

    Array of TextBoxes

    hmmm....I just tried Public and got the same error. If you need actual code just let me know and I can snippet it out because all code from the first post is just sample.
  10. S

    Array of TextBoxes

    Ok. I have an unfixed-length array of textboxes that I created globally: Dim CF_array() As TextBox In one function, I used ReDim on the array to fix the length according to a local integer: Public Function function1() Dim someInt As Integer someInt = 4 ReDim...
  11. S

    Help reading XML

    Wow, thanks for the quick reply! I used the XPath expression and it worked beautifully. Thanks again!
  12. S

    Help reading XML

    I'm having a problem reading the xml tags. I can read the values within the tags, but I need to read the tags themselves. Here is some sample xml: <CMS> <amountInput>500.00</amountInput> <CF74>Blue</CF74> <CF75>Green</CF75> <CF76>Red</CF76> <CF77>Orange</CF77> </CMS Each <CF> tag...
Back
Top