Instead of using Application.idle to
keep the game updating I use a System.Timers.Timer (async event handler)
to do a tick about every 20ms. (higher refresh rates don't make sense)
So the ScrollBars won't keep me from "ticking" )
If you are talking about dynamic it means on runtime.
What you want to do is extract data from excel.
What you have to do is this:
1. create an excel reader (search on articles in codeproject or make your own reader with 'Microsoft.Office.Interop.Excel'
2. create a textbox: TextBox tb = new TextBox(); and put the data in there: tb.Text = ExcelReader.getCellItem(1, "A");
You can use ASP.NET UpdatePanel controls to define parts of the page to update. It uses AJAX to make call to make a postback of the page, and the page would return the parts of the page that would be updated.
Despite everything, the person most likely to be fooling you next is yourself.
128 bit encrypted signature, crack if you can
if the ListBox shows the item's information, and item.ToString() does not, then item.GetItemText() is what you want.
Luc Pattyn [Forum Guidelines][My Articles] - before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
I am reading in a WebBrowser.DocumentText with a timer every x seconds.
The content on the website is being updated with AJAX for new ticket information etc.
When I start my app it works fine, it sees there are x new tickets, the timer runs but the DocumentText contains the initially loaded HTML so the timer never sees the new ticket count. Is there a way to reload the DocumentText etc so it updates when AJAX changes values etc.
start app initial call sees 4 new tickets... fine that is right
submit a ticket web page updates and now says 5....
timer runs around still sees 4 as if the DocumentText never changes with what I see.
i want to execute some operations(insert into multiple tables) inside a single transaction via TableAdapter class.
i found this article about how to make tableAdapters transactional : http://blah.winsmarts.com/2006/06/18/the-definitive-tableadapters--transactions-blog-post.aspx[^]
but it's good for a single tableAdapter, wheras i want to insert,update to more than one table, hence i must use multiple TableAdapter for each table and i think above link does not good for this operation.
can anybody help me about this issue ?
Note : i don't want to TransactionScope clas, because it has a low speed.
any idea wood be great appreciated.
Hi N a v a n e e t h
because my above code make our transaction promote to msdtc, the speed almost decrease and make speed lower, however i extended one of my tableAdapters and add two simple methods like this :