Are you trying to detect when the page has loaded? try the body.onload event, but be aware that this will only fire when all of the content has downloaded (images etc.). You could also put a call to your function in tags at the bottom of the page if you want it to fire when the html is downloaded. Find my .Net blog at <a href="http://hiltong.blogspot.com">http://hiltong.blogspot.com</a></x-turndown>
HiltonG
Posts
-
WebBrowser's Document Complete event -
about sql injection security?A simple check is do you concatenate SQL strings anywhere on your site, or more specifically do you take variables directly from form / querystring vars and build them straight into the sql string. If yes, then you are faced with the problem. Find my .Net blog at http://hiltong.blogspot.com
-
modal dialoginside the HEAD tag in the modal window add Find my .Net blog at http://hiltong.blogspot.com
-
DataBinding logicCreate a public function in your code-behind file and then call it as follows (the following is an example from within a datagrid TemplateColumn): <%# MyFunction(Container.DataItem("BlahField")) %> Find my .Net blog at http://hiltong.blogspot.com
-
SpeedI would also see if you could find a better way to do this, but in case you are interested, you can use one of the system.Threading.Thread.Sleep overloads to pause your app. Find my .Net blog at http://hiltong.blogspot.com
-
SAVE DATA program in VB.NETFirst of all, try something like "Is the data correct?". secondly, you will need to add drcustoms("cstphno") = txtcstphno.text --> dtcustoms.rows.add(drcustoms) finally, this will just be storing the data in a disconnected datatable. To send the data back to the database, you will need to a)create a database command, build a sql string (or preferably use a stored procedure) execute the command or b) use the Update method of a dataAdapter Visit my .Net blog at http://hiltong.blogspot.com