Hi all,
i'm working on a simple TCP server-client query program whereby server takes
in an input query from the client, decodes it, and updates the datatable that
stores the data accordingly or returns the result of the query. There is a
datagrid on server whose datasource is the above datatable.
Whenever I receive a command to add a new row, the GUI of the server freezes
but other clients can still query the (updated) data as usual. And the GUI
returns back to normal once client that added the row disconnects from it.
Does anyone know what is wrong? I would gladly provide codes if needed but
won't do it in case I start flooding the forum.
Thank you in advance. 3 958
I guess I don't know enough about the infrastructure of your application
setup, but it seems to me that having a UI on the server isn't the right way
to go. Is the server app also the data server, and/or is the data persisted
anywhere?
--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF http://www.apress.com/book/bookDisplay.html?bID=105
"nSp" <nS*@discussions.microsoft.com> wrote in message
news:28**********************************@microsof t.com... Hi all,
i'm working on a simple TCP server-client query program whereby server takes in an input query from the client, decodes it, and updates the datatable that stores the data accordingly or returns the result of the query. There is a datagrid on server whose datasource is the above datatable.
Whenever I receive a command to add a new row, the GUI of the server freezes but other clients can still query the (updated) data as usual. And the GUI returns back to normal once client that added the row disconnects from it.
Does anyone know what is wrong? I would gladly provide codes if needed but won't do it in case I start flooding the forum.
Thank you in advance.
Thanx CT,
My data server is just in the form of a datatable whereby I populate its
rows using a text file when my server first starts up. Everything else that
happens take place within the datatable itself. Do you mean the problem lies
with the use of datagrid?
nSp
"CT" wrote: I guess I don't know enough about the infrastructure of your application setup, but it seems to me that having a UI on the server isn't the right way to go. Is the server app also the data server, and/or is the data persisted anywhere?
-- Carsten Thomsen Enterprise Development with VS .NET, UML, AND MSF http://www.apress.com/book/bookDisplay.html?bID=105
"nSp" <nS*@discussions.microsoft.com> wrote in message news:28**********************************@microsof t.com... Hi all,
i'm working on a simple TCP server-client query program whereby server takes in an input query from the client, decodes it, and updates the datatable that stores the data accordingly or returns the result of the query. There is a datagrid on server whose datasource is the above datatable.
Whenever I receive a command to add a new row, the GUI of the server freezes but other clients can still query the (updated) data as usual. And the GUI returns back to normal once client that added the row disconnects from it.
Does anyone know what is wrong? I would gladly provide codes if needed but won't do it in case I start flooding the forum.
Thank you in advance.
Is the text file directly bound to the DataTable or do you simply iterate
through it and add the rows to the DataTable? In addition, the data in the
text file, are they persisted from the the DataTable at any point?
--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF http://www.apress.com/book/bookDisplay.html?bID=105
"nSp" <nS*@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com... Thanx CT,
My data server is just in the form of a datatable whereby I populate its rows using a text file when my server first starts up. Everything else that happens take place within the datatable itself. Do you mean the problem lies with the use of datagrid?
nSp
"CT" wrote:
I guess I don't know enough about the infrastructure of your application setup, but it seems to me that having a UI on the server isn't the right way to go. Is the server app also the data server, and/or is the data persisted anywhere?
-- Carsten Thomsen Enterprise Development with VS .NET, UML, AND MSF http://www.apress.com/book/bookDisplay.html?bID=105
"nSp" <nS*@discussions.microsoft.com> wrote in message news:28**********************************@microsof t.com... > Hi all, > > i'm working on a simple TCP server-client query program whereby server > takes > in an input query from the client, decodes it, and updates the > datatable > that > stores the data accordingly or returns the result of the query. There > is a > datagrid on server whose datasource is the above datatable. > > Whenever I receive a command to add a new row, the GUI of the server > freezes > but other clients can still query the (updated) data as usual. And the > GUI > returns back to normal once client that added the row disconnects from > it. > > Does anyone know what is wrong? I would gladly provide codes if needed > but > won't do it in case I start flooding the forum. > > Thank you in advance. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: gcmf8888 |
last post by:
How to freeze column in datagrid like Excel? Thanks.
|
by: Ben |
last post by:
Is there any way to freeze the DataGrid headers so that
the headers are always viewable while srolling down?
Thanks in advance,
Ben!
|
by: Rags |
last post by:
Hi
We have a .NET application where we use a datagrid to show data on a webpage. In all we have 24 or so columns, some of which are not visible and become visible when the user clicks a button. We...
|
by: Ben |
last post by:
Has anyone achieve freezing column(s) in a datagrid or datalist, without the use of 3rd party component
Thanks
Ben
|
by: kobilov |
last post by:
Hi!
Some of the columns of my DataGrid should present on the screen all
time like row headers. I mean they should be horizontally
unscrollable.
How can I do this? How can I freeze some of the...
| |
by: Guillermo |
last post by:
Hi All.
Does anyone know if I can freeze a row in a Windows App
Datagrid? Like the "Freeze Panes" functionality of
Microsoft Excel.
Also, how can I add an extra row at the end of my data on
a...
|
by: Eusebio |
last post by:
Hi
How to freeze the first datagrid column?, I don't want it hide when the
grid is right scrolling
|
by: Agnes |
last post by:
I understand it is impossible, but still curious to know "Can I freeze
several column in the datagrid, the user can only scroll the first 3 columns
(not verical), for the rest of the coulumn, it is...
|
by: ZS |
last post by:
Hi,
I'm using Visual studio 2003. I was wondering if there was a way to freeze
the first 2 rows of a datagrid. So if the user scrolls to the last datarow is
there a way for the user to still be...
|
by: kdpo1990 |
last post by:
I've worked with ASP.NET apps. for a long time, but now, i have to
figure out
how to do same in win app. I need to find a way to lock or freeze table
column in datagrid.
This is a link to an...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |