On my Sharepoint home page, I have a document library. Users can click on the title of the library to enter it. However, the title of the library is not underlined, which I believe makes in non-intuitive to user's that they should click on the title. How can I make it so the name of the...
I have a repeater with the following code:
<asp:Repeater ID="rpr_puf_files_doc" runat="server" DataSourceID="ods_puf_files_doc">
<ItemTemplate>
<div class="puf_files_bottomleft">
<%#Eval("FileLabel")%>...
I am using the following script to read data from an Excel workbook. The data I'm reading contain about 50 rows and 20 columns. I'm only writing out select columns.
The script works, but it really slow and often times out. Is there something that can be done to improve the speed?
Set...
I have a document library from which I accidentally removed all user permissions. So, even when logged in as the highest administrator, I cannot modify or delete this document library. Furthermore, I can't recreate it because I get an error because I'm using the same name. How can I delete or...
I've read about every post I can find on the internet about this problem and can't find a solution.
In SQL Server 2000, I had a DTS package that allowed me to copy tables, views, and stored procedures from one DB to another. I was only copying specific objects, not all of them and that is an...
We're moving from SQL Server 2000 to 2005. In 2000, I had a development, test, and production database. I had written a variety of DTS packages to move select objects from development to test, and from test to production. I wasn't doing an entire DB copy because I wanted to be able to move...
I'm using the following code to launch IE inside a windows application:
ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
startInfo.WindowStyle = ProcessWindowStyle.Maximized;
startInfo.Arguments = "www.microsoft.com"...
I have a form that is capturing information from a user. In this example, the user is entering a list of first names. The number of first names entered can be 1 to whatever. I have code that will capture the entry and store it in an array. However, I can't capture the second entry without it...
Ok, so I have this in my web.config page now.
<appSettings>
<add key="SqlConnect" value="server=xxxx;database=xxx;uid=xxx;pwd=xxx;" />
</appSettings>
How do I make use of the SqlConnect key instead of writing the line
SqlConnection sqlConn = new SqlConnection("Data...
I'm very new to programming in .Net and object-oriented programming. I have a working program that can be refactored by putting repeated lines of code in a single location and the n referencing that piece of code. For example, I have the following code in my OnLoad event:
private void...
The events table is the parent, the travelers table is the child table.
The user will be entering all the information that is to be stored in both tables. For example, the user will enter a travel start and end date, which goes in the events table. The user will also enter 1 or more travelers...
I’m trying to design a data entry form in ASP.Net using c#. The database is a relational database. There are two tables, a travel events table and a travelers table. There can be multiple travelers per travel event, there’s a one to many relationship between those tables. I have created a...
I need help with an approach to the following problem.
I'm designing a travel authorization form. The use can enter 1 or more travelers. I'm assuming a datagrid is the best approach. However, I don't want to write the travel list to the database while the user is entering travelers because...
Here's the code for the SubCategoriesSqlDataSource, which supplies the information for the DropDownList.
<asp:SqlDataSource
ID="SubCategoriesSqlDataSource"
runat="server"
ConnectionString="<%$ ConnectionStrings:BudgetConnectionString1 %>"
ProviderName="<%$...
I'm very new to .net and am using Visual Web Developer Express Edition.
I have created a form that allows me to enter a new record into a table. One of the feilds in the record is to be selected from a drop down list. I am able to get the list to populate correctly, but I can't get the value...
I have the following class in a .aspx.cs file:
public void Page_Load(object sender, EventArgs e)
{
}
Inside this class, I would like to make a connection to a database I created using SQL server managment express edition. I have tried to find an example of connecting to a SQL server DB...
I have a form with three drop down list items. The values for the first item can be a 1, 2, or 3. Once the user selects one of the three values, the second drop down list is populated with the remaining values via a javascript program that is called by the OnChange command.
For example, the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.