Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which is the most used programming language Pin
PIEBALDconsult6-Oct-08 10:43
mvePIEBALDconsult6-Oct-08 10:43 
GeneralRe: Which is the most used programming language Pin
Mark Churchill6-Oct-08 17:03
Mark Churchill6-Oct-08 17:03 
AnswerRe: Which is the most used programming language Pin
PIEBALDconsult6-Oct-08 10:49
mvePIEBALDconsult6-Oct-08 10:49 
JokeRe: Which is the most used programming language Pin
Pedram Behroozi6-Oct-08 11:37
Pedram Behroozi6-Oct-08 11:37 
AnswerRe: Which is the most used programming language Pin
Guffa6-Oct-08 22:49
Guffa6-Oct-08 22:49 
QuestionProblem inserting row in Access db with TableAdapter in C# [modified] Pin
Edward Hoad6-Oct-08 6:10
Edward Hoad6-Oct-08 6:10 
AnswerRe: Problem inserting row in Access db with TableAdapter in C# Pin
Pedram Behroozi6-Oct-08 7:53
Pedram Behroozi6-Oct-08 7:53 
QuestionRe: Problem inserting row in Access db with TableAdapter in C# Pin
Edward Hoad6-Oct-08 11:37
Edward Hoad6-Oct-08 11: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 12:15
Pedram Behroozi6-Oct-08 12:15 
AnswerRe: Problem inserting row in Access db with TableAdapter in C# Pin
Edward Hoad6-Oct-08 12:20
Edward Hoad6-Oct-08 12:20 
GeneralRe: Problem inserting row in Access db with TableAdapter in C# Pin
Pedram Behroozi6-Oct-08 12:45
Pedram Behroozi6-Oct-08 12:45 
QuestionGetting installed application version numbers in C# Pin
Matt Fishbeck6-Oct-08 6:07
Matt Fishbeck6-Oct-08 6:07 
QuestionProblems updating datagridview to datasource Pin
Richard Blythe6-Oct-08 5:40
Richard Blythe6-Oct-08 5:40 
QuestionRe: Problems updating datagridview to datasource Pin
nelsonpaixao6-Oct-08 13:16
nelsonpaixao6-Oct-08 13:16 
AnswerRe: Problems updating datagridview to datasource Pin
Richard Blythe6-Oct-08 16:16
Richard Blythe6-Oct-08 16:16 
GeneralRe: Problems updating datagridview to datasource Pin
nelsonpaixao7-Oct-08 12:22
nelsonpaixao7-Oct-08 12:22 
GeneralRe: Problems updating datagridview to datasource Pin
Richard Blythe7-Oct-08 16:13
Richard Blythe7-Oct-08 16:13 
GeneralRe: Problems updating datagridview to datasource Pin
nelsonpaixao8-Oct-08 13:31
nelsonpaixao8-Oct-08 13:31 
QuestionHow to seal a namespace Pin
Member 30621766-Oct-08 5:11
Member 30621766-Oct-08 5:11 
AnswerRe: How to seal a namespace Pin
Mark Churchill6-Oct-08 5:26
Mark Churchill6-Oct-08 5:26 
GeneralRe: How to seal a namespace Pin
Member 30621766-Oct-08 5:41
Member 30621766-Oct-08 5:41 
GeneralRe: How to seal a namespace Pin
Scott Dorman6-Oct-08 6:01
professionalScott Dorman6-Oct-08 6:01 
AnswerRe: How to seal a namespace Pin
S. Senthil Kumar6-Oct-08 6:00
S. Senthil Kumar6-Oct-08 6:00 
AnswerRe: How to seal a namespace Pin
Scott Dorman6-Oct-08 6:06
professionalScott Dorman6-Oct-08 6:06 
QuestionUnit Testing in VSTS 2008 [modified] Pin
new2pgrmg6-Oct-08 4:32
new2pgrmg6-Oct-08 4: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.