Web Forms :: Writing An Accounting Web Application?
Mar 10, 2010
i plan to begin develop and accounting web application , before to start
like which framework to use 2, 3.5, or 4
use the object oriented approach or the normal webforms
security issues
performance issues
View 1 Replies
Similar Messages:
Jul 12, 2010
i am trying to use the gridview and formview in accounting program, how can i make them behave like other programs such as access or oracle in which you add records temporarly and then insert them into a database and other processes ?
View 7 Replies
Aug 24, 2010
I have the following subroutine in an asp.net application class. The subroutine writes data to a text file upon application login. My question is that if this function was called at the same time by two different users would it cause any kind of error. Is there a need for a try catch?
Public Shared Sub writeToLogFile(ByVal UserName As String)
Dim strLogMessage As String = String.Empty
Dim strLogFile As String = System.Web.HttpContext.Current.Server.MapPath("~/Log.txt") Dim swLog As StreamWriter
strLogMessage = DateTime.Now.ToShortDateString().ToString() " ==> " & UserName
If Not File.Exists(strLogFile) Then
swLog = New StreamWriter(strLogFile)
Else
swLog = File.AppendText(strLogFile)
End If
swLog.WriteLine(strLogMessage)
swLog.WriteLine()
swLog.Close()
End Sub
View 5 Replies
Jan 28, 2011
We are building a software package for logistic companies to run their operations such as customer management, load management, fleet management etc...
The idea is that this will be sold as a web based "Software as a Service". So each client will be setup with their own operations database.
The powers that be have decided to incorporate an accounting package in with this software to make it a more one stop solution for our customer base. So now I have the decision to buy or build. I know that building a double entry accounting system is NOT going to be the quick or easy way to go. So right now I am looking to see what options are out there for integrating an existing package with our application.
We are operating in a Windows environment. Our base operations application is ASP.NET 4.0 with MS SQL 2008 R2 backend. I would prefer to find something that we can truly integrate into our product.
View 2 Replies
Nov 29, 2010
My client has few requirements for his website he want to built. want to discuss best practices to start this project and make this a learning experience.
accessible from all browsers and platforms. (mobile as welll)language supportscalableshould be CMS style so he can assign roles etc for editing. except above my question is what will be best to use as a new project in VS2010 (MVC, web application etc)
View 9 Replies
Jan 5, 2011
I need to develop a small application, In our office server a folder Soft contains a office.exe software, our office having a own
website, In that website just click the link Install, the office.exe should be install in the browsing system.
View 3 Replies
Dec 17, 2010
how to improve the application performance while writing LINQ Queries ?Like the optimization techniques.
View 2 Replies
Dec 20, 2010
I am trying to read and write text file like that, writing
StreamWriter wr = new StreamWriter(Server.MapPath("aa.txt")); wr.Write("aaaa" + System.Environment.NewLine); wr.Write("bbbb" + System.Environment.NewLine); wr.Write("bbbb" + System.Environment.NewLine); wr.Close();
Reading
string line11 = ""; using (StreamReader sr = new StreamReader(Server.MapPath("aa.txt"))) { while ((line11 = sr.ReadLine()) != null) { TextBox1.Text += line11 + "
"); } }
and want to display
aaaa
bbbb
bbbb in TextBox1.Text
Writing is not problem , The problem is reading, to display line by line on textbox , we use "
" in normal windows form c sharp , but in asp it is not working. also is there anything instead of System.Environment.NewLine when writing. And is there any converter between NORMAL WINDOWS FORM csharp to ASP .NET C SHARP.
View 4 Replies
Mar 1, 2011
I've been looking at implementing Url Re-Writing into my site, and have been confused by the sheer magnitude of different methods of doing it!
Anyway, what I'd like to do is convert my existing url into something more readable and search- engine friendly.
For example, my current Url is '~/Magician?localityId=x' (where x = the id of a place name)
and I'd like it to be '~/placename-Magician' (where placename = that retrieved from the querystring)
I use the localityId to query the database with, in order to get the relevant place name.
Does anybody know the best method to use for this, and can you point me in the direction of a good tutorial for that method?
View 7 Replies
Oct 27, 2010
Based on this piece of code, I want to do exactly like this demonstration. However, correct me if I'm wrong but if two or more users somehow simultaneously access the web page at the same precise nanosecond in time, then wouldn't we have a race condition? So is this piece of code valid? How would I correct this to make it thread safe?
[Code]....
View 3 Replies
Mar 25, 2010
i have an IF statement set so that when somebody selects an option from a drop down list it displays some text into a text box to do with the selection. I have an IF statement set up which seems to work as it compiles and i have the results write into a variable. I then want the text box next to the drop down box to display what is written into the variable but i can't figure it out. Here is the code i have so far:
<form runat="server">
<asp:DropDownList id="DropDownList1" runat="server">
<asp:ListItem Value="NA">Select</asp:ListItem>
[code]...
View 11 Replies
Nov 12, 2010
I want to code a image link like this...
String p = ""
P = P + "<asp:Image ID='Imageprofile runat='server ImageUrl='~/images/"+ x[5].ToString() +"'/><br/><br/>";
Literal2.Text = P;
But this doenst work,
View 6 Replies
Mar 9, 2011
I am using more than one files to read and write to the server. Suppose during writing or reading any of files gets error the already stored files need to be rollback or removed from storing.So that the user agin try to write without error. Simply the all of the files need to be stored into the server without error, of error occurs to any of file none of files need to be read/write
View 2 Replies
Jun 16, 2010
i'm using stream writer to write a text file on client machine, but everytime while i'm writing a new file it over writes the existing one..so now i need to write seperate file each time ...and also i need to create a folder dynamically for first time and save text files in that folder when everytime i use my application....
View 3 Replies
Jan 22, 2010
i wrote code for mail sending, iam images in that mail also in that body i gave <img src="[URL]/Admin/imagesfolder/webdesign.gif"> bu it took <img src="[URL] now what can i do if giving some other website URL's it tooks prefectly.
View 2 Replies
Feb 4, 2010
I found smthing on the internet as below and I can view horizontal dynamic writings with this. is there any other way to do that vertical?
View 2 Replies
May 18, 2010
I am trying to create and write a file on a remote server using the below code:
[Code]....
but i am running into issues and getting errors. Below are some tries i have given. My IIS settings are 'Anonymous Access' checked and also 'Integrated windows authentication' checked.
a. As i understand asp.net site would run using ASPNET account, i tried giving full permission to ASPNET account to the folder on the remote server (where i want to drop the file). But i am getting this error - "Logon failure: unknown user name or bad password"
b. The other thing i tried is giving full permissions to 'Everyone' to the remote server folder. But i get the same error as above. But when in my web.config i enable impersonation by using:
[Code]....
then the error goes away and everything works fine as expected. The file gets dropped to the network share.
why the scenario (a) doesn't work because that should work as if i give ASPNET account full access to the folder, and my website is running under the same account, then it should work.
Also, in the scenario (b), i believe it is using my domain account, as the impersonation is true without specifying any username and password and also the remote server folder has Everyone access to full control.
BUT, as a security breach, i cannot use Everyone account to the remote folder. In that case, how can i make this working.
I was also thinking if i can use the virtual directory as the path to the remote folder, something like
http://domain.com/remotefolder but dont know how can i use this approach. Can someone pls share some sample code and the configuration.
View 1 Replies
Jun 9, 2010
I want to execute a piece of code. Currently it is written in Page_load().
Because of this my application becomes slow.
Is there any other option where can i write the code?
View 7 Replies
Oct 19, 2010
I'm making an application which takes image from user upload it to server and then perform any image processing like to convert to gray or invert etc.
My problem is this when i did the process on image to gray it or invert then how to write this new file on server or is there any other way so that i would be able to show this (new) image to user and make it downloadable?
View 2 Replies
Aug 24, 2010
I have a web page (Provider) that creates an XML file to be send to the Requester in this fashion:
1. A Requester page needs to send an XML file to the provider page
2. Provider will read the XML file to authenticate the request
3. Provider will Create an xml file with some data.
4. Provider will send the xml file back to the Requester.
Can anyone provide sample code for both the Requestor page (step 1) and the Provider page (steps 2 & 3)
View 1 Replies
Mar 16, 2011
In my application i want to share one .txt for read and write among no. of users. in Button click i m writing data in that file and in tick event of Timer i m reading that file, In tick event i m reading that file based on file based cachin means if file have been changed then only i m reading that file but when i have put m application i IIS then i m not able to get updated file.
View 2 Replies
Nov 8, 2010
Each of my ASP.NET pages currently has VB.NET code to change the text and display properties of a Label control, to display a message if an error occurs when any of the functions or routines fail. However, ideally it would be useful to have a generic error message popup displayed, with the option of inputting text via an argument.
If the site were in VB6, I'd be using the MsgBox function, since you can adjust the text displayed and change the type of message displayed (i.e. vbExclamation). The MsgBox can be called with minimal coding. But web pages will not support Windows.Forms
So another method here might be to use the ModalPopupExtender to display an error message using a Panel control if an error occurs, and to adjust the message content and icon depending on the type of error. But the problem here is that a Panel will need to be defined in each and every aspx page.
Ideally I want a public function (with an input argument or two) that will display a single Panel via a ModalPopupExtender, that can be called from any of my pages. The text and icons could be altered by the arguement values supplied.
View 6 Replies
Feb 20, 2010
i want to maintain a log of the visitors for a website.. the number of visitors is fix approximate (800), but i have to maintain the record of each visit page wise like page Id, time visited, user id. i am doing it using a database as it was .
i was asked to use a insert query on every page ,(ie each time user visits a page write the log to database), but i dint like the idea.. of making server trips every time the user visits a page and also we have a seperate database server. I had a idea of using XML.. but which is the best way performance wise writing a log in Xml file or insert query in database?
View 4 Replies
Sep 1, 2010
I want Parameters collectionPager paging and without writing code
View 1 Replies
Feb 19, 2010
I would like to read from a data reader (or other) and write to a grid of some kind one row at a time in a loop. I prefer this rather than load a data bound grid control all at once. I need to do this because I have to perform some calculations on the data before writing each row.
View 4 Replies