Results 1 to 3 of 3

Thread: C# experts kindly helppp me fast

  1. #1
    saadie is offline Senior Member+
    Last Online
    16th September 2011 @ 04:53 PM
    Join Date
    19 Sep 2008
    Age
    40
    Posts
    53
    Threads
    23
    Credits
    133
    Thanked
    0

    Default C# experts kindly helppp me fast

    i have retrieved data form DB into data grid view and now want to get data from grid to GUI and i am facing problem in putting value from grid to combo box.
    I am giving here the piece of code kindly tell me where I am wrong

    Combobox.SelectedValue = Convert.ToString(dataGridView.Rows[e.RowIndex].Cells["DataGridViewTextBoxColumn"].Value);

    Thank U
    Saadie

  2. #2
    jamat ali's Avatar
    jamat ali is offline Senior Member+
    Last Online
    4th August 2014 @ 01:15 PM
    Join Date
    31 Jul 2009
    Location
    Lahore
    Age
    36
    Gender
    Male
    Posts
    716
    Threads
    61
    Credits
    823
    Thanked
    39

    Default

    code to mere kyal main teekh hai kisi or jgha error hai

  3. #3
    saadie is offline Senior Member+
    Last Online
    16th September 2011 @ 04:53 PM
    Join Date
    19 Sep 2008
    Age
    40
    Posts
    53
    Threads
    23
    Credits
    133
    Thanked
    0

    Default

    Convert.ToInt32(datagridview.Rows[e.RowIndex].Cells["DataGridViewTextBoxColumn"].Value);

    yeh to thek read kerta hai per "combobox.SelectedValue" ko asign nhi ho rhi

    yeh kia prob ho sekta hai

Similar Threads

  1. experts Kindly help me urjant plz
    By TIGERR in forum Ask an Expert
    Replies: 0
    Last Post: 31st July 2015, 07:43 PM
  2. Ufone Experts helppp!
    By M_SULTAN in forum Mobile phones problems and Help Zone
    Replies: 2
    Last Post: 20th February 2015, 03:26 PM
  3. I've a Problm Kindly Solve it Experts...!
    By ChessMaster in forum Ask an Expert
    Replies: 14
    Last Post: 30th July 2009, 03:21 PM
  4. latop..plzzz helppp experts only....
    By bindaasboy82 in forum Ask an Expert
    Replies: 5
    Last Post: 28th April 2009, 12:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •