Click here to Skip to main content
15,928,734 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: File Transfer Using Remoting Pin
Christopher Lord24-Jun-02 12:49
Christopher Lord24-Jun-02 12:49 
GeneralRe: File Transfer Using Remoting Pin
SHaroz25-Jun-02 5:30
SHaroz25-Jun-02 5:30 
GeneralRe: File Transfer Using Remoting Pin
Christopher Lord25-Jun-02 11:48
Christopher Lord25-Jun-02 11:48 
GeneralRe: File Transfer Using Remoting Pin
Joel Matthias25-Jun-02 12:44
Joel Matthias25-Jun-02 12:44 
GeneralRe: File Transfer Using Remoting Pin
SHaroz26-Jun-02 5:22
SHaroz26-Jun-02 5:22 
GeneralRe: File Transfer Using Remoting Pin
Joel Matthias26-Jun-02 5:41
Joel Matthias26-Jun-02 5:41 
GeneralRe: File Transfer Using Remoting Pin
SHaroz26-Jun-02 5:50
SHaroz26-Jun-02 5:50 
GeneralADO.NET newbie: Binding to comboBox & querying a dataset Pin
Andrew Connell19-Jun-02 2:44
Andrew Connell19-Jun-02 2:44 
Been using C# for a while now, but just never had to interact with a database (actually a running joke in the office... only dealt with web services, XML, sockets, and file IO). Anyway, I'm having a bit of a problem finding a solution to my challenge (two of them).

Quick Overview:
My application uses Access as a database (desktop app). On demand, I pull data from the Access database into a Dataset, using it as a working copy of the database. At anytime the user can save/reject his changes.

Challenge 1:
I am populating a combobox with values from one of my datatables. The value being added to the control is the "name" (not unique) of the record, but I have a unique ID for each record (int). When the user selects an option in the combobox, I want to be able to get the ID of the record the user selected. Currently, as I add items to the combobox, I add the ID's to an array where the combobox.selectedindex = index of the array. Makes it tough when they add a value to the combobox (I have to add it to the datatable, then flush and update the array and combobox so everything is synch'd. There MUST be a better way Big Grin | :-D This is my work around... just wanted to get it working and then go back and do it the right way.

Challenge 2:
Once my data is in the dataset, I need to be able to query it. The "datatable.contains" method helps, but what do I do when I need to find a specific record? I was looking for something that would do the following: DataRows theRecords = datatable.filter("intRecID=1"); However, I can't find a ".filter" or compareable item.

Any ideas on how to overcome these two challenges?Confused | :confused: Just about run all leads & ideas down...

Andrew Connell
IM on MSN
andrew@aconnell.com
GeneralRe: ADO.NET newbie: Binding to comboBox & querying a dataset Pin
Chris Rickard19-Jun-02 4:46
Chris Rickard19-Jun-02 4:46 
GeneralRe: ADO.NET newbie: Binding to comboBox & querying a dataset Pin
Andrew Connell19-Jun-02 5:36
Andrew Connell19-Jun-02 5:36 
GeneralRe: ADO.NET newbie: Binding to comboBox & querying a dataset Pin
Chris Rickard19-Jun-02 5:40
Chris Rickard19-Jun-02 5:40 
GeneralRemoting Architecture Pin
svsparks18-Jun-02 11:59
svsparks18-Jun-02 11:59 
GeneralRe: Remoting Architecture Pin
svsparks19-Jun-02 4:19
svsparks19-Jun-02 4:19 
GeneralInternet Explorer Interop Pin
Jared Bienz17-Jun-02 6:02
Jared Bienz17-Jun-02 6:02 
QuestionASCII for keys? Pin
Brian Olej15-Jun-02 18:51
Brian Olej15-Jun-02 18:51 
AnswerRe: ASCII for keys? Pin
David Wengier15-Jun-02 20:55
David Wengier15-Jun-02 20:55 
GeneralMSO.dll change Pin
Jon Newman15-Jun-02 3:30
Jon Newman15-Jun-02 3:30 
GeneralDebugging Pin
14-Jun-02 13:42
suss14-Jun-02 13:42 
QuestionWhere Do I Start? Pin
SABmore13-Jun-02 10:49
SABmore13-Jun-02 10:49 
AnswerRe: Where Do I Start? Pin
James T. Johnson13-Jun-02 12:04
James T. Johnson13-Jun-02 12:04 
GeneralXP Home and .NET Pin
Jason Henderson13-Jun-02 5:59
Jason Henderson13-Jun-02 5:59 
GeneralRe: XP Home and .NET Pin
Brandon Parker13-Jun-02 7:18
Brandon Parker13-Jun-02 7:18 
GeneralRe: XP Home and .NET Pin
Jason Henderson13-Jun-02 8:38
Jason Henderson13-Jun-02 8:38 
GeneralRe: XP Home and .NET Pin
Brandon Parker13-Jun-02 10:06
Brandon Parker13-Jun-02 10:06 
GeneralIcon for Custom UserControl in .Net Pin
12-Jun-02 21:09
suss12-Jun-02 21:09 

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.