Click here to Skip to main content
15,906,558 members
Home / Discussions / C#
   

C#

 
Generaldatagridview cell validation Pin
arkiboys10-Dec-07 23:44
arkiboys10-Dec-07 23:44 
GeneralRe: datagridview cell validation Pin
CKnig11-Dec-07 0:25
CKnig11-Dec-07 0:25 
GeneralRe: datagridview cell validation Pin
arkiboys11-Dec-07 0:32
arkiboys11-Dec-07 0:32 
Generalsize of an empty class Pin
.NET- India 10-Dec-07 23:26
.NET- India 10-Dec-07 23:26 
GeneralRe: size of an empty class Pin
CKnig10-Dec-07 23:28
CKnig10-Dec-07 23:28 
GeneralRe: size of an empty class Pin
.NET- India 10-Dec-07 23:31
.NET- India 10-Dec-07 23:31 
GeneralRe: size of an empty class Pin
CKnig10-Dec-07 23:38
CKnig10-Dec-07 23:38 
GeneralRe: size of an empty class Pin
.NET- India 10-Dec-07 23:47
.NET- India 10-Dec-07 23:47 
GeneralRe: size of an empty class Pin
CKnig10-Dec-07 23:54
CKnig10-Dec-07 23:54 
GeneralRe: size of an empty class Pin
.NET- India 11-Dec-07 0:03
.NET- India 11-Dec-07 0:03 
GeneralRe: size of an empty class Pin
pmarfleet11-Dec-07 2:36
pmarfleet11-Dec-07 2:36 
GeneralRe: size of an empty class Pin
Christian Graus10-Dec-07 23:56
protectorChristian Graus10-Dec-07 23:56 
QuestionDataTable.Select() finding data in all columns... Pin
thecodedemon10-Dec-07 22:12
thecodedemon10-Dec-07 22:12 
GeneralRe: DataTable.Select() finding data in all columns... Pin
CKnig10-Dec-07 23:18
CKnig10-Dec-07 23:18 
GeneralDropdownlist in a repeater Pin
minniemooo10-Dec-07 21:56
minniemooo10-Dec-07 21:56 
GeneralRe: Dropdownlist in a repeater Pin
Christian Graus10-Dec-07 22:20
protectorChristian Graus10-Dec-07 22:20 
QuestionHow to read and write a specific cell of MS Excel File Pin
dipak.dipak10-Dec-07 21:10
dipak.dipak10-Dec-07 21:10 
AnswerRe: How to read and write a specific cell of MS Excel File Pin
Abhijit Jana10-Dec-07 21:28
professionalAbhijit Jana10-Dec-07 21:28 
GeneralRe: How to read and write a specific cell of MS Excel File Pin
dipak.dipak11-Dec-07 0:13
dipak.dipak11-Dec-07 0:13 
GeneralRe: How to read and write a specific cell of MS Excel File Pin
Abhijit Jana11-Dec-07 1:51
professionalAbhijit Jana11-Dec-07 1:51 
Questiondatagridview Pin
avvaru.murali10-Dec-07 21:04
avvaru.murali10-Dec-07 21:04 
GeneralRe: datagridview Pin
I.explore.code10-Dec-07 22:47
I.explore.code10-Dec-07 22:47 
I guess, you want to display only one record on your grid everytime you enter one productid and search for it...right??

if thats the case, then if i assume you are using a dataset object to fill up your grid, you essentially need to re-initialise the grid which you can do by refreshing the Dataset object each time your search code executes.

like you can write

DoSearch()
{
DataSet dsProducts=new DataSet();
//code to fill your grid
dsProducts=null;
}

this way you always have single value in your dataset and hence your grid. I think you can try this, it should work.
QuestionRe: datagridview Pin
avvaru.murali10-Dec-07 22:54
avvaru.murali10-Dec-07 22:54 
Questionhow to identify a device which is connected to com port Pin
premkamalg10-Dec-07 20:49
premkamalg10-Dec-07 20:49 
GeneralRe: how to identify a device which is connected to com port Pin
Luc Pattyn11-Dec-07 1:23
sitebuilderLuc Pattyn11-Dec-07 1:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.