I have a table which has GoodsID and GoodsName. in my form i have a texbox. when i enter the GoodID it will show the GoodsName. but imagine if we don't know our GoodsID. so i made a search button. when i click on this button it will show a new form so that i can search GoodsID by typing GoodsName. now the question is when i find my intention GoodsID how can i show this GoodsID by clicking on the cell.
i want to when i click on the cell it show the GoodsID in the first form textbox.
any help will be appreciated.
thanks in advance
Select special row and column in c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Lajapathy ArunRank #354 · 7K reputationPosted May 3, 2012, 8:48 AM EDT
brunda kRank #3,804 · 389 reputationPosted May 3, 2012, 10:51 PM EDT
http://www.dotnetperls.com/global-variable