Click here to Skip to main content
15,921,212 members
Home / Discussions / C#
   

C#

 
QuestionMSVS Designer Error Pin
Kordzik2-Apr-06 1:07
Kordzik2-Apr-06 1:07 
QuestionMS ObjectSpaces Pin
Varun Jain 7862-Apr-06 0:21
Varun Jain 7862-Apr-06 0:21 
QuestionSend more than 1024bytes with sockets? Pin
Erikerikerikerikerassa2-Apr-06 0:16
Erikerikerikerikerassa2-Apr-06 0:16 
AnswerRe: Send more than 1024bytes with sockets? Pin
leppie2-Apr-06 8:08
leppie2-Apr-06 8:08 
GeneralRe: Send more than 1024bytes with sockets? Pin
Erikerikerikerikerassa3-Apr-06 2:14
Erikerikerikerikerassa3-Apr-06 2:14 
QuestionDateTime parse help Pin
eggie51-Apr-06 23:00
eggie51-Apr-06 23:00 
AnswerRe: DateTime parse help Pin
mav.northwind2-Apr-06 0:11
mav.northwind2-Apr-06 0:11 
QuestionProblems updating records with Access DB Pin
James M 19821-Apr-06 22:32
James M 19821-Apr-06 22:32 
I keep getting the exception:

System.InvalidOperationException was unhandled
Message="Update requires a valid UpdateCommand when passed DataRow collection with modified rows."

when exicuting the following code:

myDataTable.Rows[intRowPosition]["Notes"] = txtNotes.Text;
myAdapter.Update(myDataTable); //Error on this line


The MSDN says that its due to The source table being invalid.

I was also wondering if something in my connection string would cause this issue, if i had to specificly set a two way connection, but I am able to pull data and requery the connection at run time... so i dont think it would be an Access DB issue.

string dctsConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Documents and Settings\\jmarchessault\\My Documents\\Visual Studio 2005\\Projects\\Database\\dctsDB.mdb;Persist Security Info=True";


James M
Network Analyst
Shaw Cable

-- modified at 4:33 Sunday 2nd April, 2006SG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WindowsApplication1.Program.Main() in C:\Documents and Settings\jmarchessault\My Documents\Visual Studio 2005\Projects\Non-Responders Copy2\Non-Responders Copy2\Program.cs:line 17
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


James M
Network Analyst
Shaw Cable
GeneralRe: Problems updating records with Access DB Pin
Guffa2-Apr-06 4:33
Guffa2-Apr-06 4:33 
QuestionTELNET Pin
picasso21-Apr-06 22:01
picasso21-Apr-06 22:01 
QuestionMouse wheel settings API Pin
eligazit1-Apr-06 21:36
eligazit1-Apr-06 21:36 
QuestionWebRequest.GetResponse() Pin
mikker_1231-Apr-06 15:24
mikker_1231-Apr-06 15:24 
AnswerRe: WebRequest.GetResponse() Pin
Guffa2-Apr-06 0:25
Guffa2-Apr-06 0:25 
QuestionCode explain... Pin
KORCARI1-Apr-06 14:47
KORCARI1-Apr-06 14:47 
AnswerRe: Code explain... Pin
Kir Birger1-Apr-06 15:36
Kir Birger1-Apr-06 15:36 
QuestionC# SetEnvironmentVariable Pin
Kir Birger1-Apr-06 14:25
Kir Birger1-Apr-06 14:25 
AnswerRe: C# SetEnvironmentVariable Pin
Robert M Greene1-Apr-06 14:55
Robert M Greene1-Apr-06 14:55 
GeneralRe: C# SetEnvironmentVariable Pin
Kir Birger1-Apr-06 15:00
Kir Birger1-Apr-06 15:00 
AnswerRe: C# SetEnvironmentVariable Pin
Robert M Greene1-Apr-06 14:59
Robert M Greene1-Apr-06 14:59 
GeneralRe: C# SetEnvironmentVariable Pin
Kir Birger1-Apr-06 15:33
Kir Birger1-Apr-06 15:33 
QuestionRe: C# SetEnvironmentVariable Pin
leppie1-Apr-06 16:44
leppie1-Apr-06 16:44 
AnswerRe: C# SetEnvironmentVariable Pin
Kir Birger1-Apr-06 16:47
Kir Birger1-Apr-06 16:47 
GeneralRe: C# SetEnvironmentVariable Pin
Robert M Greene1-Apr-06 17:24
Robert M Greene1-Apr-06 17:24 
GeneralRe: C# SetEnvironmentVariable Pin
Kir Birger1-Apr-06 17:45
Kir Birger1-Apr-06 17:45 
QuestionC# Cannot find file Pin
tjDieHard1-Apr-06 13:51
tjDieHard1-Apr-06 13:51 

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.