Inside an HTML code you can insert embedded code blocks some looks like <%= .... %> and some looks like <%# .... %> i was looking for an information about those syntaxes and their meanings, but with no luck. can you enlighten me or give a link to enlightment.
I have this code that once a column in gridview is clicked, it sort the record. Can someon explain to me what does
static Int32 cntsortSecurityID = 0; // declare var to hold 0 or 1 // what is this, I dont understand why. what is the meaning of zero or One in this case . Oh yeas, the code is working for me, but I need to understand the concept behind it.
I have been using Sql Server since 2003, and still encouter situations that are just hard to solve :)I know it's a an sql server question, but since it's from a methodology and architecture point of vue, I thought it fit in this forum I am facing a sort of conflict with my current customer :An old sql server database, migrated from sql server 2000 to sql server 2008 (2003 project), which serves an asp.net application and cubes.naming of tables are like the following : tbl_ and Vw and yet procedures have no underscores. The database contains no functions.All object names are abbreviated, without any dictionary to understand what they mean. We have to ask every time.We developed a new module, and followed Pascal Casing, with clear words for the tables meaning.The customer makes a code review and says, that object are not correctly named :) and the meaning of tables is not clear. Names like AnalyticsAxis, is simply not clear. We also are asked to follow tbl.
I am trying to interpret the meaning of "mscorwks.dll!StrongNameErrorInfo+0x7688". I guess it means, that the assembly loaded by the mscorworks.dll has no StrongName? If yes, does this have any negative impact for a web application?
Is it safe to assume that the thread count of 107 means, that web application needed at a peek a maximum of 107 concurrent threads to handle incoming requests?
it is possible to make 2 functions with the same name (and the same overload.. lets say both doesnt get anything in and return an action result)in the same controllerone for t ne for get
I am trying to call some javascript functions which I ahve written in some file. Eg.
function OpenPopup() { alert("OpenPopUp"); return false; }
when I call this from button from OnClientClick = "OpenPopup()" it is not called but when I put this function on MasterPage it is able to call the function.I added this is the MasterPages's Head
where should commonly used utility functions (to be used in multiple .aspx files) be coded? I currently have these common funcs in an .ascx user control that's referenced in each .aspx file.
In my asp.net c# page, I want to print microsoft word document from c# code, when I create the print button, it will automatically print one selected document and print in the printer.
I've looked at about 5 Questions here on SOF and haven't really found a useful answer for this. How am I supposed to invoke my javascript functions from client-side events in my .ascx controls? Here is my .ascx file.. what most the answers have led me to:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UIMenu.ascx.cs" Inherits="controls_UIMenu" %> <script language="javascript" type="text/javascript"> function insetItem(myMenu) { myMenu.setAttribute("class", "myClass");.......
I'm getting different errors when doing it this way. ".....ascx does not contain a definition for "insetItem"", and my other pages that use this file don't recognize it anymore. When I try to put the js on the actual .aspx pages that will be using it, I get the same no definition error.
I just started learning jscript, still pretty noob. I'm trying to make it so when the user down clicks a menu item, I want that item's borderstyle to change to "inset". I'm not sure how to change that attribute for the specific item that gets clicked either in javascript >_< but that's another question.
I am an ASP.NET C# web developer.The architecture followed is 3 layer The layers used are
1. UI 2. BLL (Sometimes Communicating with BLL is done using WebServices) 3. DAL Pretty basic stuff.
What I would really like to have is a BLL.Common class in the BusinessLogics.Here I would like to use some useful extensions and helper functions that we use in almost all applications.
An example will IsNullOrEmpty extension.
Which are the helper functions most commonly used by developers?It would be better if I could get a list.
How we use a function in a sql query.me some example of using functions in query.Please donot provide me example for using inbuilt sql aggregate functions.Please give some userdefined sql functions example in a query.
I am using silverlight, vs 2010, and need to write some basic functions.
Some of the functions are getting a string and find if it's odd or even, and some of them getting status from database.What is the best way doing so : Javascript, ASP.NET, AJAX?
Need an example of code, that also include some dlls/assemblies,
I was assigned a task on creating a web application that connects and display database information on a grid view. My supervisor suggested me to download .NET pet shop 4.0 to serve as a template for my project.As I only have limited basic knowledge on C# and HTML codings, the .NET pet shop 4.0 is too difficult and complex for me to understand. So I have a few questions:
Which functions are required to connect to the database? Which functions display information of the database? How do I change the categories of the .NET pet shop 4.0? If I want to add a grid view to display the records instead of listing informations of the products, where should I add the code and how will it roughly look like?
I have an .aspx.cs page in my solution and I'm trying to call a function which is located in a Master page.Would anyone be able to offer any pointers on how to achieve this as I cannot figure it out - thought it would have been fairly straight forward!