View Complete Post
I wanted to know how to prevent more than one user from
uploading the report at a time .I am new to .net ,plss help with the
code that would be great.Details are below:
This is a Windos based
app written in c# . When User A clicks Upload option on one server
from the menu to upload the files and at the same time when User B
clicks Upload option on different server , User B should be alerted a
message saying "User A's uploading is in progress,pls wait" . How to
achieve this, plsss help with the code.. I am thinking this logic should be kept in a stored proc, How do I write that proc? plss help
Thanks in advance!
I'm writing a page that gets info from my database quite often, but on different events.
To demonstrate, There are three buttons- "Adults","Kids", and "babies".
When clicking on "Adults" the code fetches info from the "Adults" table and displays it.
Everything is working well, thing is I'm not sure that the way I implemented it is good enough.
What I did is that on each button click, in the eventhandler a new instance of the connection object is created, with which I open a conneciton, fetch the data, and than close it.
So, if I have 3 buttons- there are three different connection objects, in three differenct eventhandlers, each doing his own Open-Close.
Thing is the page needs to expand to 19 objects (give or take) where not all of them are buttons, each of them should access my datasource- and I'm pretty sure that 19 times creating a connection object + Open-Close operations for each is the wrong way.
Now, I DONT WANT TO WIRE UP ALL OF THE eventhandlers, since not all of the objects are buttons.
I've heared something that is called a Singelton might work, but I'm not sure what that.
Any idea will be appreicated. Thanks
I'm having an issue with specific users when they are attempting to login to our intranet. When they put the following in the prompt:
They are presented with the authentication prompt 2 or 3 more times. The site is in the trusted group of sites so I don't think it's that. I've logged in with my own account with no issues.
Forgive me if I'm lacking in any more detail but I'm not a developer nor am I nearly as savvy as anyone else on these forums I'm just breaking into the admin functions here as I just started working here. I have no background in sharepoint so any help would
be very much appreciated.
If there's more information you need I can see what I can provide. Again, this is occurring on two different users' computers. I've attemped using their logins and pws as well as adding new users as per hosting company. They created new users in AD and had
me add them to Sharepoint. No luck.
Thanks in advance!
I've tried to read through a number of various solutions provided both through here and on google but they all seem to lead to the trusted sites solution which is not the problem I'm having. I've tried google for other possible solutions but haven't found
I'm almost certain that our sharepoint server is hosted by someone so any sp
i got some samples and i did autocomplete using jquery , its working well for single input values
but i need to pass multiples values after one by one in the textbox. Is it possible to pass multiple
values in the textbox for autocomplete in jquery in asp.net?
I have the standard .net login control that is working. (Still learning .net after 15yrs of classic)
Thanks ahead of time
I am developing a multi-company application and want my users to give the functionality like the following to switch companies.
Is this possible? then how?
I have a user control that I place on a page severl times. When I make a selection on a ddl in one one control the SelectedIndexChanged event fires for all the control on the page for that ddl. So I get duplication of an insert that I do. Is there a way to make sure these events are isolated so this doesn't happen.
I want to add multiple rows of a gridview if the data for multiple fields are same.
Idea for this is that a user may search a record with some parameter e.g. Sector, plot.
For example 15 records being displayed in gridview.
There should be checkbox before every row and if user wants to update Plot and Flat No that is same for 10 rows out of 15 so he will check the rows and update.
For this a dialog box should appear asking for the parameter i.e. Plot and Flat or something else next time may be it will be City or country. Moreover, there is already an Edit button to update records, when user click it another page open for the record to be updated and whatever he wants to update, it updates.
Hope everone understand the scenario.
I don't want to disturb the already provided Edit functionality and want to provide same record to be updated.
Any idea in this regard would be appreciated.