cravingsushi's Q&A profile
Windows Forms Design Time Binding approach for components
Hello Guys, I had been using this forum, and was able to resolve a lot of problems. I need your help once again. What i am trying to acheive: I had to define a binding between visual & Non-Visual components at design time. Description: visual co ...Show All
SQL Server Character to date conversion
I am trying to write and insert statement that takes up a date value, such as, Insert into tablename(date_column) values (date('some date', format)); I however do not know how exactly to convert a character string to transact sql date. can someone please lead me in correct direction Some documentation could also help. Thanks --Shilpa There is a copy of books online (not unsurprisingly) online: http://msdn2.m ...Show All
Visual Studio Team System Is it possible to use internal data as a Data Source for data driven tests?
Hello All, There is a test method which uses test data from a static array defined in a class, e.g. public void MyTestMethod() { foreach (MyTestCase testCase in myStaticTestCases) { // use 'testCase' data and verify } } I would not like to use this 'foreach' consturction. Instead, it would be great if it were possible to make the framework call the tes ...Show All
SQL Server Recursive CTE performance concerns
I've done a very, very , simple recursive CTE and I'm quite surprised by the differences in performances between the CTE and straight hard-coded selects. In this sample, the CTE is more than 10 times slower in a 10000 loop. I would have expected it to be a little bit slower, but not that much. Can anyone tell me if the performance of recursive CTE will improve before the release ships I'm using BETA 2. Please note that the ...Show All
Windows Forms Please help Me !
I create a control. i want it have property : + Datasource +DisplayMember +DisplayValue like property of combobox. Thank ...Show All
Visual C++ Why does VC2005 always rebuild all files??
I am using VC2005 IDE with VC2003's excutables, includes and libraries. Becuase my project( orinally VC6.0 project ) have many library compiled with single thread runtime, I can't use VC2005's excutables, includes and libraries. Anyway I suceeded to compile my project. My problem is the follwing. Let's suppose I am building "MyProject". Whenever I choose "Build Only MyProject", VC2005 always rebuild all files i ...Show All
Windows Forms How can I compare enums?
Hi It seams a bit stupid question but I have some problems comparing enums, imagine the following code enum Actions { Read, Write, Delete, Query, Sync } Actions actions = Actions.Read | Actions.Write; Now ho ...Show All
SQL Server Change Ordering Of Snaphot/History Reports
Dear Anyone, In RS2005, whenever we click the history tab of a report, the list of all the available report snapshots are displayed. We've noticed that the display is defaulted to decending order. Is there a way to change the default list order of report snapshot Thanks, Joseph ...Show All
Visual Studio Express Editions No Debug?
My new installation of the Feb05 CTP VC# Express seems to have come without a debug capability. I don't recall seeing that as a feature missing from the express editions. Both the Solution Configurations and Solution Platforms list boxes are blank and disabled. The Project Configuration tabs have no Debug/Release/All Configurations selection capability. In short, there appears to be no way of setting up a debug build alth ...Show All
Windows Forms Providing INotifyPropertyChanged
Before I start coding away like a mad-man, is it feasible to create a sub-classed PropertyDescriptor that raises the PropertyChanged event for objects that do not implement INotifyPropertyChanged If I implement ICustomTypeDescriptor on my item wrapper class I could return these specialized PropertyDescriptors when GetProperties() is called. This new PropertyDescriptor would follow the decorator pattern. It would forward calls to the P ...Show All
Windows Forms using panels
Hello all; I've three panels. Each panel is downword the upper panel. I want to show these panels in such a way, when you open My computer or My Document in windows XP you can see on left side different panels which can be open or collaspable panels like 'System tasks', 'Other places' etc. I don't know what is the name of this control. So please tell me about any url from where I can download this control. Thanks. Adnan ...Show All
Visual C# Typedef for C# (Type Alias)
so int is a alias for System.Int32. How can I add my own alias that will be GLOBAL. So instead of List<int> lLanguageIDs; I could do List<LanguageID> lLanguageIDs; where LanguageID is a alias to int or System.Int32 thanks Ralph You can by using one of the not well known features of the using directive where you can use it to define a type name of you ...Show All
.NET Development ItemInserted DetailsViewInsertedEventArgs not behaving as expected
I created a DetailsView binded to an ObjectDataSource with a DataSet attached. I am able to insert data properly however I want to be able to do some post processing on the newly inserted record and find myself unable to retrieve the value from the DetailsViewInsertedEventArgs e When I try to do the following: e.values[FieldName] I get this error: System.NullReferenceException: Object reference not set to an instance of an object ...Show All
Smart Device Development Error with the deploy tools and imageList
When I deploy an application PPC with a toolbar and an imagelist, I have an exception: System.NotSupportedException was unhandled Message="System.Drawing.Bitmap" StackTrace: at System.Resources.ResourceReader.LoadObjectV2() at System.Resources.ResourceReader.LoadObject() at System.Resources.RuntimeResourceSet.GetObject() ...Show All
SQL Server Error while importing Text file using Import Export Wizard
Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare ...Show All
