We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

text+in dataGrid

Last post 04-30-2008 7:48 AM by pramos.21d. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-19-2008 4:22 PM

    • NepBoss
    • Not Ranked
    • Joined on 02-22-2008
    • Germany
    • Junior Member
    • Points 120

    text+in dataGrid

    Hi fren I wanna add the seperate text in data grid

    my code goes flows..

    string str= first.Text;

    string[] arrstr;

    arrstr=str.Split(new char[]{'=',' '});

    second.Text = String.Empty;

     

    for(int i=0; i<arrstr.Length; i++)

    second.Text += arrstr[i] + "\r\n";

     

    now how can I add it tho the seperate dataGrid column ????

     

    Surya Giri
    Innomea GmbH
    Raifeisen str 5a
    63538
    Germany
    • Post Points: 10
  • 04-30-2008 7:48 AM In reply to

    Re: text+in dataGrid

    Hi Surya,

    If you are getting the values from the split method, fill those values in a dataset and bind that dataset to the grid. Make sure to specify a column name while filling the dataset so that you can bind the same in appropriate column the grid.

    Regards,

    Pramod 

     

     

    • Post Points: 5
Page 1 of 1 (2 items)