Software Development Network Logo
  • Microsoft ISV
  • VS Express Editions
  • Visual Studio
  • Smart Device
  • Windows Live
  • .NET Development
  • Game Technologies
  • Visual C#
  • Visual Basic
  • Visual J#
  • SQL Server
  • Visual FoxPro
  • Windows Vista
  • Visual C++
  • Windows Forms

Software Development Network >> wtrn's Q&A profile

wtrn

Member List

GoatHunter
Karthik Mohan
dannyR
.net sukbir
Karthik G Kashyap
ARMYVET
sbrian26
jkolodziejski
JasonWHowell
adrian-
corbin
Sanjay Modi
Peter Kryszak
chadmv
Devang Khandhar
Farid_Z
Roger C Garrett
Joe Rappo
sam-pan
Jan - In Summa
Only Title

wtrn's Q&A profile

  • Windows Forms How can I do this with the DataGridView?

    Hi Mark, I have a few issue that need help from you. 1. Custom Column in the DataGridView. a. Multi-Column ComboBox in DataGridView b. DataGridViewTextBoxCell with a button, when the button is clicked a new form pops up, when selecting the value in the pop up form , value will be displayed in the textbox. Besides that, we can directly type in text in the textbox. c. Memo field in the DataGridView , where allow user to type in multi-line of text. 2. Is DataGridView allow grouping of headers. For example, i will have 2 rows of header. The First row of header if the grouping of header for 2 columns. The second row will ...Show All

  • Visual Basic Disabled Panel or GroupBox

    Hello. I'm working on a project right now. I placed my controls (textboxes, buttons, etc) in a panel or groupbox, and disabled these containers by default so that users cannot play with these controls unless it is in edit mode or adding a new record. My problem is when these containers are disabled, background and forecolors of textboxes,comboboxes, etc are grayed which do not give good presentation of data or impression to users as far as font color is concerned. Such color is hardly read. So, how could I solve this problem Should i enable these containers always and set readonly to True to these controls, which I beli ...Show All

  • Windows Forms help.... please!!!!

    Hi, I'm TRYING to manage an access database... My form has several text boxes where each one corresponds to a field in my database. This is what I'm doing: public void Connect() { this.oleDbConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data source=data/db1.mdb"); this.oleDbDataAdapter = new OleDbDataAdapter("SELECT * FROM Table1", this.oleDbConnection); OleDbCommandBuilder builder = new&n ...Show All

  • SQL Server CLR Trigger

    Hi,       I want to call webservice in the Trigger.  How to call the webservice from CLR Triggers .If anybody knows teh detail let me know.   And i worked out  the following Example code for CLR Trigger. using System.Data; using System.Collections.Generic; using System.Text; using System.Data.Sql; using System.Data.SqlTypes; using System.Data.SqlServer; namespace CLR {     public class Class1     {         public static void InsertTrigger()         {  &nbs ...Show All

  • Visual C# Generic Interface Casting

    Hi All, I've got a class that wraps other objects. In .net 1.1 I used an interface like: public interface IMyWrapper{ object Data{get;} } In .net 2.0 I thought I would try something like: public interface IMyWrapper<T>{ T Data{get;} } Now consider the use of this interface in a method such as: public void MyMethod(object o){ //in 1.1 if (o is IMyWrapper){ //Do something else with the wrapped data AnotherMethod( (o as IMyWrapper).Data) } //in 2.0 if ( o.GetType().GetGenericTypeDefinition() == typeof(IMyWrapper<>) ) { //Do something with the wrapped data AnotherMethod( (o ...Show All

  • Windows Forms Relating Combos on Windows Forms

    What is the neatest way of relating Combos, e.g., selecting a Product Category in combo1 restricts the Products in the list portion of combo2   I have a dataset containing the two tables related by a datarelation. Using the Find method of the Product Categories table doesn't seem to affect its Position property in the BindingContext. I can see changes in&nb ...Show All

  • Visual Studio Tooltip not showing up in ReportViewer

    I have a report that displays an image in a table column that allows the user to drilldown into a detail report. The image has a tooltip associated with it. When I view the report in Report Manager it displays the tooltip. When I display the report in a ReportViewer control (in remote mode pointing at the same report) the tooltip does not display. Is this expected behaviour Report Manager is using the ReportViewer control, so there should be no difference. Can you post a simple repro rdl ...Show All

  • Visual C# Compiling my source file with VStudio 2005

    Hi guys i'm an new VStudio user and i've an doubt about as i can it compile my source file using the VStudio 2005. I created an simple source code for it test, but i not find the option for compiling the file. Someone can help me Junio, For help with this code, please try the Visual C++ Forums . -Tom Meschter Software Dev, Visual C# IDE ...Show All

  • Windows Forms Toolstripmanager and Visibility

    First, please forgive me for making a second independent post on the same topic. I have new information and my sense is that if I reply to my own posting the automatic procedures at MS won't pop it up for action. (Correct me if i'm wrong and there is a better way to handle this.) Second, please forgive the bright red print below. It separates the new stuff from my original post. I wrote: It's clear that loading and saving settings with toolstripmanager works great for strip position on the window and for item position with in the strip. It does not seem to track visibility / availability. Is my observation correct If so, then li ...Show All

  • .NET Development How do I retrieve new primary keys after inserts?

    Hi, I am relatively new at ADO 2.0, so please forgive the simple question. I add some rows to my datatable in memory, but without trying to assign primary keys in the rowid column. In the datatable, the rowid column is null for all the new rows that I add. Eventually, I use a dataAdapter.Update(table) call to update the database, which is successfully updated. But now the problem arises... I don't know how---for those new rows that were just inserted into the database---to read the new primary keys (generated by the database) back into the correct rows in my datatable (using a dataAdaper if possible, using plain SQL if not). I don't wa ...Show All

  • Windows Forms DataGridView Edit Problem..

    Hello, I have a DataGridView setup with a DataAdapter.  There are a few fields on a couple of rows that I update programatically which causes the DataAdapter to want to update the data in the database every time I run the DataAdapter's Update method.  Is there anyway to set the status of the row to NOT update the database (at least until a user edits something) Thank you -Adam Plocher No - Calling the DataAdapters update method will cause changes to be pushed to the database regardless of how the changes are done. There might be a way to inspect the diffs contained in the DataView or DataAdapter ...Show All

  • Windows Live Developer Forums MSN Messenger Web Presence

    Hello, I need to build a web site where I can check wich MSN Messenger user are connected. I would like to know if you plan to add (in a short time frame) a Web Presence solution to Messenger like the AIM presence. I would like also to know if it's possible to develope this functionality using your new API. Best Regards, Cristiano Cristiano, This is something we would like to enable.  But, there is nothing specific I can say at this point in terms of delivery time.  -Scott ...Show All

  • SQL Server Cannot find either column "dbo" or the user-defined function or aggregate "dbo.FN_NIVELCOMPETENCIACARGO", or the name is ambiguo

    Hello i have this query and I havent been able to solve it Cannot find either column "dbo" or the user-defined function or aggregate "dbo.FN_NIVELCOMPETENCIACARGO", or the name is ambiguous. I have tried with dbo and withou dbo, specifyng columns inside it, Thanks select a . nmempresa , a . nmtipocompetencia , d . dsnombreciclo , c . dsnombrecargo , a . dstipocompetencia , a . dscatalogo , b . popeso as PesoTipoCompetencia , f . dsnombrecompetencia as Competencia , e . pocompetencia as PesoCompetencia , g . DSOPCIONESCALA , g . PESO from tgsc_tiposcompetencias a , TGSC_TIPOSCO ...Show All

  • Smart Device Development Setting up the Correct ATL Include and Lib paths after eVC4.0 project port to VS2005

    Hi I ported an application that compiled and linked fine in eVC4.0 to VS 2005. When I compile the project in VS 2005 I get the following linker error: LNK2019: unresolved external symbol VarBstrCat referenced in function "public: long __cdecl ATL::CComBSTR::AppendBSTR(wchar_t *)" ( AppendBSTR@CComBSTR@ATL@@QAAJPA_W@Z) In looking into this I see that the include file used for ATL is the main Win32 one and not the SmartPhone 2003 SDK one. I know I can include this in the Tools->Options->Directories stuff but if I do this this will have an overall effect on all project (non Smart Device ones included). If there an ea ...Show All

  • Windows Forms User Control (text box), Null values, Formatting

    I am trying to create a textbox control which will handle null values (see 1 below) and  retain the ability to be formatted using Binding.Format (see 2 and 3 below). My User Control is in Number 1 below. When I use the 'Shadows Property Text' function, I loose formatting on the control.   The call to format is just ignored. I tried  ...Show All

©2008 Software Development Network