| | |
Enable only one user to edit a row in SQL server database using C#, asp.net win apps
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
Enable only one user to edit a row in SQL server database using C#, asp.net win apps
0
#1 Aug 7th, 2007
Dear friends,
Fine and hope the same with you all.
I am here with one more new problem which I might be able to solve with your suggestions as we have did earlier.
Problem:
I have a requirement from my client where I need to give update or edit privileges on a particular row located in a table of remote SQL server database using C#,asp.net windows application.
(or)[the other side of my question]
I need to develop a C#, asp.net windows application that will restrict two users (Client side where no database is available) from accessing the same row of a table in a remote SQL server database at the same time.
Eg: ( for explaining the question in a better way)
A Hotel 'Krishna International' is having booking centers to book rooms in this hotel from various locations. All the booking centers will be in a network and from two different locations they should not be able to book the same room at a time.
Hope I am clear with the explanation of my problem. I request you all to think of this problem and suggest me how I can solve this problem. Your directions will be very helpful to solve this problem.
This time I will keep the coding part updated frequently so that it will be helpful to me and all of you to help me in solving this problem.
Hope to get back from you at the earliest.
Thanking you in anticipation,
Vamsi K Gummadi.
Fine and hope the same with you all.
I am here with one more new problem which I might be able to solve with your suggestions as we have did earlier.
Problem:
I have a requirement from my client where I need to give update or edit privileges on a particular row located in a table of remote SQL server database using C#,asp.net windows application.
(or)[the other side of my question]
I need to develop a C#, asp.net windows application that will restrict two users (Client side where no database is available) from accessing the same row of a table in a remote SQL server database at the same time.
Eg: ( for explaining the question in a better way)
A Hotel 'Krishna International' is having booking centers to book rooms in this hotel from various locations. All the booking centers will be in a network and from two different locations they should not be able to book the same room at a time.
Hope I am clear with the explanation of my problem. I request you all to think of this problem and suggest me how I can solve this problem. Your directions will be very helpful to solve this problem.
This time I will keep the coding part updated frequently so that it will be helpful to me and all of you to help me in solving this problem.
Hope to get back from you at the earliest.
Thanking you in anticipation,
Vamsi K Gummadi.
Re: Enable only one user to edit a row in SQL server database using C#, asp.net win apps
0
#2 Aug 7th, 2007
Re: Enable only one user to edit a row in SQL server database using C#, asp.net win apps
0
#3 Aug 9th, 2007
Hello,
Thank you for the reply and I am looking into the solution you suggested for.
In the problem I am trying to explain.
The database will be on a system 'C' and there are two clients 'A' and 'B' who are connected to 'C' through network.
A-----------------C------------------B
client database client
The client 'A' and 'B' will not have any database with them. Both of them must be able to view the database at the same time but if they try to edit (' book the room') only one should be allowed to perform the transaction at a time.
i.e., I need to restrict the number of users accessing the same row of a table in SQL database with edit and update previleges at the same time to 'One' using C# windows application. I don't have rights on the database so I need to develop this functionality as a client side windows application. I have complete previleges on all the sytems being used as clients.
Hope I am clear with my explanation.
Waiting for your suggestions,
thanking you,
Vamsi K Gummadi.
Thank you for the reply and I am looking into the solution you suggested for.
In the problem I am trying to explain.
The database will be on a system 'C' and there are two clients 'A' and 'B' who are connected to 'C' through network.
A-----------------C------------------B
client database client
The client 'A' and 'B' will not have any database with them. Both of them must be able to view the database at the same time but if they try to edit (' book the room') only one should be allowed to perform the transaction at a time.
i.e., I need to restrict the number of users accessing the same row of a table in SQL database with edit and update previleges at the same time to 'One' using C# windows application. I don't have rights on the database so I need to develop this functionality as a client side windows application. I have complete previleges on all the sytems being used as clients.
Hope I am clear with my explanation.
Waiting for your suggestions,
thanking you,
Vamsi K Gummadi.
Re: Enable only one user to edit a row in SQL server database using C#, asp.net win apps
0
#4 Aug 9th, 2007
![]() |
Similar Threads
- How to connect MSAccess database in ASP.NET (C#)
- connecting to sql server database using C++ program (C++)
- database connection (ASP.NET)
- Help needed: Connecting to sql server database (VB.NET)
- SQL Server, Images and DataGrid in ASP.NET (ASP.NET)
- Connecting to a SQL Server Database using VB (VB.NET)
- How to connect sql database in asp.net using VB? (ASP.NET)
- Sql Server Database Connector (JSP)
- sql server connection (ASP)
Other Threads in the ASP.NET Forum
- Previous Thread: Calendar Events on day
- Next Thread: Datbase help
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# cac checkbox class commonfunctions compatible content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal formview gridview gudi iframe iis javascript listbox menu microsoft mouse mssql multistepregistration nameisnotdeclared news opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers






