Click here to Skip to main content
15,792,771 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which is the most used programming language Pin
PIEBALDconsult6-Oct-08 11:43
professionalPIEBALDconsult6-Oct-08 11:43 
GeneralRe: Which is the most used programming language Pin
Mark Churchill6-Oct-08 18:03
Mark Churchill6-Oct-08 18:03 
AnswerRe: Which is the most used programming language Pin
PIEBALDconsult6-Oct-08 11:49
professionalPIEBALDconsult6-Oct-08 11:49 
JokeRe: Which is the most used programming language Pin
Pedram Behroozi6-Oct-08 12:37
Pedram Behroozi6-Oct-08 12:37 
AnswerRe: Which is the most used programming language Pin
Guffa6-Oct-08 23:49
Guffa6-Oct-08 23:49 
QuestionProblem inserting row in Access db with TableAdapter in C# [modified] Pin
Edward Hoad6-Oct-08 7:10
Edward Hoad6-Oct-08 7:10 
AnswerRe: Problem inserting row in Access db with TableAdapter in C# Pin
Pedram Behroozi6-Oct-08 8:53
Pedram Behroozi6-Oct-08 8:53 
QuestionRe: Problem inserting row in Access db with TableAdapter in C# Pin
Edward Hoad6-Oct-08 12:37
Edward Hoad6-Oct-08 12:37 
After reading from a page on the msdn site, | have modified my code - this is actually an insert to a different table in the same database. I no longer receive errors; however, the code does not insert the record. I googled and found other people experiencing the same problem, where the code is apparently correct, but the insert (or update, as some found) never happens...
private void btnAddAttend_Click(object sender, EventArgs e)
        {
            string status = txtStatus.Text;
            string desc = txtDesc.Text;
            bool charge = chkCharge.Checked;

            MTATestTableAdapters.AttendanceTableAdapter attendTA = new AttendanceTableAdapter();
            attendTA.Insert(status, desc, charge);

            txtStatus.Text = "";
            txtDesc.Text = "";
            chkCharge.Checked = false;
        }


What is odd is that when I do a query to find the row count, it increments as if the data has been added. But, if I search for a particular entry, only those entries I manually added to Access appear...Confused | :confused:
AnswerRe: Problem inserting row in Access db with TableAdapter in C# Pin
Pedram Behroozi6-Oct-08 13:15
Pedram Behroozi6-Oct-08 13:15 
AnswerRe: Problem inserting row in Access db with TableAdapter in C# Pin
Edward Hoad6-Oct-08 13:20
Edward Hoad6-Oct-08 13:20 
GeneralRe: Problem inserting row in Access db with TableAdapter in C# Pin
Pedram Behroozi6-Oct-08 13:45
Pedram Behroozi6-Oct-08 13:45 
QuestionGetting installed application version numbers in C# Pin
Matt Fishbeck6-Oct-08 7:07
Matt Fishbeck6-Oct-08 7:07 
QuestionProblems updating datagridview to datasource Pin
Richard Blythe6-Oct-08 6:40
Richard Blythe6-Oct-08 6:40 
QuestionRe: Problems updating datagridview to datasource Pin
nelsonpaixao6-Oct-08 14:16
nelsonpaixao6-Oct-08 14:16 
AnswerRe: Problems updating datagridview to datasource Pin
Richard Blythe6-Oct-08 17:16
Richard Blythe6-Oct-08 17:16 
GeneralRe: Problems updating datagridview to datasource Pin
nelsonpaixao7-Oct-08 13:22
nelsonpaixao7-Oct-08 13:22 
GeneralRe: Problems updating datagridview to datasource Pin
Richard Blythe7-Oct-08 17:13
Richard Blythe7-Oct-08 17:13 
GeneralRe: Problems updating datagridview to datasource Pin
nelsonpaixao8-Oct-08 14:31
nelsonpaixao8-Oct-08 14:31 
QuestionHow to seal a namespace Pin
Member 30621766-Oct-08 6:11
Member 30621766-Oct-08 6:11 
AnswerRe: How to seal a namespace Pin
Mark Churchill6-Oct-08 6:26
Mark Churchill6-Oct-08 6:26 
GeneralRe: How to seal a namespace Pin
Member 30621766-Oct-08 6:41
Member 30621766-Oct-08 6:41 
GeneralRe: How to seal a namespace Pin
Scott Dorman6-Oct-08 7:01
professionalScott Dorman6-Oct-08 7:01 
AnswerRe: How to seal a namespace Pin
S. Senthil Kumar6-Oct-08 7:00
S. Senthil Kumar6-Oct-08 7:00 
AnswerRe: How to seal a namespace Pin
Scott Dorman6-Oct-08 7:06
professionalScott Dorman6-Oct-08 7:06 
QuestionUnit Testing in VSTS 2008 [modified] Pin
new2pgrmg6-Oct-08 5:32
new2pgrmg6-Oct-08 5:32 

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.