Click here to Skip to main content
15,880,651 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need help. Pin
K030615-Jul-09 19:44
K030615-Jul-09 19:44 
GeneralRe: Need help. Pin
mjawadkhatri15-Jul-09 19:46
mjawadkhatri15-Jul-09 19:46 
GeneralRe: Need help. Pin
K030615-Jul-09 20:20
K030615-Jul-09 20:20 
GeneralRe: Need help. Pin
mjawadkhatri15-Jul-09 20:24
mjawadkhatri15-Jul-09 20:24 
GeneralRe: Need help. Pin
K030615-Jul-09 20:49
K030615-Jul-09 20:49 
GeneralRe: Need help. Pin
mjawadkhatri15-Jul-09 20:21
mjawadkhatri15-Jul-09 20:21 
GeneralRe: Need help. Pin
Mycroft Holmes15-Jul-09 19:44
professionalMycroft Holmes15-Jul-09 19:44 
GeneralRe: Need help. Pin
mjawadkhatri15-Jul-09 20:02
mjawadkhatri15-Jul-09 20:02 
i want to do Accept employee ID in one time in a day 2nd time user give same Id in a same date not accepted.

this is my coding

string MyString;
MyString = "Select * from timemgmt";
if (radioin.Checked == true)
{
cn = new OdbcConnection("Driver={Microsoft ODBC for Oracle};Server=orcl;UID=it;PWD=cr;");

cmd = new OdbcCommand(MyString, cn);
cn.Open();
cmd.CommandText = "insert into timemgmt values('" + textBox1.Text + "','" + label19.Text + "','" + label18.Text + "','" + label18.Text + "')";
cmd.ExecuteNonQuery();
cn.Close();
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
textbox1.text = employe ID
label19.text = System Date
label18.text = System Time
GeneralRe: Need help. Pin
Mycroft Holmes15-Jul-09 20:58
professionalMycroft Holmes15-Jul-09 20:58 
QuestionHow to Print a file in c#? Pin
svt gdwl15-Jul-09 19:02
svt gdwl15-Jul-09 19:02 
AnswerRe: How to Print a file in c#? Pin
dan!sh 15-Jul-09 19:30
professional dan!sh 15-Jul-09 19:30 
QuestionHow to implement IOleCommandTarget and IOLEDocumentView interface in c#? Pin
svt gdwl15-Jul-09 18:41
svt gdwl15-Jul-09 18:41 
QuestionUser Control and Button Click Issue. Pin
VivekUtsa15-Jul-09 18:00
VivekUtsa15-Jul-09 18:00 
AnswerRe: User Control and Button Click Issue. Pin
dan!sh 15-Jul-09 18:56
professional dan!sh 15-Jul-09 18:56 
GeneralRe: User Control and Button Click Issue. Pin
VivekUtsa15-Jul-09 19:16
VivekUtsa15-Jul-09 19:16 
GeneralRe: User Control and Button Click Issue. Pin
dan!sh 15-Jul-09 19:26
professional dan!sh 15-Jul-09 19:26 
GeneralRe: User Control and Button Click Issue. Pin
VivekUtsa15-Jul-09 19:33
VivekUtsa15-Jul-09 19:33 
QuestionSystem.NullReferenceException was unhandled by user code, Object reference not set to an instance of an object. Pin
haleemasher15-Jul-09 17:04
haleemasher15-Jul-09 17:04 
AnswerRe: System.NullReferenceException was unhandled by user code, Object reference not set to an instance of an object. Pin
PIEBALDconsult15-Jul-09 18:06
mvePIEBALDconsult15-Jul-09 18:06 
AnswerRe: System.NullReferenceException was unhandled by user code, Object reference not set to an instance of an object. Pin
Vimalsoft(Pty) Ltd15-Jul-09 20:31
professionalVimalsoft(Pty) Ltd15-Jul-09 20:31 
QuestionWhich C# Book? Pin
321Markus12315-Jul-09 16:07
321Markus12315-Jul-09 16:07 
AnswerRe: Which C# Book? Pin
PIEBALDconsult15-Jul-09 17:09
mvePIEBALDconsult15-Jul-09 17:09 
QuestionDynamic Types in Generics? Pin
NandoMan15-Jul-09 11:49
NandoMan15-Jul-09 11:49 
AnswerRe: Dynamic Types in Generics? Pin
Pete O'Hanlon15-Jul-09 12:05
mvePete O'Hanlon15-Jul-09 12:05 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan15-Jul-09 12:14
NandoMan15-Jul-09 12:14 

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.