Chris Lee - MSFT's Q&A profile
Smart Device Development How to implement multiple row selection in datagrid?
Hi, Im trying to implement a multiple selection control, but as the data source is a Datatable im unable to find any suitable control. The datatable contains product codes and product names, some of which will be selected and added to another datatable, datagrid in .net cf does not support SHIFT+select or CTRL+select all it supports is multiple selection if you drag the stylus across the row headers, that to only once. the list view is jus ...Show All
.NET Development can we use a recordset in dotnet? if so How?
can we use a recordset in dotnet if so How Close RecordSet analog would be DataReader class. You should use specific implementation of DataReader, e.g. SqlDataReader for SQL Server. Samples are available on MSDN. ...Show All
Windows Forms How to check the Not null of the datatype GUID
I have GUID type property in a class i want to check that this property is set or not so how to check the nullness of the Guid data type regards Nilna I don't think that a GUID object can be null (or equal to nothing). ...Show All
Visual Studio Team System Project delete left source folder in inconsistent state
While deleting a project (or actually I think while creating the first team project on the TFS) all the permissions were not set correctly. This left me with an orphan Souce code control folder. I have no other obvious portions of the project but a folder does show up under source code control (it's empty). Is their a means to get rid of this Hi, The following steps may work depending on what pieces are missing from the failed ...Show All
Visual C++ MS C++ 2005 express database mismatch error when compiling
Every time that I attempt to compile a c++ program I get a database mismatch error. When I looked this error up in the included documents, it said that I needed a newer version of dbi.dll. Where can I find this file I know that my programs work because they compile with ms vc++ 6.0 and the gcc complier. Here is the artilce where it told me "how to fix it," but I still cannot find the file that I need. Visual C++ Conc ...Show All
Visual Studio Team System Can't add project Web Parts to home page
I'm trying to add web parts from the project gallery, just the ones installed by default, but they give this error every time: An unexpected error has occurred. Only the project gallery web parts give this error. If I add one from the "Online Gallery", those work just fine. But the ones associated with the project fail. I have three TFS projects and I get the same error on all three. I also have two other non-TFS SharePoint sit ...Show All
Visual Studio Express Editions Execute String?
Hello, I have a quick question about C#. I used to do a lot of PHP programming, and there was a function that I found to be very useful. It was the eval() function, and it took a string, and evaluated it as PHP code. Now, is there a function in C# that allows me to do this as well The reason I want to do this is, I have 81 textboxes setup in a grid. I want to be able to make c ...Show All
Windows Forms disappearing DataGrid row
Hello all, I have a DataGrid bound to a filtered DataView on a DataTable. When a new row is added through the DataGrid the new row dissapears as soon as focus is moved off of the new row. I have searched this forum and google and&nbs ...Show All
Visual C# Showing a second form via code?
Hey guys -- yep, it's me again. I have a new problem (surprise, surprise). I have two forms in my project and I need both to show on startup of the program. I've tried everything I can think of and I need to keep both opened which is easy to code if I know how to show them. If someone could explaing showing one form from another, that'd be great. Are these Modal forms you cannot have 2 active modal forms in a app at a time, If they are r ...Show All
.NET Development emitting non-static properties with PropertyBuilder
hi - if i compile the following c#: class ReflectTest { private static string firstName; public string FirstName { get { return ReflectTest .firstName; } set { ReflectTest .firstName = value ; } } } then IL for the property looks like: .property instance string FirstName() { .get instance string TestReflection.ReflectTest::get_FirstName() .set instance void TestRefl ...Show All
Visual C++ Problems signing a C++/CLI assembly in release mode.
I've got a managed C++/CLI assembly which I gacutil. I used to sign it in the C++ code like so: [assembly:AssemblyKeyFileAttribute("..\\..\\wrapper.key")]; but now that code is ifdef's (for previous versions), and I have this code in the vcproj file instead: <Tool Name="VCManifestTool" KeyFile="..\..\wrapper.key" /> It works fine in debug mode, not in release mode. (Although in both modes I get a warning from ...Show All
SQL Server Attempted to divide by zero
Hello. I'm having a little bit of a problem and i have no clue what's going on. May be somebody can explain me how the following expression could generate the "Attempted to divide by zero" error. I would really appreciate good advice. Briefly about report itself - one dataset, on single table with three groups this is a thid one. Grouping works just fine, but SUM/SUM in a footer of group #3 gives an error. Datatypes: JTD_Hours is decimal(1 ...Show All
Windows Forms Update DB after sent email
I have a contact management app where the user can click a link label to send an email to a contact. How can I send a message back to the app that the email has been sent so the DB can be updated I don't want to do it& ...Show All
Visual Studio Express Editions Can the IDE be set to minimize on last window close
To save time I would like to have the Visual Studio Express IDE close if I close the last open window. This would take the IDE off the desktop until I open a file again. Also with the IDE already open it appears much faster. I couldn't find an option for that. Hi jadelise, I would think that what you are looking for falls under the "Visual Studio Extensibility". Another keyword is "EnvDTE" ...Show All
SQL Server No reporting services instance found on localhost
hi.. i'm a newbie in ms reporting services. i'm having this problem to deploy the report. when i try to configure the report server using configuration tool, it says that "No report server were found on the specified machine Details : Invalid namespace" i installed ms rs 2005 enterprise ed and had chosen to instal everything. i've tried using rsconfig in command prompt and gotten this message: 'No Reporting Services instance found on localhost' ...Show All
