i would recommend u a simplest way... call the animation method asynchronously , inside which u have following code { this.AnimatedControl.start(); while(!bnFinishedFlag) { //do nothing //bnFinished flag is class level var and will be set to true when db //operation finishes } this.AnimatedControl.stop(); //end the async method call.. } hope this helps//..
karam chandrabose
Posts
-
How to start method after another one finishes (Thread) -
Databasehow to do a google?
-
hiand subject says a lot about the problem v@!@@ SIVAJI - THE BOSS
-
Collation Name[:(] i did the same using sql 200, it is a very very tedious process, would recomment you to re install the DB using proper collation and dump in data, and re run sp's , this is much much better approach,
-
MS SQL Server 2005 - SQL Problemyou have to alter your collation settings, the default collation in sql server 2005 is latin1_general_CI_AS CI = case insensitve AS = Accent sensitive you might have to change it in to Case sensitive. do google on "SQL Server Collation" for more details. have fun. cheers
-
Best book for Design patterns.Hi Folks, can anyone suggest me which is the best book for learning design patterns? i am a intermediete developer in C# , .Net technologies, please guide me.
-
Design Guidelines : Polling vs EventsDepends actually, polling introduces a latency , which is equal to polling interval. event's on other hand are instantaneous, so it depends whether a latency is accepted or not.
-
Shadowing??Overloading can occur with in the same class too, for eg:
//Example for overloading public int addnumbers(int a, int b) { return a+b; } public int addnumbers(int a, int b, int c) { return a+b+c; }
Method Hiding can happen only when inheritance comes to picturepublic class Maths { public Maths() { //.Ctor } public int addnumbers(int a, int b) { return a+b; } } public class TwoMaths : Maths { public TwoMaths() { //.Ctor } // This method hides the base class's method // if you create a object for TwoMaths class, the base class's // addnumber method cannot be called unless until you explicitly //cast TwoMaths' object in to Maths object public int addnumbers(int a, int b) { return a+b; } }
-
SQL Server Basic Questionsa google is highly recommended
-
How to persist datareaderDatareader is always connected, better go for datatable to persist stuff!
-
Int32 type alias problem!hey Judah, thanks from me too! i thought aliasing we can do only for namespaces!!
-
hi, c# formsHi, in this scenario, define your entity object as a class, let Form1 have an static object of that class, in form two set the value for the static instance, then when u go back to form1 , do the data binding.. like this.. Form1 { public static CEntity objEntity; someclick() { Form2.showDialog() Datagrid.databind(objEntity) } } CEntity { Public string column1; Public string column2; } Form2 { someevent() { Form1.objEntity.column1 = textbox1.Text; Form1.objEntity.column2 = textbox2.Text; } } Cheers
-
hiYes colin
-
hiGet a book on ADO.Net, prefereably OReilly publications
-
method level security in web servicesHi Friends, just brief me on method level security in web services.. just two three lines on wat needs to be done.
-
ARCHITECTURAL DIFFERENCE between .net 1.0 and 2.0?I got this question in a tech interview, tell me any one ARCHITECTURAL DIFFERENCE between .net 1.0 and 2.0? can you guys list out a few please??
-
C# Code requiredu shud use word interop and word application object.
-
Writing to a Text FilewText.Close(); MyStream.Close(); unless u close the writer, buffered things will not be explicitly fwded to the disk.
-
Indexes on viewsHi, when we create a non clustered index for a table, an index is maintained in the database, but when we create the same on a view , does it get saved anywhere !! , i am also aware that views are not persisted in the DB, so i am a bit confused in this.
-
ReadOnlyCollection still editable?can u pls elaborate your question with some code snippets?