Architecture :: Notify Message To Server About Change In Database
Apr 16, 2010
I am new to ASP.NET which is causing me a lot of problems in implementing my project. My project is to create a website for students to anonymously ask the prof. questions during the class. Basically I am able to create the website that maintains the list of questions. Now the main problem is "How to notify the Professor during class". The professor has a laptop connected to internet at all times. How can I send a notification message to the professor whenever a question is asked? I don't need a mail notification but I need to display a message in the task bar notification area.
View 2 Replies
Similar Messages:
Mar 25, 2011
I am saving the file name list in the specified folder into the database. But my code should detect automatically if any new files have been added or any files have been deleted from the folder, then only the changed file names should again saved into db. I am not aware of the features of Folder properties.
View 1 Replies
Sep 20, 2010
I am using this ccode right now..
<%using (Html.BeginForm("SaveNewServiceTypeCategory","ServiceTypeCategory")){ %>
<table>
<tr>
<td>Service type category:</td>[code].....
View 1 Replies
Apr 1, 2010
By default in login template, in case user key in the wrong user name or password, the literal message will show the default error message, "Your login attempt unsuccessful..."What i trying to do is, I have a function in my system to disapprove a member, after the member is disapproved, he/she will not allow to login anymore. When the user trying to login, the default literal msg will show out. Is there any way i can do it more specifically like if the user enter the wrong password only, the literal msg show: "Wrong password entered" insteaed of the default msg?
Same goes to the change password control, for any error msg it just show the long msg but does not tell user whats wrong with the entered valueim trying to do something like if the user enter the wrong password, the literal msg show the one i wan to show.
View 5 Replies
Feb 11, 2010
I want to display user a message as soon as user logged into the web app.
View 15 Replies
Oct 15, 2010
How can I chnage the default language in a database? I'm running SMSSQL 2008 and I have not access to the server physical. I have to do this by SQL. I have vs 2010 and SQL Managment Studio
View 1 Replies
Oct 11, 2010
I have to add HL7 compatibility to a database.How to create a sample:Database name: DBshwetaLets say there is just one table inside the db i.e tblValues with column name as Name,Age.Now i have to create a Hl7 message with the above values everytime a new user is registered.This Hl7 messgage should futher communicate with another database DBclone and make the required updations there.
View 1 Replies
Jan 4, 2011
I have an asp.net mvc 2 application with a SQL Server database accessed by the Entity Framework ORM. Now I found out I had used the wrong datatype for one of the fields in the database - int instead of double.
Now, this is not a big commercial application, but it is nevertheless already in use internally in my company. It works fine, but the users would need to be able to enter decimal values rather than just integers...
So my question is, can I change the type of the field after the fact so to speak, and not lose the data already entered? Of course I would have to change the references to this field in the model and everything that references it, but is it possible at all without losing the data?
View 1 Replies
Mar 2, 2011
how to change DB type of int back to value 1 after deleting.
I mean if you got some data in sql database and table looks like
SomethingID DB type int
Something DB type nvarchar(150)
If youve got 10 records then youve got 10 IDs when you delete those 10 records and then make new one SomethingID is ID 11 not 1
View 4 Replies
Aug 29, 2010
I'm currently developing a software application for my client. Part of the project is to keep track of his stock's shipping status. The client must insert the stock's pick-up date, expected time of departure (ETD) and expected time of arrival (ETA). The stocks will be called out using Grid View and the status, being one of the keys of the database, will be shown. Before the current date reaches pick-up date, the status must show "in warehouse", and after the current date reaches pick-up date and is before ETD, status must show that its "on the way to the port", and after ETD and before ETA, "in freight", and finally after ETA, "arrived". What datatype should I use for the database and where should I program it so that it changes automatically accordingly ?
View 5 Replies
Jan 26, 2011
I would like to know what is the best way to do a notification in asp.net.For example I have a form in which the user will provide some data. He then click the save button which call the save methode in my code behind.
In the save method I need to query the database to know if another related object exist. If not I need to notify the user that he will have to create the related object. This does not prevent the user from saving the parent object.
So I would like to do a modal popup telling the user : Hey after Im done saving your change, you will have to open another form and create the child object.So should I create another NotificationWebform where the user will be redirect after the sava to notify him. It seems to be a "lot" of effort for a little notification. The best thing for me would be something like an alert in javascript.
View 2 Replies
Apr 19, 2010
I have forgotte password page in my application,page have one textbox to insert email address,when user click on submit button if inserted email address (i.e. abc@gmail.com) does not exits in DB it will give custome error message like "Email ID not available".after that suppose user will enter inproper email address (aaa#gmail.com) than client side validation for regular expression will file "Email id not valid",at same both message be on screen,now i want only one message at a time.so please can you help me for same
View 2 Replies
Jul 31, 2010
I am using VS 2008 that worked fine using the standard ASP.net security with the Web Administration Tool and SQL Server 2005.
I had to install SQL Server 2008 which also meant I had to uninstall SQL Server 2005. Now when I try to use ASP.net security by pulling the Login box from the toolbox to my form and then go to configure this I get an error.
"Unable to connect to SQL Server database."
How do I change this to work with SQL Server 2008?
View 14 Replies
Sep 25, 2010
In the tutorial I am doing I have been requested to change a field in the colums properties of a table. The ID column is currentl displaying NO and NO again for "is aIdentity. I can Highlight the values but cannot change to yes. either in the properties talbe or in the properties window on the right hand side of IDE interface. How do I change that value?
View 3 Replies
Mar 7, 2011
There is one table which primary key is ID and its data type is Integer with auto increment. Gradually the value has increased and I want to change it to hold large amount of value.
So, Which in data type I have to change from Integer without effecting the previous values?
View 2 Replies
Aug 24, 2010
I'm using ASPxPageControl and in each page I have a couple of grids. When Im using Sql Server Profiler each time I change Tab there is a query for each grid in each tab sent to the database. Is it possible not to load data for each grid while changing tabs ?
View 2 Replies
Feb 10, 2010
What is the best way to show a message to user after session is expired? By then, the user should be logged out and redirected to start page. I can use javascript to redirect user to start page. I just want to show a message on start page.
View 4 Replies
Jan 29, 2010
I want to enable newly registered users on a site. I have figured out to put "DisableCreatedUser="True"" on the CreateUserWizard. What I have no idea about is how to have an email sent to the administrators email to notify them that a new user has registered.
View 1 Replies
Sep 8, 2010
I have written a little social network for one of my sites. Is there any controls out there free to notify the user of wall posts etc?
View 5 Replies
Apr 13, 2010
I am having serious performances issues with gridview + tabs. Its very slow.. I was thinking to create a XML based logical layer between my database and UI.
1) Will it be useful if i use webservice to get data from database to poppulate gridview?
2) or Use xml + some service (need advice on it)
View 3 Replies
Nov 13, 2011
I have this code , to redirect user when an error is detect on a page, and to notify the admin
vb Code:
Protected Sub Page_Error(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Error
REPORT IF ERROR DETECTED Dim a As New errorhandler
a.reporterror(Page.Title.ToString & " "
& Request.Url.Host.ToString, Server.GetLastError.ToString)
End Sub
then under another button I have this try and catch , i wud like to show the user there is an error on the date input format.
vb Code:
Try
aaa = dateTextBox.Text.Split("/")
bbb = aaa(2).Split(" ")
If (bbb.Length > 1) Then
a = aaa(0) + "/" + aaa(1) + "/20" + bbb(0) + " " + bbb(1).Substring(0, 2) + ":" + bbb(1).Substring(2, 2)
[Code] ....
But whenever an error is detect the user is redirected to another page (errorhandler).I was wondering if it's possible not to redirect the user if the error is of type InvalidCastException .
View 9 Replies
Feb 23, 2011
I have a aspxtextbox and its validated from database.If text exists in database then it shows message Username exist.Now this is all happens on click of a aspxbutton after typing some text into aspxtextbox.I just want that when user defocus the textbox then it will automatically check from database and shows the message if exists.
View 1 Replies
Aug 9, 2010
I am displaying a message box using this code
ClientScriptManager.RegisterStartupScript(typeof(Page), "successfull", "alert('Your email has been sent successfully!'); window.location = 'www.mypage.com/Default.aspx';", true)
it's working properly now i want to change the title of this message box then how can i do this title is - the page //localhost says but i want the title - Record Information
View 1 Replies
Nov 20, 2010
My application is used by several customers, who needs to maintain their own database. Currently I'm keeping all the connectionstrings and according to the user, change it. (In a case of CRUD operation). Is this errenous way? I don't know much about MultiTenant applications. Is that the best solution for my problem?
View 1 Replies
May 28, 2010
i have an alert message from code behind :
string myscript1 = "alert('e-mail is required.Please put at least one!');";
Page.ClientScript.RegisterStartupScript(this.GetType(), "myscript", myscript1, true);
in the title of the alert it says "Message from web page" how can i change it to the one of my choice??
View 9 Replies