C# - Fastest Way To Develop Data Entry Screens For A Backend?
Dec 22, 2010
I am a .NET / C# back end guy. I am working on a app that will have about 200 different data entry screens. For me exposing DTO as a collection for CRUD (IUpdatable and IQueryable) is the easy part, I can do it in my sleep :-). What I am trying to decide is what type of front end technology will allow me to develop these data entry screens fast. They don't have to be fancy but they are not just plain grid either and on average they have about 15 form fields and some client side data validation (no db look up) Options I am looking at are
Use ExtJS on the front and REST / JSON on the back. ASP.NET RIA but I do not know SL (Well XAML) Plain ASP.NET / MVC One idea I had was the DTO will contain the meta data about the form (As Attributes) and the form can be dynamically generated, but I do not want to reinvent the wheel if there is an easier way. I have looked at RAD software but all of them look at the DB and generate screens. I'd rather want something that can look at my DTO and generate screens.
View 3 Replies
Similar Messages:
Apr 20, 2012
After I developed the system by usin vs2008 , my supervisor asked me to develop form in the interface  so they can enter information about projects as(project code,project title, country,sector,year) to the database with out dealing with the database in the  backend .. so how can i develop it because i am still new to the vs.
View 1 Replies
Mar 10, 2011
I have a bytes of data. Eg : 1024 bytes. And in that, say "Name Age Occupation" etc. All are only values. I have another skeleton xml which will have the <Name/><Age/> etc.
I need to loop through the bytes, say first 5 bytes is Name, Next 2 bytes is Age etc and fill up in this XML. I'll have 1000s of records and so need to know which way is the fastest.
Will the code be fastest or is there any way i can do by XSLT or similar component?
View 2 Replies
Jan 25, 2010
I'm using Webservice which will return the data from the database through datatable and I'll convert the datatable into byte array. In front end, I'll reconvert the bytearray to datatable and used ajaxloader to display it in the form.. It is dynamic loading. So, for each click, it is taking 10 seconds to retreive the data regardless of the size of the data. So, I used static datatable and I've loaded all data in that datatable in page load event. But, no reaction. It is taking only same time. Even, there is no data to retreive, the ajax loader is going on loading for 10 seconds. Problem is with Ajax or my webservice?? Plz, tell me some other idea??!!
[Code]....
View 1 Replies
Dec 16, 2010
I have a requirement like display message to all the users in Television screen. There may be more than two Screens in those screens messages may be various. How can we display message or reports in screens using asp.net with c#.
View 1 Replies
Oct 14, 2010
I have set up my buddy class with validators. However I only want the validators to fire of the associated fields are used in that particular screen. When I split them across 2 screens I find my validation doesn't work. How do I fix this? I have had to remove the validation from some properties in order to get it to work on one screen;See the class here;#region "Buddy class" for validation
View 3 Replies
Jan 13, 2010
I am generating dynamic screens as user requests. Anybody having any idea on how would I try localizing text (localization) in xslt?
View 1 Replies
Sep 19, 2010
I was searching for my problem for last couple of days. But coudn't find a better solution. So here I go again. What I did which worked great: I was going to a asp page with pre populated Dataset (dataset is already loaded with data), for a GridView. If I do the following .... the GridView shows all the data (with the fields Dataset comes with).
[Code]....
Now what I am trying to do: I am trying to do exact same thing but instead of using GridView, I would like to display data in a FormView. So now I tried to do this
[Code]....
PROBLEM: I can see the FormView Header with text "Test Dataset With FormView" and below the Header it displays the page numbers. I know that I have 3 data in the data set and I can see 3 page link in the FormView. But PROBLEM is it doesn't display any Field / Data. Not sure why it is doing this
Note that I wouldn't know what field to display in the FormView. Whatever I have in the Dataset I need to display. Is there any work around to accomlish my work (maybe by not using a FormView, but other conrol ?). My original goal is to Display Data in a Form View Format (One data at a time
View 2 Replies
Jun 12, 2010
My ASP.NET MVC web app has a weird issue. In VS debugging mode it works as expected, but when I publish it to dedicated web server (windows 2003, IIS6) a sql query returns previous data even though underlying data was already updated through the same connection. It looks like as if a query returns cached data. What might be the problem?
View 2 Replies
Mar 1, 2011
Does anyone know how to convert backend data to a json response using .NET technologies? It'd be nice to have this and use jquery to call some information on the backend.
View 1 Replies
Sep 22, 2010
I am using ListView to display the Data.
I am getting some text or empty string from backend for a particular column.
If i got empty string i need to bind with an imageButton in that row.
and if i got a text i need to replace the imagebutton with text.
[Code]....
View 1 Replies
Jul 28, 2010
I've an arraylist having 30000 items in it, what's the best way of creating a text file on the fly from an ASP.NEt page? Currently I'm using the code below but it times out with large data,
Using fileStr As New FileStream(sFileName, FileMode.Create, FileAccess.Write)
Using writer As New StreamWriter(fileStr)
writer.WriteLine("Error Messages") [code].....
View 3 Replies
Feb 9, 2010
I'm trying to optimize my ASP.NET thumbnailing script, so it doesn't resize all the images all the time, and one part of the problem is choosing the hash function for the thumbnail naming/checking procedure.Is crc32 up to the task - I'm asking cause the input data is small(only relative path, size and date)?
View 1 Replies
May 14, 2010
I have one main doubt for long perioad, If we access the DB using SqlDataSource and ObjectDataSource, Can i know which is the fastest accessing the DB.
View 5 Replies
Nov 16, 2010
I am trying to complete my function below but got lost in the different methods out there. It will always return 1 row and I need to get the values of the record and ADD into a new row. The function returns a DataTable.
[Code]....
View 5 Replies
Feb 10, 2011
I am trying to run a linq query but I need the result as a datatable as I am using that to store records from different queries in the same viewstate object.The 2 versions below compile, but return an empty set. The exact error is "Value cannot be null.Parameter name: source". (and yes I have checked there is data):
MyDatabaseDataContext db = new MyDatabaseDataContext(conn);
IEnumerable<DataRow> queryProjects =
(from DataRow p in db.STREAM_PROJECTs.AsEnumerable()
[code]...
View 1 Replies
Aug 12, 2010
I have some applications which I need to documentate. Is there any tool which could create UML or visio from my vb.net code?
View 3 Replies
Mar 2, 2010
While the economy has been in the shitter, I've written possibly the most coolest site EVER for unemployed developers looking to buzzword-ify their resumes. (Don't hate the player, hate the game.)
The only problem is, it needs a scheduled task to run once a day to do some data mining. I spent many, many hours a few months ago researching solutions, but nothing seemed sure-fire.
If I have shared hosting and cannot remote in (e.g. mstsc and create a Schedule Task), how can I create a task that will run once a day on the backend of an ASP.NET website?
After all the research I did, I don't think it's possible. Per my last analysis, someone has to visit the site at least once a day to instantiate an instance of HttpApplication.
Does anyone have any solution to making sure an operation runs automatically, no matter whether anyone visits the site, and without anything but FTP access to the website?
Like I said, I've done A LOT of looking into this in the past, and it didn't seem possible. IF YOU HAVE EXPERIENCE implementing a solution, contribute your advice! But not postulating or conjecturing needed--it's far more nuanced and difficult than you're surely imagining.
View 5 Replies
Apr 23, 2010
I have a short snippet of C# code like this:
HtmlGenericControl titleH3 = new HtmlGenericControl("h3");
titleH3.Attributes.Add("class", "accordion");
HtmlAnchor titleAnchor = new HtmlAnchor();
titleAnchor.HRef = "#";
titleAnchor.InnerText = "Foo Bar";
titleH3.Controls.Add(titleAnchor);
What I want is a way to return a string that looks like this:
<h3 class="accordion"><a href="#">Foo Bar</a></h3>
View 2 Replies
Apr 13, 2010
I think I already know the answer to this but I think you know more than me so best to ask :)I've got a basic .Net 3.5 site using C#, with no database backend.I've had a request for a function to be added to some forms for people to be able to save the forms and come back later to finish them off.Is this possible?I would think not without a database backend to save it too,
View 3 Replies
Aug 7, 2013
How to do something like this without actually downloading the spreadsheet to the local machine? Any tools or what not out in the world for doing something like this? Does sharepoint allow for .xlsx editing in a page?
Anything short of writing all the inputs and mapping them with backend code?
View 5 Replies
Dec 22, 2010
at our office we take daily backup of ASP.net application ms access backend for the next few days we need to evaluate the changes made to records in the database tables at the end of each day i want to compare 2 access databases first database is the backup of yesterday and second database is the backup of today i thought of the following algorithm, how to proceed to compare the datatables / gridviews
i need to display th rows / cells containing the differences / updates / deleted data
[code]....
View 1 Replies
Jul 29, 2010
I'm constructing a new cms with the option to create reviews and articles (blog items). Now if the user wants to write a review he/ she will want to add a lot of images in the text. Now my question to you is , what would be the best option to include those images (with keeping in mind that a CDN can be used later). I was thinking of the following methods:
Break an article in multiple blocks, each block can then include a picture and text. Just add the picture in the text via WYSIWYG editor (easiest option but not so versatile) Upload images separately and include them via tags in article text. Like Title{img_1}Content
View 2 Replies
Feb 11, 2010
I want to start creating sites with simple backends! I don't know much about databases though and I don't want to jump straight into creating sites with databases anyway. So I want to find out what the best way of creating a simple backend without using a database is.
I have an asp.net webpage which is a prices page detailing the prices of services at a hair salon. The prices change every 6 months so I want to give the client a simple backend so he can update the prices himself. The backend will just be a table of inputs populated with the current prices which can be changed and then click 'save changes' to update the site.
Now what is the best way of implementing this?
A) In the prices page, hard code an html table, within each cell code a <span> tag with an id for the price that will go within the span tag like id="menscut" and within the span tag hard code the price of the service. Then wirte a C# class called 'edit' that is used when the 'save changes' button is clicked on the backend page. When 'save changes' is clicked the 'edit' class parses the prices.aspx page and finds <span id="menscut">£20</span> and then changes it to <span id="menscut">£22</span> (or what ever new price has been entered in the backend) and then saves the new edited prices.aspx page over the old one on the server.
or
B) Don't hard code prices into the prices.aspx but instead store the prices in a seperate .txt or .xml file. Every time the prices.aspx page loads it runs a class called 'populate' which extracts the prices from the .txt file or .xml file and inserts them into the table in the prices.aspx page. And now the edit class instead of editing the prices.aspx page it edits the .txt or .xml file.
So which of those ways is better, or if they are fairly even pegged what are the pros and cons of each?
Or are there any other options I haven't thought of?
View 3 Replies
Feb 26, 2010
A friend suggested instead of having a backend class which verifies the user permission in every public function (results are cached and non static) i should have a more 'streamlined' site. When i dropped the backend i also drop the database code and merged them in the appropriate user permission (base user, logged_in_user, moderator).
The site code looks better now that merging them has decreased LOC (tons of LOC in fact) and i write Method() instead of backend.Method() which increases readability. However now that i have no backend how am i suppose to unit test my code? and what about things like user file upload with different extensions? (txt vs jpg vs FLAC)
View 4 Replies