Click here to Skip to main content
15,891,723 members
Home / Discussions / C#
   

C#

 
AnswerRe: ms access Stored Procedure - I am getting an empty DataSet when running a stored query Pin
astroudjr24-Mar-09 9:43
astroudjr24-Mar-09 9:43 
QuestionCan't decide on the UI Pin
Ankit Rajpoot24-Mar-09 8:48
Ankit Rajpoot24-Mar-09 8:48 
AnswerRe: Can't decide on the UI Pin
Xmen Real 24-Mar-09 8:58
professional Xmen Real 24-Mar-09 8:58 
GeneralRe: Can't decide on the UI Pin
Ankit Rajpoot24-Mar-09 15:04
Ankit Rajpoot24-Mar-09 15:04 
GeneralRe: Can't decide on the UI Pin
Xmen Real 24-Mar-09 15:10
professional Xmen Real 24-Mar-09 15:10 
QuestionUpdating Primary key Pin
BijayaSharma24-Mar-09 8:36
BijayaSharma24-Mar-09 8:36 
AnswerRe: Updating Primary key Pin
Xmen Real 24-Mar-09 8:42
professional Xmen Real 24-Mar-09 8:42 
AnswerRe: Updating Primary key Pin
jaypatel51225-Mar-09 6:34
jaypatel51225-Mar-09 6:34 
Make sure you have not kept the ID as the primary key , as primary key may not be updated...
But I am not that damn sure...
But I havent came across such .....
Now for this its better to use a better way to code...
This should be something like this...
I am writing for SQL but its similar for OLE DB...

SqlCommand cmd = new SqlCommand();
cmd.Connection = cn; //Anything you have as SqlConnection object
cmd.CommandText = "Update Membership SET UserID = @UserID";

cmd.Parameters.AddWithValue("@UserID",txtuserid.Text);

int R = cmd.ExecuteNonQuery();
cn.close();
Questionauto-Completion with C# Pin
jbu2024-Mar-09 8:23
jbu2024-Mar-09 8:23 
AnswerRe: auto-Completion with C# Pin
Xmen Real 24-Mar-09 8:37
professional Xmen Real 24-Mar-09 8:37 
QuestionHelp on Dictionaries and the BackgroundWorker class. Pin
nike_arh24-Mar-09 8:09
nike_arh24-Mar-09 8:09 
AnswerRe: Help on Dictionaries and the BackgroundWorker class. Pin
MidwestLimey24-Mar-09 9:32
professionalMidwestLimey24-Mar-09 9:32 
AnswerRe: Help on Dictionaries and the BackgroundWorker class. Pin
Luc Pattyn24-Mar-09 15:36
sitebuilderLuc Pattyn24-Mar-09 15:36 
QuestionPrint Format in c#,winforms Pin
avvaru.murali24-Mar-09 7:28
avvaru.murali24-Mar-09 7:28 
QuestionTapi 3.0 events Pin
daniel kuperberg24-Mar-09 6:50
daniel kuperberg24-Mar-09 6:50 
QuestionGet label text value from ID in C# Pin
asipo24-Mar-09 6:36
asipo24-Mar-09 6:36 
AnswerRe: Get label text value from ID in C# Pin
moon_stick24-Mar-09 7:25
moon_stick24-Mar-09 7:25 
AnswerRe: Get label text value from ID in C# Pin
Xmen Real 24-Mar-09 8:36
professional Xmen Real 24-Mar-09 8:36 
GeneralRe: Get label text value from ID in C# Pin
asipo24-Mar-09 9:22
asipo24-Mar-09 9:22 
QuestionHow to geht the Solution Items VSX Pin
Dromar24-Mar-09 6:32
Dromar24-Mar-09 6:32 
QuestionLooking for a TCP/IP commercial library Pin
dbambirck24-Mar-09 6:31
dbambirck24-Mar-09 6:31 
AnswerRe: Looking for a TCP/IP commercial library Pin
harold aptroot24-Mar-09 6:45
harold aptroot24-Mar-09 6:45 
GeneralRe: Looking for a TCP/IP commercial library Pin
dbambirck25-Mar-09 4:27
dbambirck25-Mar-09 4:27 
GeneralRe: Looking for a TCP/IP commercial library Pin
harold aptroot25-Mar-09 5:15
harold aptroot25-Mar-09 5:15 
GeneralRe: Looking for a TCP/IP commercial library Pin
dbambirck25-Mar-09 6:11
dbambirck25-Mar-09 6:11 

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.