13,153 Topics
![]() | |
Hi, I'm facing a very strange problem. I have a JavaScript which disables some nodes (checkboxes) of TreeView depends on the value of the "Title" property of the checkbox. I had to try this because TreeView control doesn't support enabling/disabling of checkboxes attached to it. My only option was to … | |
Hi, how can I display on a single page(View) data from two tables in my db? In my project the model is *.edmx file. i have two table one with categories, and the second one with products. All I want to do is to display on home page(view) in left … | |
Hi, Im new to this forum. I was hoping for help. i have an XML file : [CODE] <root> <node1 a=".." b=".."> <node2 x=".." y=".." z=".." w=".." /> <node2 x=".." y=".." z=".." w=".." /> <node2 x=".." y=".." z=".." w=".." /> </node1> <node1 a=".." b=".."> <node2 x=".." y=".." z=".." w=".." /> … | |
hi all,... iam newbie here. i want to make video conference using ASP.NET & C#. my application is web based. its possible....??? please, if you have know article or anything its help to me... thanx friends..... :mrgreen: | |
My problem is that the array does not seem to return the correct value, the same value is returned for each data row, but when I display using Response.Write in foreach in Calculation, the correct values are returned. The array values has to be used in a calculation I've got … | |
Hallo can someone please help me, I've got this table: Valuation Date Construction 30/03/2009 30,625.26 30/04/2009 269,825.04 30/05/2009 850,056.45 30/06/2009 1,922,475.06 30/07/2009 3,500,852.19 30/08/2009 5,757,055.16 30/09/2009 8,699,041.1 30/10/2009 12,232,330.17 30/11/2009 16,612,763.46 30/12/2009 19,166,542.19 30/01/2010 22,098,191.54 28/02/2010 33,539,289.47 30/03/2010 40,518,025 30/04/2010 48,372,377.98 30/05/2010 56,543,248.62 30/06/2010 65,507,314.28 30/07/2010 74,607,415.4 30/08/2010 84,352,063.34 30/09/2010 … | |
i m working with asp.net and we make a stored procedure we declare the parameters like @fanuser_id int, @fsuser_name string my question is that why we use [COLOR="red"][B]fs[/B][/COLOR] for string and [COLOR="red"][B]fan[/B][/COLOR] for integer what the meaning of these.......... | |
I want to declare a integer variable in global scope but do not want to that its value become 0 every time the page is post-back [CODE]using System; using System.Collections; using System.Configuration; using System.Data; 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; … | |
Here is my small project [URL="http://aspspider.biz/realzone/default.aspx"]http://aspspider.biz/realzone/default.aspx[/URL] Here you can see my small project and can take some ideas.Pls give me some usefull suggestions. | |
Hi all, i wrote this code, and my problem is that in the textbox the values are "··· 123 test" and not "··· 123 test", so if I use special character like the middledot or others and than I try to copy in a Textbox I will find an additional … | |
I have a program that will use the following code to draw the nodes i need (ellipses), but it won't draw the paths(lines). The only thing i could think of is that it might not be calling properly through two classes. [CODE]protected override void OnRender(DrawingContext drawingContext) { base.OnRender(drawingContext); DrawingGroup dGroup … | |
Hi I am worthless in CSS. My boss doesn't want me to use <br> or table. I have a datalist and a div which is relative, like he said I should have. Then I placed spans which are absolute and with top and left. It works fine when there is … | |
Hello , Question is how to get People Editor Values in Sharepoint, C# ? | |
hi would you please help me in retrieving values related to user select a country then its automatically shows the states name of that country in next dropdownlist and after that it will automatically display the city names respected to that country.. please do the needful.its really very urgent thank … | |
Dear experts, I have a GridView with an invisible CancelEdit button. I want to use this button to get out of Edit mode. When I make this button visible for testing purposes and press it with the mouse, it works fine, getting me out of Edit mode. But I need … | |
Hi! To all members I have a grid view with five data bound fields.In the sixth cell, i want a check box to be displayed .Note there are multiple values in one cell of a row and for multiple cell in a row,a checkbox is to be displayed. Table looks … | |
How to know what is last index number in a drop down list if it is populated by using database?? | |
I have a problem. I want to display data from database using drop down list and radio button in the grid view. The idea is, from the grid view user can select value from drop down list and radio button to update their record. So, they didn't need to type … | |
I am using a LDAP system to check the user cridential access control [CODE] string LDAPUserID = ConfigurationSettings.AppSettings["LDAPUSERID"]; string LDAPPassword = ConfigurationSettings.AppSettings["LDAPUSERPASS"]; string domainAndUsername = domain + @"\" + LDAPUserID; string CN = ConfigurationSettings.AppSettings["CN"]; string SID = ConfigurationSettings.AppSettings["SID"]; string MAIL = ConfigurationSettings.AppSettings["MAIL"]; string SAMACCOUNTNAME = ConfigurationSettings.AppSettings["SAMACCOUNTNAME"]; string SN = ConfigurationSettings.AppSettings["SN"]; … | |
hi,i am rajesh i have to bind menu controler to database at run time , but i have no idea of data Relation. and data set. E-mail id= [snipped] | |
Hello, I have a WebService that gets a LessonID and returns a list<string> that has all the links of the lesson from access database: [CODE] [WebMethod] public List<string> Lessons(int lessonID) { string lessonsource = ""; string cs = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source= " + GetDBLocation(); OleDbConnection cl = new … | |
Hello ! I'm working on a project which allows user to design forms/questionnaires using asp.net website, and once done. The questions should be generated on a .net mobile web page to be filled up using mobile phone browser. The question is - when designing the form is done, should I … | |
I am trying to display the title and descritption of a document on a dropdown menu list but I don't know how to do it. So far it works fine but shows only reference document. [CODE]Training Document: <asp:DropDownList ID="TrainingDocIDTextBox" runat="server" DataSourceID="AccessDataSource2" DataTextField="ReferenceDocument" DataValueField="TrainingDocID" SelectedValue='<%# Bind("TrainingDocID") %>' onselectedindexchanged="TrainingDocIDTextBox_SelectedIndexChanged"> </asp:DropDownList> [/CODE] | |
[U][I]how does highlighted lines work............. [/I][/U] [CODE] public List<clsproductprp> RetAllCol_rec() { List<clsproductprp> obj = new List<clsproductprp>(); SqlDataReader dr=null; SqlCommand discmd = new SqlCommand(); try { if (con.State == ConnectionState.Closed) { con.Open(); } discmd.CommandText = "spDisplayALLProduct"; discmd.CommandType = CommandType.StoredProcedure; discmd.Connection = con; [COLOR="red"][B] dr = discmd.ExecuteReader();[/B][/COLOR] while (dr.Read()) { clsproductprp prp … | |
hi all, i would like to ask if do you know how to Embed the Remote Desktop ActiveX Control in a Web Page using C#? any help would be greatly appreciated!! thanks! | |
Hi Everyone, There are so many controls, properties, etc in VB 2008 .NET it's mind boggling. I'm amazed at how much this product can do. Does anyone know of a VB 2008 .NET book that describes in simple language and shows sample code for all of those controls, properties, etc? … | |
hi i'm new to asp.net and i have create a simple asp.net pages loging page and registration page with simple access database. and i have HTML page that has left frame where the links in it are one will open the loging page and the other one will open the … | |
I have created checkbox as follow [CODE]System.Web.UI.WebControls.CheckBox ch = new System.Web.UI.WebControls.CheckBox(); ch.Checked = true; tc.Controls.Add(ch); ch.CheckedChanged += new EventHandler(ch_CheckedChanged);//this is my eventhandler[/CODE] I created a event handler as [CODE]protected void ch_CheckedChanged(object o, EventArgs e) { string s = Response.Cookies["red"]["re"]; if (v == "true")//i want the state of respective checkbox here … | |
For some reasons I'm getting no data populating in my crystal report. I have set the datasourse of my crystal report to the dataset. I filled my dataset with data straight from the database. My dataset is not empty, I always check it first before populating data to the my … | |
Hi, my client is in the midst of creating a blog. Due to the fact that their hosting is on asp.net, wordpress, joomla is way out of the question. I would like to check if any of you guys might know what is the most recommended .net engine blog software … | |
In the filtered text box what are the FilterType are having ? i am using .net framework 2.0, it will not come for filter text box property. reply me the result | |
Hello, I am making a web page and I want to make it 100% fluid, which means that I want to resize the images when the browser window is resized. I just need to know how to get the Panel width in px with c#. I am using master page … | |
hey.........i m new in asp.net ....and following is the class library.... ........can somebody tell me the working of the following code like why catch{} is used why finally is used and all this [CODE] public abstract class clscon { protected SqlConnection con = new SqlConnection(); public clscon() { con.ConnectionString = … | |
whats the difference between [code] while(dr.Read()) { } [/code] and [code] if(dr.Read()) { } [/code] | |
I'm having a problem setting up autrhentication and authorisation in IIS7 and the web config file for an ASP.NET 3.5 application. What I want to do is restrict access to content that is being served by IIS, so all pages/assets, but I want to do this via the web config … | |
I'm posting in this forum because I didn't really find one regarding CMS platforms. I use dotnetnuke for my CMS framework. Works well for the most part but I'm finding the built in forum module is awful. I've looked around and I've yet to find a good 'free' alternative. Now … | |
Hi, I am working on a project with greenhousegases (GHG). I have a table which looks like this: product_name/ CO2 / N2O / CH4 and which houses the GHG data for a kg of a certain product. Now I would like to use this data to calculate the GHG of … | |
hi please I have managed to create a user and allow a user to login however Im confused as to how I can use the profilecommon class to save user info, please assist my web config is also listed below [code] Protected Sub btnLogin_Click(ByVal sender As Object, ByVal e As … | |
I'm relatively new to programming. Problem: I'm creating an ASP.NET app the needs to read a CSV file and filter the data. I searched the net and only found classic ASP examples or all DB driven examples. Does anyone have sample code. Or is there any other suggestions on how … | |
Hi All, Hi All, I'm in a bit of a pickle here. I'm Binding the name of file to a LinkButton and intending to open that file on the LinkButton' click. I have the LinkButton in the TemplateField of a GridView control. Below is the code I'm using : <asp:TemplateField … | |
Hello, I'm writing a project about exams. The number of answers in the exam are 4. and each one has a RadioButton near it that can be pressed to choose the answer. What I do to check which of the radio buttons is selected is that I manually add an … | |
Hi, I have a page which is long, now instead of scrolling it manually I want to put linkbutton at the top of the page so when the user clicks on the topic, then the page scrolls itself to that topic which is on the same page as the linkbutton. … | |
I have a search form which the user has to enter values to search for a particular vehicle in the database. I want to assign a certain value in the database to a certain control on another page. how will I be able to do this? I have something like … | |
hi expert.. i have problem in create report using ssrs.. i already create the .rdl file and setup the datasource and dataset.. the problem is..when i want to view report i dont know how to map between my webform n the datasource.. this my code now... from the 1.aspx.cs [code] … | |
I have been able to create the PDF without too many problems, but it is not formatted the way I would like/need. I am producing the PDF from a web page TextBox which the end user is running TinyMCE on (and is effectivly using it was a word processor), but … | |
Hello i have a login page so once the user enters the correct details he enters into the home page. Now i want to implement 2 things 1. once he clicks the button 'log out' he must be redirected to a page saying" logged out successfully " n even if … | |
I have a page with a nested gridview and within the nested gridview I have a TemplateField and an Imagebutton. What I am trying to accomplish is allow the user to expand the child grid and then click on the Imagebutton to display a panel below. The problem I am … | |
HI, I am looking a snippet to warn the user before processing with deletion and my ViewEmployees.aspx page.. I am using a Gridview with autogenerated insert, delete statements; how would I do this on my Code Behind File? [CODE]<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="EmployeeID" DataSourceID="AccessDataSource1" ForeColor="#333333" GridLines="None"> <RowStyle … | |
Hi, I need help for this problem that i'm trying to solve for a while (i'm Using ASP.net and C#). How do i submit the values from selected checkbox lists into database using c#.... Here's the code: .......................................................................... [code] <asp:CheckBoxList ID="CheckBoxList1" runat="server" Font-Bold="False" Font-Names="Vrinda" Width="338px" style="text-align: left"> <asp:ListItem>Public Tap</asp:ListItem> <asp:ListItem>Well … | |
I am trying to update employee information in my web form but when I press Update Link, nothing happends.. [CODE]<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="ViewEmployees.aspx.vb" Inherits="ViewEmployees" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <p class="style1" style="text-align: left"> <table class="style1"> <tr> <td> Enter Employee Name <asp:TextBox ID="txtName" … |
The End.