Click here to Skip to main content
15,897,704 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: programming with HTTP connection through GPRS Pin
a_jhakas10-Dec-06 20:41
a_jhakas10-Dec-06 20:41 
GeneralRe: programming with HTTP connection through GPRS Pin
George_George11-Dec-06 3:20
George_George11-Dec-06 3:20 
GeneralRe: programming with HTTP connection through GPRS Pin
a_jhakas11-Dec-06 18:52
a_jhakas11-Dec-06 18:52 
GeneralRe: programming with HTTP connection through GPRS Pin
George_George11-Dec-06 20:11
George_George11-Dec-06 20:11 
QuestionWindows Mobile5.0 Pin
Sri harini7-Dec-06 17:07
Sri harini7-Dec-06 17:07 
AnswerRe: Windows Mobile5.0 Pin
Mike Dimmick7-Dec-06 23:32
Mike Dimmick7-Dec-06 23:32 
QuestionDisplay the current location's latitude and longitude on the mobile Pin
Ritika S6-Dec-06 23:10
Ritika S6-Dec-06 23:10 
Questionsystem.data.datarowview being displayed in a combo box, pocketPC 5.0 device Pin
steve_rm6-Dec-06 5:27
steve_rm6-Dec-06 5:27 
Hello,

I am populating at combo box from a dataset. But when I run the program I find I get system.data.datarowview being displayed in the combo box. What should be displayed is the values in the table. i.e. R4484, G5474.

I am using pocket PC 5.0. I have tried this code in a simple window form, and it works fine, but not in a pocket Pc application. That is why i posted here. Thought maybe there was something wrong with this type of control being used in pocket pc application.

<br />
ds = ws.loadSupportContracts(clientID)<br />
<br />
            If (ds.Tables(0).Rows.Count > 0) Then<br />
                Me.cboSupportContracts.DisplayMember = "supportContractID"<br />
                Me.cboSupportContracts.ValueMember = "supportContractID"<br />
                Me.cboSupportContracts.DataSource =ds.Tables("contracts").DefaultView<br />
            End If<br />


I did try and solve this problem by doing the follow. But had an error "value does not fall within the expected range"
[code]
ds = ws.loadSupportContracts(clientID)
Me.cboSupportContracts.DataSource = ds.Tables("contracts").DefaultView

Me.cboSupportContracts.DisplayMember = "supportContractID"
Me.cboSupportContracts.ValueMember = "supportContractID"


I have also tried using a binding source but still the combo box kept on displaying system.data.datarowview.
<br />
ds = ws.loadContacts(clientID)<br />
            bs.DataSource = ds<br />
            bs.DataMember = "contracts"<br />
<br />
            If (ds.Tables(0).Rows.Count > 0) Then<br />
                Me.cboContact.Items.Clear()<br />
                Me.cboSupportContracts.DisplayMember = "supportContractID"<br />
                Me.cboSupportContracts.ValueMember = "supportContractID"<br />
                Me.cboContact.DataSource = bs<br />
            End If<br />


If anyone has any ideas about this please let me know.

Many thanks in advance,

Steve
AnswerRe: system.data.datarowview being displayed in a combo box, pocketPC 5.0 device Pin
AlexeiXX36-Dec-06 6:27
AlexeiXX36-Dec-06 6:27 
QuestionRe: system.data.datarowview being displayed in a combo box, pocketPC 5.0 device Pin
steve_rm13-Dec-06 6:45
steve_rm13-Dec-06 6:45 
AnswerRe: system.data.datarowview being displayed in a combo box, pocketPC 5.0 device Pin
RB@Emphasys19-Aug-07 12:31
RB@Emphasys19-Aug-07 12:31 
QuestionSystem.Diagnostics.Process in CF 1.0 Pin
Dewald6-Dec-06 0:04
Dewald6-Dec-06 0:04 
AnswerRe: System.Diagnostics.Process in CF 1.0 Pin
arcticbrew7-Dec-06 12:06
arcticbrew7-Dec-06 12:06 
GeneralRe: System.Diagnostics.Process in CF 1.0 Pin
Dewald7-Dec-06 21:01
Dewald7-Dec-06 21:01 
GeneralRe: System.Diagnostics.Process in CF 1.0 Pin
arcticbrew8-Dec-06 8:52
arcticbrew8-Dec-06 8:52 
Questionsbr extension Pin
Like2Byte4-Dec-06 10:27
Like2Byte4-Dec-06 10:27 
AnswerRe: sbr extension Pin
Mike Dimmick7-Dec-06 23:51
Mike Dimmick7-Dec-06 23:51 
Questionusing C/C++ to read SIM card information Pin
George_George4-Dec-06 3:54
George_George4-Dec-06 3:54 
QuestionAccess phone call log Pin
Stefano Alini4-Dec-06 3:36
Stefano Alini4-Dec-06 3:36 
QuestionIPv6 programming on mobile device with vc2005 Pin
fansy_fs3-Dec-06 19:03
fansy_fs3-Dec-06 19:03 
Questioncannot establish a connection to the network PocketPC 5.0 Pin
steve_rm3-Dec-06 17:19
steve_rm3-Dec-06 17:19 
AnswerRe: cannot establish a connection to the network PocketPC 5.0 Pin
AlexeiXX36-Dec-06 6:36
AlexeiXX36-Dec-06 6:36 
GeneralRe: cannot establish a connection to the network PocketPC 5.0 Pin
steve_rm6-Dec-06 23:40
steve_rm6-Dec-06 23:40 
AnswerRe: cannot establish a connection to the network PocketPC 5.0 Pin
a_jhakas11-Dec-06 19:01
a_jhakas11-Dec-06 19:01 
QuestionWhere the hell is STAThread (CF 2.0)? [modified] Pin
rudiman2-Dec-06 12:52
rudiman2-Dec-06 12:52 

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.