13,936 Topics

Member Avatar for
Member Avatar for Hakoo

Hello all, I have taken CheckBox List and elements are , [LIST] [*]Insert [*]Edit [*]Delete [*]View [*]All [/LIST] Now, I want functionality like if I select "All", rest of 4 should be selected and if I deselect it all rest should be deselected. For this I have used this code …

0
70
Member Avatar for CSharpque

I have read project ideas from this forum and someone has suggested project "Address book" for beginner. I m also beginner. But i don't known what to do in this project. So can one explain it?

0
51
Member Avatar for thundervenk

How to create a website where a user logins to the site and takes the quiz. And each time the difficulty level should increase after clearing each level. How to put the questions and how to do. should i do it in windows application or different pages for each question. …

Member Avatar for Fortinbra
0
861
Member Avatar for larsh

Hi guys, I want to create a use sql membership for my website but am recieving this error when trying to create a database 'Generating user instances in SQL server is disabled'. I have even run the command (exec sp_configure 'user instances enabled') but I still get the error. Please …

Member Avatar for larsh
0
112
Member Avatar for kieky

This is my code : [B].aspx[/B] [CODE] <asp:GridView ID="GridView_Main" ClientIDMode="Static" AutoGenerateColumns="false" DataKeyNames="IdVersi" AllowPaging="true" AllowSorting="true" Width="97%" BorderWidth="1" OnSelectedIndexChanged="GridView_Main_SelectedIndexChanged" OnSorted="GridView_Main_Sorted" OnPageIndexChanged="GridView_Main_PageIndexChanged" OnPageIndexChanging="GridView_Main_PageIndexChanging" runat="server" PageSize="4"> <EmptyDataTemplate> <div class="EmptyDataMessage"> <asp:Label ID="Label_GridView_Empty" runat="server" Text="Data tidak ditemukan."></asp:Label> </div> </EmptyDataTemplate> <HeaderStyle CssClass="GridviewHeader" /> <SelectedRowStyle CssClass="GridviewSelect" /> <AlternatingRowStyle CssClass="GridviewAlternate" /> <Columns> <asp:TemplateField HeaderText="No Versi" ItemStyle-CssClass="GridviewItem" ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="15%" …

0
74
Member Avatar for Abakiz

I want a button that when the user clicks on it validates in both server side and client side regular expressions. for example [CODE] <asp:Button ID="btnLogin" runat="server" onclick="C_Buttonk" onclick= "js_button" Text="Login" /> [/CODE] Then button would call both functions from JS and C# hence serverside and client side, but the …

Member Avatar for MamathaS
0
83
Member Avatar for k1robert

I haven't done any sort of development for a while, but what i'm looking for is to see a simple example of an ntier application using linq. Showing BLL, DAL with roles and membership. I'm also keen on getting better with my OOP and would like to find a site …

Member Avatar for k1robert
0
213
Member Avatar for aplee

hi Everyone, My program is doing good when I suddenly bumped into this problem. I dont know how to do the next functionality that I need to accomplish. I am done with inserting values, showing the gridview etc and it works great. Now my problem is the update command. I …

0
104
Member Avatar for poonamjadav

hi i am a student and i want to develop a 3 tier web application can any one explain me the step by step process to develop a 3 tier application inn asp.net with C#. thanks

Member Avatar for poonamjadav
0
453
Member Avatar for Chair

Pls can somebody help me. I'm developing a project using ASP.net. In my project, I'm using a repeater. But I can't seem to use OnItemCommand or OnCommand. It's showing this compilation error, e.g. BC30456: 'selectitem' is not a member of 'ASP.usermainform_aspx'. This error shows in all repeaters across my forms …

Member Avatar for Chair
0
231
Member Avatar for duranvskp

Hi I'm trying to build a master page. What I'm trying to do is have a header in the master page with login and register link buttons (which would change to username and sign out) and there are content pages like home.aspx, shoppingcart.aspx, checkout.aspx which would inherit the master page …

0
186
Member Avatar for ajmeer

hai friends i having error in this below programe,my task is fetch all user information from active directory ,my error is server is not operational [code] string principal = this.Context.User.Identity.Name; return principal; string principal = GetPrincipal(); string filter = string.Format("(&(ObjectClass={0})(sAMAccountName={1}))", "person", principal); string domain = "DOMAIN"; string[] properties = new …

0
33
Member Avatar for judithSampathwa

hi there, i may have asked this question several times, but the tel number is being formated in a incorrect way. when the user enters the tel number i run the below code [CODE] public bool ValidateTelNo(string TelNo) { bool value = false; string rePhoneNumber = @"\d{3}\s?\d{3}\d{4}$"; string PhoneNoFormat = …

Member Avatar for judithSampathwa
0
212
Member Avatar for thundervenk

I want a timer code in javascript which can be called by a asp.net page which is not affected by the page getting reloaded or even if the page is refreshed. i want the timer to run with minutes and seconds.

0
51
Member Avatar for niel1826

Can you help me in this question, I'm Using ASP.NET 3.5 Framework SP1 and Using MS Office 2010... What will be code in ASP.NET?..

0
48
Member Avatar for poonamjadav

hello everyone i am a student and i have to prepare a project on the MLM system in asp.net using C#. i have to prepare a saperate admin tool to handle the web application. Can any one help me how can i do that in visual studio 2010 IDE pls …

0
51
Member Avatar for ssreevidya.m

hi, i want to create a custom gridview control with paging, sorting and filtering. I tried a lot of for it , but didnt get it correctly. Can you give me the code for it. thanks in advance, sreevidya

0
123
Member Avatar for mayankdvd1

When I selecting gridview row i am getting the error in the following line onclick="javascript:__doPostBack('grdOrderDetail','Select$0')"> The error message is Microsoft JScript runtime error: Object expected Please help me out Thanks in advance

0
81
Member Avatar for sank1986

Hi all, i have to build a website in asp.net while i am trying to build it, i am not able to drag and drop controls on the design page. Please help Best Regards Sanil Khattar

0
47
Member Avatar for darshini.dayal

Ihave used the following to save the users data in the the SQL table.But the data is not been save.Can anyone pls suggest what is the error? [code] { string Name = TextBox4.Text; String Telephone = TextBox3.Text; String Email = TextBox2.Text; String enquiry = TextBox1.Text; SqlConnection conn = new SqlConnection(); …

Member Avatar for MamathaS
0
232
Member Avatar for duranvskp

Hi <%# ((DataRowView)Container.DataItem)["SomeProperty"] %> <%# DataBinder.Eval(Container.DataItem, "SomeProperty")%> From Google i figured out these can be used to bind the columns in GridView to ArrayList. But what is "some property" ? For example i have a ArrayList in .aspx.cs as static ArrayList componentSelectionArray = new ArrayList(); so can i just write …

Member Avatar for MamathaS
0
130
Member Avatar for rohitrmehta

Hello, I have a project on hand. I have to build a portal. I am basically a UI person which development skills. Which technology is better for portal development? PHP vs java vs .net vs Ruby? Also if there are any developers with experience in portal development, Give me a …

Member Avatar for Rashakil Fol
0
145
Member Avatar for adrianSigamoney

I have add 10 linkbuttons to a PlaceHolder. When you click on LinkButton it runs sub. However how can I retrieve the Linkbutton??.text to use.

0
58
Member Avatar for adrianSigamoney

The code runs through without errors. However my controls, LinkButton01, Image01 and Button01 do not appear on my web page. I have added the code as code behind and in front. Both times they did not appear. I am sure there is a trick I am missing here. Please assist …

Member Avatar for adrianSigamoney
0
128
Member Avatar for lbeddawi

Hi all; I am having a problem when submitting this form. The path of the file to be uploaded gets duplicated and the file does not get uploaded . Could you please help me?? Here is the code: [ICODE] <%@ Page Language="VB" MasterPageFile="~/_templates/MasterPage-ContentNormal.master" autoeventwireup="false" inherits="SierraClub.PublicSite.BasePage" title="San Francisco Internships - Careers …

0
65
Member Avatar for vinayak.v

Error 2 'System.Web.HttpApplicationState' does not contain a definition for 'startuppath' and no extension method 'startuppath' accepting a first argument of type 'System.Web.HttpApplicationState' could be found (are you missing a using directive or an assembly reference?) E:\Report1\global\Default.aspx.cs 77 36 E:\Report1\global\ please help me.. i want to override the connection string of …

Member Avatar for Vigneshjvm
0
313
Member Avatar for rjbrjb777

helo friends. i need to deal with more than 10 excel sheets.. so i want to make an desktop application in Visual Studio(c#), which performs as followings..: 1) first user can choose on which file he wants to work on. 2) then retrieving column wise data, and performing many mathematical …

Member Avatar for rjbrjb777
0
195
Member Avatar for robertmacedonia

Hello, I would like to ask a plain and simple question about the Model-View-Controller architecture, in particular its implementation in ASP.NET - should the UML Class diagram for my application include all the controllers and views and their relationships, or should I just include my model classes, i.e. the entities …

Member Avatar for robertmacedonia
0
851
Member Avatar for savitasagar

hi i m genrating report using cross tab. I m showing subject as column and student name as row and marks for row value. But in cross tab we can take summrised field for row value. i dont want to do any summary option on my original field.i want to …

0
57
Member Avatar for adrianSigamoney

I have ten TextBoxes: TextBox1 TextBox2 TextBox3 TextBox4 TextBox5 TextBox6 TextBox7 TextBox8 TextBox9 TextBox10 How can I get the name of the TextBox the user clicks on (mouse) during runtime? It is a asp.net web page and the program is written in vb.net. Cheers

Member Avatar for adrianSigamoney
0
195
Member Avatar for paresh_thummar

I want to create user dynamically. I used [CODE] Membership.CreateUser(smemno.Text.ToString(), spwd.Text.ToString(),semail.Text.ToString(),ssecquestion.SelectedItem.Text.ToString(),sans.Text.ToString(),true); [/CODE] but error occur : "No overload for method 'CreateUser' takes '6' arguments" Should I create new method named CreateUser(), if "yes" then what is code for that and what it return... please help me.

Member Avatar for jomgrg
0
141
Member Avatar for ssreevidya.m

hai, I used gridview pager for page sizing. But I have more than 15 web pages that are also needed page sizing. how can i create a class for this purpose and access it. The code I used is: [CODE] protected void GrdStudent_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == …

Member Avatar for jomgrg
0
114
Member Avatar for mkh110110

i want to use google erth in my proj and i want to have this ability to have some changes in maps if it will necessary in future, for example i be able to change the color of paths in map to show the traffic in the map

Member Avatar for kvprajapati
0
85
Member Avatar for anup.maverick

Hi, I am using asp.net 2.0, SQL 2005 Express Edition. I have created one database, thats working fine on local host. But when I transfered files to my hosting server, Then its giving me [COLOR="Red"]Error:- Invalid value for key 'attachdbfilename'.[/COLOR] My connection string is as follows:- data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|DataTestingServer.mdf;Database=DataTestingServer;User Instance=true …

Member Avatar for kaar3k
0
1K
Member Avatar for rbeach1955

when managing rules I receive the below error: Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is …

Member Avatar for rbeach1955
0
112
Member Avatar for khan43

I am trying to clear session variables after I have logged out. In my search.aspx I have a logout button therefore I put the below code in search.aspx.vb. However it does does seem to work. Protected Sub hlLogout_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles hlLogout { if(Session["User Name"]!=null) …

Member Avatar for Knvn
0
179
Member Avatar for khan43

Hi I am trying to create a forgot password section within my login section and it doesnt seem to work. In my forgotpassword.aspx page my code looks like this: [CODE]<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:PasswordRecovery ID="PasswordRecovery1" runat="server" Height="224px" Width="295px" SubmitButtonText="Get Password" SubmitButtonType="Link"> <MailDefinition From="soccervillage@yahoo.com" Subject="Your new password" BodyFileName="PasswordRecovery.txt" /> </asp:PasswordRecovery> </asp:Content>[/CODE] …

Member Avatar for khan43
0
223
Member Avatar for pavankumarr

Hi Everone!! I want to send Automated Emails every quarter to remind the user of specific task. I want to write in ASP.Net without using Windows Services. Can anyone help me regarding this. Please provide Sample code for this Automated Emails. Regards, Pavan Kumar

Member Avatar for alamimranster
0
103
Member Avatar for studentoflife

Hello, I'm trying to write an asp.net app which searches a sql db and returns/updates the data. I want to be able to hold the currently selected id of the item my user has selected. For example a doctors surgery would select a patient record then be able to browse …

Member Avatar for kouroshnik
0
142
Member Avatar for aniperiye

hiiii i am aneesh...my doubt is how we can insert a repeater inside a gridview??? i want to put all repeater in one column of gridview. how it can achieve???? i am totally confused please give me a solution...

Member Avatar for aniperiye
0
2K
Member Avatar for barriegrant1

hey guys, I'm creating a basket for an e-commerce site, im trying to total up the basket values within the 'cart' class and return the value back to the 'basket' page where the total will be shown. The total is fine but i cant seam to return the total back …

Member Avatar for barriegrant1
0
138
Member Avatar for zerubbabel
Member Avatar for judithSampathwa

hi there, i am trying the VS 2010 ASP.NET MVC website project and when i create a web page and click shift+F7 i cannot view the design of the page, why is this can some one help me out? thankx

Member Avatar for judithSampathwa
0
71
Member Avatar for khan43

Hi I am trying to edit security into my website which I have created in visual studios 2008 using asp.net. If I copy the URL into a new tab within internet explorer, it does not seem to log me out. I would like it to log me out due to …

Member Avatar for khan43
0
108
Member Avatar for muzikhera

Hi everyone! How to save image from picturebox to Datatable and display to crystal report. Any idea would help. Thanks and regards to all programmers!

Member Avatar for Knvn
0
116
Member Avatar for jackparsana

hi, please help me to create setup of my web project. i use visual studio 2010 and Mssql 2008. i have problem in create setup is - i can not create App_code. - framework problem in web config file. please help me to do that. thanks jack.

0
103
Member Avatar for EricIskhakov

Hello. I have a gridview with an ImageButton that acts as an Update Command to a DataSource. and the SP works if i execute it in the server with parameters, but not through the ImageButton. I Suspect that the Parameters arn't bein sent because if i set a Default Value …

Member Avatar for EricIskhakov
0
178
Member Avatar for hchf

Hello I've got a problem, I have a Oracle db in a Windows 2003 server, the server has already installed the framework 2.0, and in the same server I published a web site in asp.net 2005, and this site should connect to the oracle db, but when you open any …

0
67
Member Avatar for UberJoker

Hey guys. hope everyone is doing well. I am trying to make a custom asp.net server just for the heck of it. turns out its quite a task!. I managed to get some code off the internet for a simple server, but it doesnt support asp.net pages. I looked into …

Member Avatar for UberJoker
0
180
Member Avatar for cavpollo

Hi there, I've been searching all over the internet for a solution to this problem but can't seem to find anything that solves it. I got a masterform with the following code: [CODE]<%@ Master Language="C#" AutoEventWireup="true" CodeFile="FolderMasterForm2.master.cs" Inherits="FolderMasterForm2" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head" runat="server"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> ... ... …

0
133

The End.