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
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
.
.
...
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.
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.
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?
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?
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.
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.