13,153 Topics

Member Avatar for
Member Avatar for sharmileekumari

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); } …

0
87
Member Avatar for judithSampathwa

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 …

Member Avatar for crishlay
0
232
Member Avatar for sphe_g

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 …

Member Avatar for crishlay
0
117
Member Avatar for rahigoswami

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 …

Member Avatar for prateekpk5
0
4K
Member Avatar for Dhammakirty
Member Avatar for CrazyProgrammer

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 …

Member Avatar for CrazyProgrammer
0
149
Member Avatar for taxmybrain

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 …

Member Avatar for aspproject
0
159
Member Avatar for xanawa
Member Avatar for xanawa
0
126
Member Avatar for dmizz002

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 …

Member Avatar for kvprajapati
0
210
Member Avatar for rahigoswami
Member Avatar for Robert955

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) …

Member Avatar for Robert955
0
232
Member Avatar for rahigoswami

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 : …

Member Avatar for rahigoswami
0
209
Member Avatar for guilt99

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?

Member Avatar for ddanbe
0
172
Member Avatar for suvisoya

hi can anyone explain what is XSD extension file and what is main purpose of this file thanks regards suresh.S

Member Avatar for jonnysmiths
0
108
Member Avatar for rahigoswami

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 …

0
89
Member Avatar for MrCapuchino

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 …

Member Avatar for aspproject
0
83
Member Avatar for ArathySharath

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 …

Member Avatar for aspproject
0
107
Member Avatar for adobe71
Member Avatar for Pari13

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 …

0
60
Member Avatar for unclepauly

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 …

Member Avatar for jayantpaliwal
0
699
Member Avatar for romilnagrani

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 …

Member Avatar for romilnagrani
0
128
Member Avatar for sindhurupuneni

[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, …

0
63
Member Avatar for TheBadger

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 …

Member Avatar for Mitja Bonca
0
123
Member Avatar for tusharbhatia

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 …

0
67
Member Avatar for Faz88

[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 } …

Member Avatar for Knvn
0
85
Member Avatar for santhya.rps1986

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.

0
58
Member Avatar for rahigoswami

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 …

Member Avatar for rahigoswami
0
183
Member Avatar for Fortinbra

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 …

Member Avatar for Fortinbra
0
101
Member Avatar for manibest

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 …

0
40
Member Avatar for umair.sabri

[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" …

Member Avatar for Ramesh S
0
366

The End.