1 Replies - 285 Views - Last Post: 30 January 2013 - 07:57 AM Rate Topic: -----

#1 navzgustav  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 29-January 13

how to access a datagrid row value in another datagrid

Posted 30 January 2013 - 07:34 AM

hae guys...
i have two datagrid in two separate forms...i want to use one datagrid to search for a product in my database and use this value to make sales in a different datagrid in a different form....i have tried using a friend datatype but its not working....Anyone with an idea how i can do it???
Is This A Good Question/Topic? 0
  • +

Replies To: how to access a datagrid row value in another datagrid

#2 tlhIn`toq  Icon User is online

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5572
  • View blog
  • Posts: 11,911
  • Joined: 02-June 10

Re: how to access a datagrid row value in another datagrid

Posted 30 January 2013 - 07:57 AM

From my FAQ list


[*]Q: ...get Form/class 'A' to make a change or talk to Form/class 'B'

NOTE: Don't try to access GUI controls across forms. Its wrong. Nobody will hire you if you do this sort of crap. It violates every guideline for 'black box' programming, Separation of Responsibility, loose binding of components, and event driven programming. Read the tutorials and learn to do it right the first time so you don't develop bad habits that you just have to un-learn later.
A:[
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1