Sahil
Mon Oct 31 12:50:17 CST 2005
Oh Thank you Jeppe :) .. It's very encouraging to know see all that effort
being appreciated. THANKS :), you made my day. :)
- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
-------------------------------------------------------------------------------------------
"Jeppe Jespersen" <jdj@nogo_jdj.dk> wrote in message
news:eB8L1Mg3FHA.1184@TK2MSFTNGP12.phx.gbl...
>
> Thanks to all for replies. The "add-a-space" solution is pretty sweet. :-)
> Coincidentally, I am right now reading your (Maliks) "Pro ADO.Net 2.0"
> book, and it is EXCELLENT.
>
> J.Jespersen
> Denmark
>
>
>
> "Sahil Malik [MVP]" <contactmethrumyblog@nospam.com> wrote in message
> news:%238%23NmQD3FHA.2816@tk2msftngp13.phx.gbl...
>> Please see
>>
http://codebetter.com/blogs/sahil.malik/archive/2005/10/07/132857.aspx
>> for the problem description .. and solution in both .NET 2.0 and 1.1
>>
>>
>> --
>>
>> - Sahil Malik [MVP]
>> ADO.NET 2.0 book -
>>
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
>> ----------------------------------------------------------------------------
>>
>> "Jeppe Jespersen" <jdj@jdjDELETETHIS.dk> wrote in message
>> news:e5d%23td72FHA.3704@TK2MSFTNGP10.phx.gbl...
>>>I have a very simple WinForms app, that uses a sqlDataAdapter retrieve
>>>data into a dataset.
>>> The dataset is set to be the datasource of a DataGrid. If - while
>>> editing rows in my grid - i lose my network connection (or stop + start
>>> my sqlserver), i get a "General Network Error" when I call my
>>> dataAdapters .update method. (...naturally, after reestablishing network
>>> connection, that is...)
>>>
>>> However, if i disable connection pooling, I get no error. Also, with
>>> connection pooling enabled, if I repeatedly call update, eventually it
>>> succeeds on the third attempt.
>>>
>>> Anyone who can smarten me up?
>>>
>>> J. Jespersen
>>> Denmark
>>>
>>>
>>
>>
>
>