Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8941625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:20:59+00:00 2026-06-15T11:20:59+00:00

Im busy with a Windows Embedded CE 5.0 mobile app. I’m a bit stuck

  • 0

Im busy with a Windows Embedded CE 5.0 mobile app. I’m a bit stuck at the moment. I’m using a datagrid with data. I want to add a extra column to the grid(already did this. I added null from dual). Now in app i want users to be able to change the value of the field(how many units are in one pack).

Here is my code for the Datagrid:

private void gridView()
    {
        conn.Open();
        string query = "select distinct s.sku_id_no SKU_id, (pt.product_type_desc|| ' ' ||ps.prod_size_desc|| ' ' ||c.colour_desc) Product_Desc, null Pack_Units from sku s , product_type pt , prod_size ps , colour c , purch_order_carton_sku pocs, purch_order_carton_sku poc, dual where pocs.order_no ='" + this.orderCode + "' and pocs.carton_code ='" + this.cartonCode + "' and pocs.sku_id_no = s.sku_id_no and s.prod_size_id_no = ps.prod_size_id_no(+) and s.colour_id_no = c.colour_id_no(+)";
        OracleDataAdapter da = new OracleDataAdapter(query, conn);
        OracleDataSet ds = new OracleDataSet();
        da.Fill(ds);
        dgSku.DataSource = ds.Tables[0]; 
    {

Then I call the grid when screen loads like this:

private void frmCartonContentVerification_Load(object sender, EventArgs e)
    {
        gridView();
    }

enter image description here

So above is how it looks at the moment. So when a user for example click the first field of Pack_Units i want them to be able to edit the field.

Goal is when they click the NEXT button a validation procedure must run and check if that is correct. So it will be great if some can also show me how to get the value from a select field??

Im using Oracle database with VS 2005 c#.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:21:01+00:00Added an answer on June 15, 2026 at 11:21 am

    To get a value of currently selected cell (assume dgSku is your DataGrid):

    var value = dgSku[dgSku.CurrentCell.RowNumber, dgSku.CurrentCell.ColumnNumber];
    

    To be able to edit field….I’m afraid the solution is fairly painful. What you essentialy need is a column that is made up of TextBoxes, and because .NETCF provides only a subset of desktop equivalent’s functionality you have to make one yourself. Have a look here and here, this should give you a good starting point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am busy working on a mobile application that retrieves data from a web
I'm busy developing an app for Windows Phone 7. The app basically calls a
I'm running windows 7 64-bit and trying to load an ISAPI Extension I'm busy
I am busy working with an ASP.NET MVC 3 application and using Windows 7.
Windows Mobile pops up a busy wheel - a rotating colour disk - when
Busy working on Visual Studio 2010 Express for Windows phone and is wanting to
I'm busy working on a windows phone application that calls a servlet that then
Im busy with my app and i walked in some problems when i click
I am busy converting a query using the old style syntax to the new
I am using a System.Windows.Forms.Timer component on an application's main form which checks every

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.