Click here to Skip to main content
15,881,424 members
Home / Discussions / C#
   

C#

 
QuestionUsing F2 F3 In Web application Pin
kKamel15-Jul-09 20:04
kKamel15-Jul-09 20:04 
QuestionHow to add a button in the standard buttons list of IE window? Pin
svt gdwl15-Jul-09 19:09
svt gdwl15-Jul-09 19:09 
QuestionNeed help. Pin
mjawadkhatri15-Jul-09 19:07
mjawadkhatri15-Jul-09 19:07 
AnswerRe: Need help. Pin
Abhijit Jana15-Jul-09 19:31
professionalAbhijit Jana15-Jul-09 19:31 
GeneralRe: Need help. Pin
mjawadkhatri15-Jul-09 19:37
mjawadkhatri15-Jul-09 19:37 
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 
For Oracle, replace SqlConnection,SqlCommand,SqlDatareader to odbcConnection,odbccommand and odbcdatareader

odbcConnection con = new odbcConnection("your connection string");
odbcDataReader dr;
string str = "your query";
odbcCommand cmd = new odbcCommand(str, con);
dr = cmd.ExecuteReader();
if (dr.HasRows== false)
{
    //insert new row
}


Regards,
Karthik K...

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 
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 

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.