Click here to Skip to main content
15,916,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: A perfect example where goto should be used Pin
turbochimp4-Mar-05 11:13
turbochimp4-Mar-05 11:13 
GeneralRe: A perfect example where goto should be used Pin
Rob Graham4-Mar-05 11:39
Rob Graham4-Mar-05 11:39 
GeneralRe: A perfect example where goto should be used Pin
turbochimp5-Mar-05 6:10
turbochimp5-Mar-05 6:10 
GeneralRe: A perfect example where goto should be used Pin
leppie4-Mar-05 11:49
leppie4-Mar-05 11:49 
GeneralRe: A perfect example where goto should be used Pin
Dave Kreskowiak4-Mar-05 16:08
mveDave Kreskowiak4-Mar-05 16:08 
GeneralRe: A perfect example where goto should be used Pin
Rob Graham4-Mar-05 17:05
Rob Graham4-Mar-05 17:05 
GeneralRe: A perfect example where goto should be used Pin
turbochimp5-Mar-05 6:12
turbochimp5-Mar-05 6:12 
GeneralC# / Oracle -->Getting ByteArray from field(VARCHAR(250) Pin
Anonymous4-Mar-05 1:03
Anonymous4-Mar-05 1:03 
Hi All,

i have got a problem by getting data from an oracle column. The column contains 250 binary values in a single column ( VARCHAR2(250) )!
Each tries to get the byte to a byte array or into a string where not successful!

Just with object I could read something, just one letter and at least its wrong I think.

Thats my Source Code, ...
public static void Main(string[] args)
{
string constr = "Provider=msdaora; Data Source=***; USER ID=***; Password=***";
OleDbConnection myConnection = new OleDbConnection(constr);

string qry = "SELECT * FROM ruest_teach WHERE RT_RK_MODELL_NR= 'W202 M753 13' AND RT_RK_ORGE_NR = 591";

OleDbCommand myCommand = new OleDbCommand(qry,myConnection);
myConnection.Open();

//*** SELECT Operation ausführen lassen
OleDbDataReader myReader = myCommand.ExecuteReader();
string b = "";
int a = 0;
object c = new object();
while (myReader.Read())
{
a = Convert.ToInt32(myReader.GetDouble(0));
b = myReader.GetString(1);
c = myReader.GetOrdinal("RT_TEACH_H");
}
Console.WriteLine(a + " , " + b + " , |" + c + "|");
}


Maybe someone here can help me with my problem. It is really important, because it is part of my examination to get a programmers license in germany.

regards,
eXi

GeneralCE MAPI problem Pin
ppp0013-Mar-05 23:45
ppp0013-Mar-05 23:45 
GeneralPath to executable for a service Pin
MBAndersen3-Mar-05 23:05
MBAndersen3-Mar-05 23:05 
Generalwant code for add,del,update to db (c#) Pin
chandtec3-Mar-05 22:56
chandtec3-Mar-05 22:56 
GeneralRe: want code for add,del,update to db (c#) Pin
Sebastian Schneider3-Mar-05 22:59
Sebastian Schneider3-Mar-05 22:59 
GeneralRe: want code for add,del,update to db (c#) Pin
Colin Angus Mackay3-Mar-05 23:24
Colin Angus Mackay3-Mar-05 23:24 
GeneralRe: want code for add,del,update to db (c#) Pin
Sebastian Schneider3-Mar-05 23:27
Sebastian Schneider3-Mar-05 23:27 
GeneralRe: want code for add,del,update to db (c#) Pin
J4amieC4-Mar-05 0:14
J4amieC4-Mar-05 0:14 
GeneralRe: want code for add,del,update to db (c#) Pin
Kodanda Pani7-Mar-05 1:01
Kodanda Pani7-Mar-05 1:01 
GeneralC++ and Bios Pin
SESCO LIBYA3-Mar-05 22:42
SESCO LIBYA3-Mar-05 22:42 
GeneralRe: C++ and Bios Pin
leppie3-Mar-05 23:38
leppie3-Mar-05 23:38 
GeneralWindows Service & SendMessage Pin
s211197923-Mar-05 22:15
s211197923-Mar-05 22:15 
GeneralRe: Windows Service & SendMessage Pin
mav.northwind3-Mar-05 22:23
mav.northwind3-Mar-05 22:23 
GeneralRe: Windows Service & SendMessage Pin
s211197923-Mar-05 22:38
s211197923-Mar-05 22:38 
GeneralRe: Windows Service & SendMessage Pin
mav.northwind4-Mar-05 0:45
mav.northwind4-Mar-05 0:45 
GeneralRe: Windows Service & SendMessage Pin
James Poulose4-Mar-05 2:49
James Poulose4-Mar-05 2:49 
GeneralUsing Word functions Pin
V.3-Mar-05 21:29
professionalV.3-Mar-05 21:29 
GeneralReading ID3 tags with Shell32 Pin
Rob Tomson3-Mar-05 20:44
Rob Tomson3-Mar-05 20:44 

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.