Search results for query: *

  • Users: yfng
  • Order by date
  1. Y

    Login: - Compare User name in texbox to database

    The code seems have problems... membership no with space? if reader.read.compareto(txtuser) = 0 then return true else return false end if if search() then
  2. Y

    Dynamic generate web content

    maybe it's too simple so no one reply my question~:p I do it as follows: Drag and drop a Placeholder to the web form. For html codes: placeholder.controls.add(new literalControl("<p>message</p>")) For insert table: Dim nTable As Table = New Table 'inserting tablerow and tablecell . . ...
  3. Y

    Dynamic generate web content

    I think I've found the method by using placeholder. Thanks.
  4. Y

    Dynamic generate web content

    Thanks TPM. However.. I still do not understand how to achieve this. The creation of tables should be in page_load or where? How to insert some controls of buttons? Would you mind to post some simple codes here? Thanks again.
  5. Y

    Buttons control

    There are two buttons, one is runat=server and have some server scripts, another one is invisible and used for open new window. I want to press the button with server scripts and after that trigger the click event of the invisible button. How to do this? Thank you very much.
  6. Y

    Dynamic generate web content

    Thanks. Btw, I don't know asp.net much, do you mean I should create UserControl(.ascx) which contains asp:table and then in the page of dynamic content, add the tables one by one?
  7. Y

    Dynamic generate web content

    I want to generate a web page such that its content is dynamically generated and the content can be duplicated inside (i.e. many similar tables). Is there any method other than response.write() the web content since the tables I prepared is rather long and complicated?
  8. Y

    button example

    You may use ImageButton.ImageUrl to get the link of the image.
  9. Y

    Open/close window

    Thank you very much. ^^
  10. Y

    Open/close window

    Yes, currently I use the button.attributes.add("onclick", "javascript:window.close()") to close web forms. But the effect is not good as expected. Is there any function to close/open web forms in VB.NET? Thanks.
  11. Y

    Open/close window

    In VB.NET, is there any function similar to window.open or window.close in Javascript which can open/close new windows? Thanks.
  12. Y

    print web page

    Thank you for your reply. The requirement is like that: User selects some rows in the datagrid and there is a button in the web for printing the selected rows. However, the print action needs to update database and then prints out selected rows. Will there be any better methods? Thanks.
  13. Y

    print web page

    I am doing a web project. Is there any method to print web pages with support of page breaks and without printer prompt diaglog e.g.like window.print() (or close immediately) by just clicking a button on the webpage? [ammend] For page breaks, I know <div></div> can be used. How about close...
Back
Top