In a Web server is running. NET Framework 4.0. Whatever the methods and technologies you would advise me. applications built on the basis Asp.NET MVC 2.
I have a database table in MS SQL Server. For each table in database, I must implement the interface for viewing, editing, and deleting. So code generator must generate model, controller and views.. Generation should happen after clicking on the button in WEB UI.as Model I use .NET Entity Framework.
Now, I need to generate controllers and views.
So if i have a table with name tableN1. and below its colums:
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[name] [nvarchar 20] NOT NULL,
[fullName] [nvarchar 50] NOT NULL,
[age] [int] NOT NULL
[active] [bit] NULL
agree: if the type bit, then generate a checkbox.
nvarchar (20) - textbox
nvarchar (max)-textarea and so on.
for this table, i want to generate views and controller.
I am trying to implement a swift message generator module in a dot net web application, I searched for third party components (I found some expensive dot net components).
where can I begin my development to implement such module?
Inside my boxLang_OnSelectedIndexChanged() event I got this :- if (txtbox1.Text != "" && txtbox2.Text != "") { ScriptManager.RegisterStartupScript(Page, Page.GetType(), "confirm", "confirm('Changing the language will clear the text in the textboxes. Click OK to proceed.');", true); txtbox1.Text = ""; txtbox2.Text = ""; }
Now what is happening is that. When I select a different item from the drop down list this confirm box does show up BUT it first clears the content of the text boxes and then this confirm box appears. What I want is that the textboxes content should be cleared ONLY when OK is clicked.
I have found all kinds of tutorials on the web showing how to implement the AJAX slideshow extender, but can't get them to work. All I want to do is put a simple slideshow on a master page. I want to use a code behind file for the c# (do not want the script on the page itself.
I ran into a couple of problems with the samples on the web. Specifically when I try to add System.Web.Services.WebMethod and System.Web.Script.Services.ScriptMethod - VS 2010 doesn't know what the "WebMethod" or the "ScriptMethod" are. Further, VS2010 express keeps telling me "{" expected - on the line AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[5];
Every tutorial on the web seems to be for ASP.net 2.0 - and is at least 2 years old. Is there an easier way in ASP.Net 4 to implement the slideshow control? I am new to c# in general, so if someone could provide a simple cs codebehind file - and the code on the aspx page, that would be great. I understand more than I can write.
I want to insert in two table at the same time.I write this:
DALBase MyDALBase = new DALBase(); int categoryId=Convert.ToInt32(MyDALBase.ExecuteScaler(System.Data.CommandType.StoredProcedure, "insertmainmenu", new SqlParameter[]{ new SqlParameter("@NodeName",txt_mainmenuname.Text),
[Code]....
but the problem is I havent access to categoryId before InsertI need categoryId to make a Urlstring url = txt_ MainEnName.Text + ".aspx" + "&CategoryId=" + categoryId;@Url =urlHow can i do it?
I have a page on which I generate a load of html which is used in a html email.
Here is a bit of the code ...
Code:
[code]....
Because of the problems getting the email to look the same in various email clients, I need to convert that chunk of html to a pdf - so I can create the pdf on the fly, save it and attach it to the email.
Can anyone suggest a simple pdf generator that will just take a chunk of html and create a pdf from it? The ones I have looked at so far have what looks like a steep learning curve with hundreds of features I don't need.
We are developing a very complex eCommerce portal using asp.net c# and the client asked us to make the documentation very similar (look & feel) with ebay api documentation http://developer.ebay.com/DevZone/shopping/docs/CallRef/GetSingleItem.htmlhat kind of tool they are using and if not do you know anything that can be configured to produce a similar result ?
Is there such a thing that when the page is accessed, this generator will auto generate meta tags for you? I went to a website today and was reading their source (html), find out that their meta tag is generated, something like this:
I am using ASP.NET and I want to create a barcode in a pdf document by means of a third party component. Then I want to send this pdf document as an attachment.
I need to generate PDF reports on a server where full trust apps cannot run.(i cannot use PdfSharp and MigraDoc because of security exceptions when i say
PdfDocumentRenderer renderer = new PdfDocumentRenderer(true, PdfSharp.Pdf.PdfFontEmbedding.Always); renderer.Document = doc; renderer.RenderDocument(); // <<< ex here renderer.PdfDocument.Save(filePath);
Message: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.so i need to have asp.net c# pdf generator that runs on Medium Trust or Low trust OR be able to pass values from asp.net c# to any php pdf generator.I am trying itextsharp-5.0.5,
In an email, I want my users to be able to click a link to confirm an interview schedule. How do I dynamically create these urls?
I am thinking of using a query string and I don't want them to have to login every time. So ideally, I'd like this query string to contain credentials, and a date and time. Of course, I'd like this to be encrypted in some simple way.
I want to create a random password generator in my ASP.NET C# web application.
I have created that but it is applicable only for the integer format. If I give any characters it shows the debugging error as "my input format is wrong".
But i want to enter both string and integer. For example my textbox field may be
I am trying to create a password generator which will do the following:
1) Generate a simpler password, than just completely random as this is what currently the Membership classes do if the above cannot be done then how can we kind of mimic the randomness but use a predefined list of perhaps common words?
2) if we have a Regex expression, is there any way a password can be generated randomly complying with that regex expression? (something extra to think about)
I use excel through vb.net/asp.net to generate reports from a web page and then send the file down to the user. We've had some issues with Excel being super slow/inefficient/not closing (even when we keep track of the process id and try to kill it in code...). So I'm looking for some flexible alternatives. We need a replacement that can:
Allow for inidivdual cell formatting including borders (different settings on each side), background colors, font styles/coloring, etc...
Allow for cell merging
Allow for formatting (bolding in this case) of a portion of the text inside of a cell while leaving the rest of the text unchanged
Image insertion/repositioning inside a cell (not crucial)
Multiple Worksheets per Workbook
These are all the features I can think of off hand, any help or suggestiong at alternative libraries to look at would be appreciated. We are running Excel 2007 on the server but we are rolling out Office 2010 to clients so I think that might open the doors for some more supported file formats,