How to Add DataGridColumnStyle into the Vs Add button,

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marc R.

    How to Add DataGridColumnStyle into the Vs Add button,

    Hi all,
    I just use the new found Class :
    Class JoinTextBoxColu mn
    Inherits DataGridTextBox Column

    Is there a way to lets VS 2002 to know that is more then
    DataGridTextBox Column add DataGridBoolCol umn.

    I would like to add this one in the available list "Add"

    I Will try to implement that into codes meanwhile ..

    Thanks for any help there !



  • Cor Ligthert [MVP]

    #2
    Re: How to Add DataGridColumnS tyle into the Vs Add button,

    Marc,

    Than the first thing you have to do is to make it as a seperated dll,
    (creating a class library)

    (I would than use one library for all these dll's)

    Cor


    Comment

    • Marc R.

      #3
      Re: How to Add DataGridColumnS tyle into the Vs Add button,

      thanks, Can you be more specific (I'm more then a Green programmer into
      VB.net)


      "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> wrote in message
      news:eb91yBGBGH A.3916@tk2msftn gp13.phx.gbl...[color=blue]
      > Marc,
      >
      > Than the first thing you have to do is to make it as a seperated dll,
      > (creating a class library)
      >
      > (I would than use one library for all these dll's)
      >
      > Cor
      >[/color]


      Comment

      • Marc R.

        #4
        Re: How to Add DataGridColumnS tyle into the Vs Add button,

        OK I taught the solution I had was good, But I can't make it work, here the
        case :

        Table Customer :
        Cus_ID
        Blah1
        blah2
        blah3
        ACTIVE (BooL)

        Table Address
        Add_ID
        Cust_ID
        phoneNumber

        In the In the Grid I want on the same datarow to show Customer fields, and
        Some Address field That belongs to that customer, HOW can I Acheive that ?

        both table have a seperate SQLDataAdapters . : Da_customer and DA_Address


        "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> wrote in message
        news:eb91yBGBGH A.3916@tk2msftn gp13.phx.gbl...[color=blue]
        > Marc,
        >
        > Than the first thing you have to do is to make it as a seperated dll,
        > (creating a class library)
        >
        > (I would than use one library for all these dll's)
        >
        > Cor
        >[/color]


        Comment

        • Cor Ligthert [MVP]

          #5
          Re: How to Add DataGridColumnS tyle into the Vs Add button,

          Marc,

          I assume that you want something as this.



          The tables can be of course as well in different datasets.

          I hope this helps

          Cor

          "Marc R." <Nospam@Newgrou psONLY.com> schreef in bericht
          news:OaDDlLMBGH A.1028@TK2MSFTN GP11.phx.gbl...[color=blue]
          > OK I taught the solution I had was good, But I can't make it work, here
          > the case :
          >
          > Table Customer :
          > Cus_ID
          > Blah1
          > blah2
          > blah3
          > ACTIVE (BooL)
          >
          > Table Address
          > Add_ID
          > Cust_ID
          > phoneNumber
          >
          > In the In the Grid I want on the same datarow to show Customer fields, and
          > Some Address field That belongs to that customer, HOW can I Acheive that ?
          >
          > both table have a seperate SQLDataAdapters . : Da_customer and DA_Address
          >
          >
          > "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> wrote in message
          > news:eb91yBGBGH A.3916@tk2msftn gp13.phx.gbl...[color=green]
          >> Marc,
          >>
          >> Than the first thing you have to do is to make it as a seperated dll,
          >> (creating a class library)
          >>
          >> (I would than use one library for all these dll's)
          >>
          >> Cor
          >>[/color]
          >
          >[/color]


          Comment

          • Seb

            #6
            Disable Closing of a form VB2003/5

            Hi

            Another question

            I need to stop a form from being closed until a varable is set. Have
            tried using Me.Show in the form closing but VB compleins

            Tried creating a second form called "autoloader "
            So Form1Closed loads autoloader in turn calls form1 to open back up but
            VB still complains


            TIA

            Seb.

            Comment

            • Marc R.

              #7
              Re: How to Add DataGridColumnS tyle into the Vs Add button,

              hummmm "parent.sta te" as a third arguments .. I love that! thanks.

              but guest what !?, I finally got the other one exemple (I gave) to work, It
              is more complex but suite me better because of the datagridcolumnS tyles that
              I can ajust.

              But if there is a way to add the 3rd option into the DataGridColumnS tyle
              Collection editor, that would be perfect.

              But Thanks that Exemple Showed me how simple it it to Merge information from
              Any source, I'm sure it will help many !

              Thanks.


              "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> wrote in message
              news:%23XtlaTMB GHA.2912@tk2msf tngp13.phx.gbl. ..[color=blue]
              > Marc,
              >
              > I assume that you want something as this.
              >
              > http://www.vb-tips.com/default.aspx?...3-8a9529b2b38b
              >
              > The tables can be of course as well in different datasets.
              >
              > I hope this helps
              >
              > Cor
              >
              > "Marc R." <Nospam@Newgrou psONLY.com> schreef in bericht
              > news:OaDDlLMBGH A.1028@TK2MSFTN GP11.phx.gbl...[color=green]
              >> OK I taught the solution I had was good, But I can't make it work, here
              >> the case :
              >>
              >> Table Customer :
              >> Cus_ID
              >> Blah1
              >> blah2
              >> blah3
              >> ACTIVE (BooL)
              >>
              >> Table Address
              >> Add_ID
              >> Cust_ID
              >> phoneNumber
              >>
              >> In the In the Grid I want on the same datarow to show Customer fields,
              >> and Some Address field That belongs to that customer, HOW can I Acheive
              >> that ?
              >>
              >> both table have a seperate SQLDataAdapters . : Da_customer and DA_Address
              >>
              >>
              >> "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> wrote in message
              >> news:eb91yBGBGH A.3916@tk2msftn gp13.phx.gbl...[color=darkred]
              >>> Marc,
              >>>
              >>> Than the first thing you have to do is to make it as a seperated dll,
              >>> (creating a class library)
              >>>
              >>> (I would than use one library for all these dll's)
              >>>
              >>> Cor
              >>>[/color]
              >>
              >>[/color]
              >
              >[/color]


              Comment

              Working...