Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
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 
GeneralWrite Protecting a USB Flash Drive Programatically Pin
Ian Uy10-Dec-07 20:09
Ian Uy10-Dec-07 20:09 
QuestionRe: Write Protecting a USB Flash Drive Programatically Pin
Rojan Gh.10-Dec-07 22:41
professionalRojan Gh.10-Dec-07 22:41 
GeneralRe: Write Protecting a USB Flash Drive Programatically Pin
Ian Uy10-Dec-07 22:44
Ian Uy10-Dec-07 22:44 
QuestionXML or database...? Pin
Pankaj - Joshi10-Dec-07 19:52
Pankaj - Joshi10-Dec-07 19:52 
AnswerRe: XML or database...? Pin
StianSandberg10-Dec-07 20:34
StianSandberg10-Dec-07 20:34 
GeneralRe: XML or database...? Pin
blackjack215010-Dec-07 21:33
blackjack215010-Dec-07 21:33 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:25
Colin Angus Mackay10-Dec-07 22:25 
AnswerRe: XML or database...? Pin
darkelv10-Dec-07 21:05
darkelv10-Dec-07 21:05 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:20
Colin Angus Mackay10-Dec-07 22:20 
GeneralRe: XML or database...? Pin
darkelv11-Dec-07 0:30
darkelv11-Dec-07 0:30 
GeneralRe: XML or database...? Pin
Colin Angus Mackay11-Dec-07 1:50
Colin Angus Mackay11-Dec-07 1:50 
AnswerRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:28
Colin Angus Mackay10-Dec-07 22:28 
GeneralRe: XML or database...? Pin
anandakumarm10-Dec-07 23:02
anandakumarm10-Dec-07 23:02 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 23:32
Colin Angus Mackay10-Dec-07 23:32 

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.