13,153 Topics
| |
Can anyone suggest me how can I retrieve only custom lists from sharepoint site? I'm using this code to get sharepoint lists but it gives me all lists (custom lists+built in lists): [CODE] SPWeb objWeb = SPContext.Current.Web; SPListCollection lists = objWeb.Lists; ComboBox1.Items.Clear(); foreach (SPList list in lists) { ComboBox1.Items.Add(list.Title); } … | |
hi there i have a database which is MS SQLserver 2008 and ihave a database called AdminApp. from visual studio 2008 i add the database and the connection is succeded, but when i get the connection string and add it to my DB class for the db string and run … | |
Hi all. It's been a while Um, I have a teeny tiny prob here. My group and I have developed a 3 tier application in c# and asp.net (web application) that links up to a sql server database. The project as a whole works fine, does everything it's supposed to … | |
hey, i m working on Asp.net with C# i made a table which has username, CheckIntime, Checkouttime and Date in a grid view i want that customer enter his name in text box and click the submit button then it display his data in table on web page i do … | |
Hi, I was wandering if someone could give me some idea of how i would design my application in regards to what to put in the exe and what to put into the dll. At the moment the exe is just getting bigger, and I have never built such as … | |
I have a web based project using VB 2010 that gets data from sql 2005 server and populates a gridview which was dropped onto the web page from the toolbox. My problem is i need to use a variable in the VB code and have searched and read hundreds of … | |
How do i use a master page? and display it when i run my website pls? | |
Hi all, I am kinda new to the area so please bear with me :) I want to dynamically display an image according to a certain variable obtained from an XML document and I did the following code where intTypeID is a variable whose value changes according to the nodes … | |
how to write unit tests for code using an xUnit framework | |
Hello, I am writing a prog with ASP in C#. I have 2 separate pages. on the first page there are 2 textboxes and a button. the first box is a validation check (a code) the second one is the ammount of money you want to withdraw (max of 1000) … | |
how to select a date from calender check that date from database; display those only those data which selected data consist [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Configuration; namespace manage_logs { public partial class UserView : … | |
can i do that? i was looking to integrate bing maps into my wpf desktop application, but it seems like microsoft doesnt provide the API for wpf... is there any way to get around this? | |
hi can anyone explain what is XSD extension file and what is main purpose of this file thanks regards suresh.S | |
how to select a date from calender check that date from database; display those only those data which selected date consist using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Configuration; namespace manage_logs { public partial class Time : System.Web.UI.Page … | |
I have two buttons in an asp.net web page, this buttons are the asp.net control buttons and are not a part of a form, basically I just modify the on click event in the code behind page, the thing is that when I hit enter one buttons is pressed but … | |
Hi All, My project requires me to add the Google Analytics code for tracking purposes. I have added the script that I got from another developer. I want to know if this code can show up in the pages with page lits (e.g) 1000 views) or is it hidden and … | |
Hello All Coder, Funcion: There is a Calender_Control _Day render method.and in that i have displayed event. I want to create Dynamic linkbutton over here Dispalying EventText.and by clicking on Eventcell,want to fired Linkbutton click event... vb.net code is as below in DayRender Method: [CODE] Dim ctr_lnkbtnEvent As New LinkButton … | |
hello, i am using the Graphics.DrawLine method in C# and this is fine for thin lines but for thick lines it draws really badly. i have sample code to reproduce the problem below. just create a new c# forms application and add a picture box to the form. make the … | |
Hi, How to generate dynamic controls based on selecton by user? I had appeared for one practical test recently where they had the below mentioned requirements They had 2 calendars (asp.net default). They had two options (radio button list) : One was "Repeat On" and another "Repeated On" The Repeat … | |
[CODE]using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; /// <summary> /// Summary description for class1 /// </summary> public class class1 { SqlConnection con = new SqlConnection(ConfigurationManager.AppSettings["privacycloudconnection"]); SqlConnection con1 = new SqlConnection(ConfigurationManager.AppSettings["cloudconnection"]); SqlCommand cmd, cmd1, … | |
Hey I have a button that when clicked add some pictureboxes and labels on a panel named "hold" Now when I change some values and reclick this button I need the old controls to be removed before drawing new ones. So I added this code at the start of the … | |
Hi, I am a beginner programmer. I am trying to make a website but I cannot get the membership to configure. So I press "ASP.NET Configuration", then go into security but an error page comes up: " There is a problem with your selected data store. This can be caused … | |
[code] using (SqlConnection connection = new SqlConnection(DataHelper.ConnectionString)) { using (SqlDataAdapter Adapter = new SqlDataAdapter()) { try { Adapter.InsertCommand.Connection.Open(); Adapter.InsertCommand = new SqlCommand("Sample", connection); Adapter.InsertCommand.CommandType = CommandType.StoredProcedure; Adapter.InsertCommand.Parameters.AddWithValue("@reqno", "emid"); Adapter.InsertCommand.Parameters.AddWithValue("@vouno", "emname"); Adapter.InsertCommand.ExecuteNonQuery(); } catch (Exception aa) { MessageBox.Show("x " + aa); } [B] Adapter.InsertCommand.Connection.Close();[/B] // It Shows error in here } … | |
can anybody able to tell me, the steps to generate an IIS Log File using ASP.Net and using that logfile.txt, i want to display it in report. | |
i have a logs table which have the following fields like username , id , checkintime, checkOuttime and date so i want to select a start date and end date from the calender and then click submit button so it can search data from data base and display data start … | |
I built a file upload control in Silverlight that uploads files to the web server. I use a custom HTTP Handler to handle the upload. What would be the best practice to detect a whether a client has disconnected prior to finishing the upload? I think this could go under … | |
Hi all, I am building a deployment package through VS2010. In Package/Publish Web tab, I have checked "include IIS settings as configured in IIS Manager (used only for IIS Web projects)" and also declared a physical path of Web application on destination server other than wwwroot which does exist. Now … | |
[code] <%@Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="EducationInfo.aspx.cs" Inherits="EducationInfo" Title="Qualification"%> <%@Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1"%> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript"> function Delete() { return confirm("Are You Sure You Want To Delete This Record?"); } </script> <aja:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <table cellpadding="0" cellspacing="0"> <tr> <td> <table cellpadding="0" cellspacing="0"> <tr> <td> <asp:ValidationSummary ID="VSError" runat="server" … |
The End.