C# data assignment - 905.700C

Oops...

From: Mark Tellefson [mailto:mtellefson@...]
Sent: Tuesday, February 26, 2013 1:07 PM
To: 'vantage@yahoogroups.com'
Subject: [Vantage] RE: C# data assignment - 905.700C



And what happens if I wanted to connect to that same VM from my home machine and an ipad?

From: Greg Payne [mailto:gpayne@...<mailto:gpayne%40compulink-usa.com>]
Sent: Tuesday, February 26, 2013 1:01 PM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] RE: C# data assignment - 905.700C

I am reading data from part and the text is getting assigned, but the numerics don't.

What do I need to change to get the numlaborMinutes and numResale below values from part?

Greg

private void txtPartNum_AfterExitEditMode(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **

bool oBool = false;
DataSet ds = new DataSet();

ds = SearchFunctions.listLookup(oTrans, "PartAdapter", out oBool, false, "PartNum = '" + txtPartNum.Text.Trim() + "'" + " and TypeCode = 'M'");
try
{
if(ds.Tables[0].Rows.Count > 0)
{
txtPartNum.Text = ds.Tables[0].Rows[0]["PartNum"].ToString();
txtPartNumDesc.Text = ds.Tables[0].Rows[0]["PartDescription"].ToString();
numLaborMinutes.Value = ds.Tables[0].Rows[0]["Number01"];
numResale.Value = ds.Tables[0].Rows[0]["UnitPrice"];
}
else
{
txtPartNum.Text = "";

}
}
catch{}

}

________________________________
CONFIDENTIALITY NOTICE

The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.

"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."

[Non-text portions of this message have been removed]

__________________________________________________________

[http://www.rapat.com/download/logoflat.jpg%5dhttp://www.rapat.com>

Mark Tellefson | Global IT Director | www.rapat.comhttp://www.rapat.com>

Phone: (218) 483-3344 | Toll Free: (800) 325-6377

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient and received this in error, please contact the sender by reply e-mail. You are hereby notified that the copying, use or distribution of any information or materials transmitted in or with this message is strictly prohibited.

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
I am reading data from part and the text is getting assigned, but the numerics don't.

What do I need to change to get the numlaborMinutes and numResale below values from part?


Greg

private void txtPartNum_AfterExitEditMode(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **


bool oBool = false;
DataSet ds = new DataSet();


ds = SearchFunctions.listLookup(oTrans, "PartAdapter", out oBool, false, "PartNum = '" + txtPartNum.Text.Trim() + "'" + " and TypeCode = 'M'");
try
{
if(ds.Tables[0].Rows.Count > 0)
{
txtPartNum.Text = ds.Tables[0].Rows[0]["PartNum"].ToString();
txtPartNumDesc.Text = ds.Tables[0].Rows[0]["PartDescription"].ToString();
numLaborMinutes.Value = ds.Tables[0].Rows[0]["Number01"];
numResale.Value = ds.Tables[0].Rows[0]["UnitPrice"];
}
else
{
txtPartNum.Text = "";

}
}
catch{}

}

________________________________
CONFIDENTIALITY NOTICE

The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.

"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."


[Non-text portions of this message have been removed]
And what happens if I wanted to connect to that same VM from my home machine and an ipad?

From: Greg Payne [mailto:gpayne@...]
Sent: Tuesday, February 26, 2013 1:01 PM
To: vantage@yahoogroups.com
Subject: [Vantage] RE: C# data assignment - 905.700C



I am reading data from part and the text is getting assigned, but the numerics don't.

What do I need to change to get the numlaborMinutes and numResale below values from part?

Greg

private void txtPartNum_AfterExitEditMode(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **

bool oBool = false;
DataSet ds = new DataSet();

ds = SearchFunctions.listLookup(oTrans, "PartAdapter", out oBool, false, "PartNum = '" + txtPartNum.Text.Trim() + "'" + " and TypeCode = 'M'");
try
{
if(ds.Tables[0].Rows.Count > 0)
{
txtPartNum.Text = ds.Tables[0].Rows[0]["PartNum"].ToString();
txtPartNumDesc.Text = ds.Tables[0].Rows[0]["PartDescription"].ToString();
numLaborMinutes.Value = ds.Tables[0].Rows[0]["Number01"];
numResale.Value = ds.Tables[0].Rows[0]["UnitPrice"];
}
else
{
txtPartNum.Text = "";

}
}
catch{}

}

________________________________
CONFIDENTIALITY NOTICE

The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.

"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."

[Non-text portions of this message have been removed]

_____________________________________________________________________________________________________

[http://www.rapat.com/download/logoflat.jpg%5d<http://www.rapat.com>

Mark Tellefson | Global IT Director | www.rapat.com<http://www.rapat.com>

Phone: (218) 483-3344 | Toll Free: (800) 325-6377

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient and received this in error, please contact the sender by reply e-mail. You are hereby notified that the copying, use or distribution of any information or materials transmitted in or with this message is strictly prohibited.


[Non-text portions of this message have been removed]