13,153 Topics

Member Avatar for
Member Avatar for miraclebos

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 …

Member Avatar for miraclebos
0
130
Member Avatar for RickyG

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:&nbsp;&nbsp; <asp:DropDownList ID="TrainingDocIDTextBox" runat="server" DataSourceID="AccessDataSource2" DataTextField="ReferenceDocument" DataValueField="TrainingDocID" SelectedValue='<%# Bind("TrainingDocID") %>' onselectedindexchanged="TrainingDocIDTextBox_SelectedIndexChanged"> </asp:DropDownList> [/CODE]

Member Avatar for Bhaarat
0
102
Member Avatar for born star

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

Member Avatar for twaink
0
96
Member Avatar for 00 freedom

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!

Member Avatar for murugavel84
0
226
Member Avatar for emaduddeen

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

Member Avatar for emaduddeen
0
151
Member Avatar for mikehaddad

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 …

Member Avatar for kvprajapati
0
116
Member Avatar for ans2007kumar

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 …

Member Avatar for Mohtshm
0
96
Member Avatar for thandwandim

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 …

Member Avatar for Syeda.farwa
0
208
Member Avatar for infinique

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 …

0
100
Member Avatar for joseph2010

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

Member Avatar for joseph2010
0
110
Member Avatar for KingVampire

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 …

Member Avatar for Freon22
0
86
Member Avatar for born star

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

Member Avatar for Freon22
0
73
Member Avatar for born star

whats the difference between [code] while(dr.Read()) { } [/code] and [code] if(dr.Read()) { } [/code]

Member Avatar for Freon22
0
48
Member Avatar for mmccull

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 …

Member Avatar for mmccull
0
104
Member Avatar for SiteBuilder350

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 …

0
47
Member Avatar for saiphyn

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 …

0
59
Member Avatar for TechGen

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 …

Member Avatar for kvprajapati
0
134
Member Avatar for sseo

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 …

Member Avatar for kvprajapati
0
975
Member Avatar for inAweofOOP

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 …

Member Avatar for inAweofOOP
0
166
Member Avatar for Omar123

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 …

Member Avatar for Omar123
-1
125
Member Avatar for thami

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

Member Avatar for Ramesh S
0
63
Member Avatar for edgias

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 …

Member Avatar for murugavel84
0
76
Member Avatar for sitieda

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

0
54
Member Avatar for TaoistTotty

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 …

Member Avatar for dharmbhav
0
165
Member Avatar for IndranilM

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 …

Member Avatar for IndranilM
0
240
Member Avatar for Scoobydog

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 …

Member Avatar for Scoobydog
0
296
Member Avatar for RickyG

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 …

Member Avatar for RickyG
0
96
Member Avatar for rohitmanhas_12

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 …

Member Avatar for rohitmanhas_12
0
198
Member Avatar for RickyG

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&nbsp;&nbsp; <asp:TextBox ID="txtName" …

Member Avatar for kvprajapati
0
130
Member Avatar for yookify

Hai... I'm Doing my project in asp .net(vb .net coding) If anybody guide me means it would be great pleasure for me... I want to display names in the list box So i used the coding: [code] If Not Page.IsPostBack Then Try myda = New SqlDataAdapter("Select name from agent", connection) …

Member Avatar for Mohtshm
0
121

The End.