I have a checkbox on a templatefieled named chkbxlate. I want to write code to check a checkbox or all the checkboxes on that column if the system time is greater than 9:30am during roll call but I don't know how to go about it.
I don't think I understand fully how ASP.NET does inheritance of controls.I have a user control, ucBase, which has an asp.net label in the ascx file. Code behind references the label and it works fine during run time if the control is not a parent for another user parent.
If I have another user control, ucChild, inheriting from ucBase, the label in ucBase's code is always null. ucChild has no controls in its ascx fileThe server controls (like the label) needs to be declared in the ascx file and not created programmatically.What needs to be done for ucBase to see its own controls when it's a parent user control?
I have a custom CRM package and I need to allow specific users have different layouts on selected screens. I do not want to support multiple software packages so I am thinking that I have some type of interface that allows a user to select what fields they want to input on a given screen. However, what is the easiest way to make this happen? I am thinking that I have some type of XML file that is read that a user can define.
I have a Table, which contains a list of league players. Each season, we record their Points per Dart. Their total PPD for that season is stored in other tables and extracted through other queries, which in turn are imported to the master table "Player History" at the end of the season for use as historical data.
The current query retrieves each players PPD for each season they played, when they played last, and how many seasons played.
The code for Last season Played has become too long and unstable to use. it was originally created, and split into two separate columns because a single SQL was to long. (LSP1) and LSP2) which work, but as I add seasons, Access does not like the length of code.
In short, i need to find a more simple code that will look at each row, and look in that row for the last non null cell and report which column that last non null value is in.
So if a player played seasons 30 & 31, but did not play 32..but did play 33, the Column with the code should be titled Last Season Played, and for that Player, it would state "33" in that cell, indicating that this player last played season "33"
I have an update function in my data layer which is defined as:
public int UpdateRBTable(parameters ...) This calls a SQL Server Stored Procedure to perform an update function on the database.
The process does its job for updating the table. However, the stored procedure has a return value (which indicates how many rows were updated), but this return value is not returned to the application. The application always shows that a zero was returned from the stored procedure.
my web application has more than one user with unique usercode. As soon as a new record is inserted into the database with some usercode, i want to show a popup only to that user in his browser window. for example insert into mytable(usercode) values(1431) is inserted into my databasetable.if user with usercode 1431,1435 are loggedin. i want to show the notification only to the user with usercode=1431
I have a table in sql having a numeric data type column,Now i want that whenever user left this field blank from front end aspx page, null value should be inserted in this column from stored proc.How can i achieve this? Also what kind of data type is most appropriate on front end for such taking kind of value?
Is it possible to set the property of a server tag from a c# expression, i.e. something like <asp:TextBox Width='<%= [some c# expression] %>'/> I though this would be pretty straightforward, but I can't get such an expression to run.
I am new to asp.net and wondering if anybody can help me defining SQL Server 2005 ConnectionString in web.config file and call/read anywhere in application on any button.Kindly provide me code example.
I am guessing adding nothing to the null value column is the problem, but i don't know how to fix it... The INSERT statement conflicted with the FOREIGN KEY constraint "FK_tableB_tableA". The conflict occurred in database "database name", table "table A", column 'ID'.
I have ASP.Net application, It using mix .net framework, there are project with ,net framework 1, 2.0 and 3.5. buat they are in separated project / location. And its running well before.I have a problem when I migrate my application from old development server to new one, FYI, my old server is windows server 2003 32 bit with oracle 10g, and my new server is windows server 2008 64bit with the same oracle version. I have set all configuration identically in both servers. using same database schemas, and same application.Overall, the application running well, but I was surprise when I found some error page while I running application in new server. error message is : ORA-00918: column ambiguously defined I don't know how the error happen, whereas in old server, no error at all with identically configuration.any one have same problem ?is it because 32bit & 64bit ?
I have an ASP.NET 4.0 application with some simple user controls. The user controls work fine on the design surface (VS.NET 2010), but when they're loaded during application execution, nothing shows up.
Futhermore, the various child controls of the user controls are null when referenced inside the code behind for the user control.
The code behind for the user control executes as expected, but any reference to child controls are null.
It's like ASP.NET is never parsing the ASCX to create the instances of the child controls.