How To Call A Trigger From Front End
Jun 9, 2010How to call a trigger from front end in asp.net using sql server 2005..
View 2 RepliesHow to call a trigger from front end in asp.net using sql server 2005..
View 2 RepliesAn external application come to my database for inserting row in a Sql server table.I have a web application on my own, and I want on each insert in this table, do some treatement server side.My idea is to create a trigger on insert on the table, and then call appropriate function
View 2 RepliesI have UpdatePanel with GridView and i want register posback triger for index changing and asyncpostback for pagging and sorting.
When registering AsyncPostback (with event) and Postback in one control i have ASP event.
How go around this problem? , dynami register triggers mayby is a solution but i can`t unregister triger.
Data from the server subscription cannot trigger table trigger
View 2 Replies[code]....
I am trying to get these three fields on the screen while user enters I am retreving the user enter data on front end.. when I am debugging I am not seeing these fields..
On the view I am using beginForm
<% using (Html.BeginForm("Update", "Home", FormMethod.Post, new { @id = "id" }))
{ %>
my method..
public JsonResult Update(StudentInfo info)
{
///Update
return Json(Status.ToString());
}
when I see in info I am not getting these three fields..
I am very new to .Net and MVC specifically. I am building a site which will need a front end and a back end (admin site). I created a project and am developing the front end, now how do I start a back end for this site? Do I need to create a new solution? (what exactly is a "solution"?
View 2 Repliesi have a method in my back end that i would like to call from my front end, but can't seem to get it working. here is my code:
<% foreach(string item in Plants){ %>
<li>
<span class="folder">
<asp:label ID="lblPlantName" runat="server" Text='<% GetPlantName(item) %>'></asp:label>
</span>
</li>
<%} %>
the getplantName method should return a string and fill the text in. But this is not getting called for some reason.
Is there any reason to separate front-end FE and back-end BE (for Administration and customer service) in different websites under the same solution.
Actually it causes me problems in Removing items from the cache, (they) decided to put FE and BE in different app domains, this means different Cache objects!!
I asked them about the reason and they said
1- To not be out of memory and to remove BE effect on the FE performance.
I doubt on this, Customer service team are probably affecting the centralized database performance, but there hits will be like adding 10 customers to our website, it is nothing!! Also App domain memory extends when needed, as far as I know, it does not pre allocate resources
2- To avoid losing both FE and BE if the website goes down.
I agree but this is not a reason to put the whole BLL in a web service, what about SECURING the BLL!!!, I PREFER TO LOSE BOTH if the IIS goes down.
I am a web developer handling back end frond end both.My question is that which transaction should I use
to maintain ACID. whether transactions in Sql Server or transaction in Ado.net?
I'm going to write an ASP.NET MVC 2 application using Domain Driven Design. I'm trying to figure out how to separate the Admin from the store front. I could create 2 MVC projects, but regarding the services for them, should they be in separate projects as well or could I use the CatalogManager, for example, for both, Admin and the store front, and mix up all the services?Currently I have a class library for each part of my domain (services, infrastructure, model, etc.)
View 1 RepliesI have menu's on the top of the web page and report viewer under it. Whenever I click on menu it drops down and goes in the back of report viewer instead showing menu on top of the report viewer. Code for the workaround?
View 2 Replies[Code]....
tring value from front and back
This may be a simple question, but I'm trying to call a a value from table in my back-end SQL Server database and pass it through a querystring in the URL. For example:
I'm building a mobile web site that registers a mobile device to an account on the sign up page. After the database entry is created, I want the to get the generated deviceId from the database and pass it to a querystring in the URL such as: http://www.mobilewebsite.com?dId=22
Is this easily possible, or is it even the best solution for what I'm trying to accomplish?
I was wondering if you can make the image on top of another, as "bring to front".
View 2 RepliesI create a menu structure from a compiled class that returns an unordered list with ~/ menu options. On my localhost, they show up as [URL]
I actually have to pass the Application Path to the function to prefix the URLs. The problem, however, is that we moved the application to our development server, and now the URLS show up as:
[URL]
[URL]
The website domain doesn't seem to be displaying.
I have this program in which I am trying to store a collection of values into a list and session
Example:
valueCollection = (List<Values>)Session["Value"];
I want to do the front end in a way which will show a table with each row showing a label and textbox. This would be too simple to do obviously but I want it to show 4 rows of the table by default and then the user can select "add another" this will then add another row onto the table with a label and textbox exactly similar to the 4 default. Everytime the user selects "add another" the table increments by 1.
I want add blank space infornt of hyperlink control in panel
[Code]....
[Code]....
I am trying to develop a image slideshow for the front of my website.I have an idea of how I would like it to look like .... http://www.reef.com/guys/But I have not been able to find any similar pre-built slideshows.I would like to be able to have a loading gif and buttons down the bottom allowing to scroll through the images at your own pace but still letting the images slide without clicking.I am unsure how I would go about making a slideshow like this one, would I use AJAX, jQuery or Silverlight?If you know of any pre built solutions that are similar to what I am looking for provide the link for me or if you have any knowlege
View 6 RepliesI need to code a e-commerce site but about the front end I thought about building a "flowing" menu, how it works is, in the top row you have "Retail" and "Wholesale", if I move my mouse over the retail word I want in the next row, data to be loaded like the main categories if you clicked a category word, then in the 3rd row you get the sub categories then you can click on a subcategory name and then a 4rth row will appear with more subcategories, and so on and on, the reason for this is that the business has alot of sub categories going very deep down,
View 1 RepliesI'm making a page with a DropDownList (called ddlSupp) that contains several suppliers, and I populate it with an SqlDataSource, all in front code.
In another part of the page I make a CheckBoxList, and populate it again with an SqlDataSource. The select command of the SqlDataSource is a procedure call to my MySQL database. However, what the CheckBoxList gets populated with depends on who is selected in ddlSupp. How do I make a variable in front code that will take the value from ddlSupp and populate my checkbox accordingly?
Here is my code:
[Code]....
I get a MySQL error at (<%$ddlSupp.SelectedValue %>) so I know the wrong value is being passed into the query. How can I fix this?
Why the diamond character appearing in front end from back end (SQL Server)..
View 1 Repliesto bring a browser window to the front based on some action? I'm writing an intranet application that monitors for new messages to be received over our satellite link from our fleet, but our dispatchers already have busy screens. Is there a way to bring a browser window to the front via javascript or code behind?
View 3 RepliesI just come across this W3C validation errors: I have a LinkButton1 on my .aspx file, and in my c# code I want to disable this LinkButton1 in certiain circumstance, hence i was using this code:
[Code]....
We have a CMS system and in the production mode a number of servers only have read-only access to the content (with a few exceptions) and the editors for the site work on the content on servers behind it (which are not available to the public).
We're caching the content quite a long time on the front servers, but sometimes we want the content the editors publish to be available for visitors instantly. What is best practice for invalidating the cache in those cases?
I was wondering how to create a front page news function with C# as the language.
Basically I want to be able to use a one of my forums in the category "Site Discussion" called "News" as a way to connect with the front page (homepage) of the site to display a few of the newest news articles each with a title, image, and a short blurb of what the post is about. Also I want them to have a link that connects to the news post in the forums.
***NOTE*** I am using YAF (Yet Another Forum) for my forums.
An example of this from another site is [URL]
As you can see in the above site in the "Today's Top Stories" section it shows 4 news posts (1 main, and 3 other top stories) and if you click on them it links to the news post (which is also accessible via the forums in the news section).
This is basically what I want to incorporate into my site, but using the YAF forums, note an admin console is also needed to do this, I have a serperate admin console that I will set-up for it basically that's when you write it and from there it displays on the front page and in the forums.