13,153 Topics

Member Avatar for
Member Avatar for Twistar

Hi, i need to get a users password from my database. I ask the user to enter his username in my textbox called txtUsername and his password in txtPassword. Then I try to use LinQ to sql to get the password. My Code: [CODE]public string GetPasswordHash() { var varPasswordHash = …

0
71
Member Avatar for kenji+

Hi everybody, I had to synchronize 2 DDL when I clic on a btn. the DDL are on 2 different view. I can access to the second DDl but the value dont change. I do this: DropDownList ddl01 = (DropDownList)this.Parent.FindControl(panelFilterManager.Parent.Parent.FindControl("ddl01").ID); ddl01.SelectedItem.Value = ddl02.SelectedItem.Value; thx for helping me ^^

0
44
Member Avatar for BaxterWoofus

In Visual Studio 2010, I have a windows forms application frmMain.cs with a ComboBox. From the form itself I can access its value with cmbxYear.SelectedValue. I also have a DataSet.xsd file to bind to an rdlc report to a TableAdapter to present view data. The TableAdapter has a SelectCommand that …

Member Avatar for BaxterWoofus
0
225
Member Avatar for weblion

please input the code inside javascript. here Enabled is var field declared in javascript [CODE]if (Enabled.trim() == 'False') { document.getElementById('checkbox1').checked = false; } else if (Enabled.trim() == 'True') { document.getElementById('checkbox1').checked = true; } [/CODE]

-2
49
Member Avatar for vaishnaviS

Hello , I am doing a project on Resort Website where I have a module of Room Reservation. I want a code for checking the availability of rooms when user selects arrival date and departure date and clicks check button. database room_details table ------------------ roomno type rate_regular rate_delux rate_suite -------------------- …

Member Avatar for poojavb
0
132
Member Avatar for weblion

<table> <tr> <td> </td> <td> <asp:Label ID="Label5" runat="server" Text="Change DisplayName"></asp:Label> </td> <td> <asp:TextBox ID="DisplayTxt" runat="server"></asp:TextBox> </td> <td> <asp:TextBox ID="IdTxt" runat="server" Width="20px" CssClass="supptext"></asp:TextBox> </td> </tr> <tr> <td> <br /> </td> </tr> <tr> <td> </td> <td> </td> <td> <asp:Button ID="EditSaveBtn" runat="server" Text="Save" OnClick="EditSaveBtn_Click" /> <asp:Button ID="EditCloseBtn" runat="server" Text="Close" /> </td> <td> </td> …

-3
38
Member Avatar for sushmapotla
Member Avatar for weblion

function showDataRow(rowContainerId) { var childControlsArray = document.getElementById(rowContainerId).childNodes; var StoreId, StoreName, Enabled; for (var i = 0; i < childControlsArray.length; i++) { if (childControlsArray.item(i).id == 'dvStoreId') { StoreId = childControlsArray[i].innerHTML; } else if (childControlsArray.item(i).id == 'dvStoreName') { var subchildarray = childControlsArray.item(i).childNodes; for (var n = 0; n < subchildarray.length; n++) { …

-2
39
Member Avatar for MARKAND911

I have a crystal report named CR1. Now i want to populate the data from multiple tables into my crystal report CR1. I am using VS2008 and coding language is C# in ASP.net Any help will be appreciated.

0
97
Member Avatar for BaxterWoofus

Environment: Visual Studio 2010, Windows Forms Application, Oracle Database I am trying to use a parameter in a DataSet.xsd DataTable. The query and parameter work fine in Query Builder but gives an error if I try "Preview Data" or use in my application. Error: An unhandled exception of type 'System.Data.OleDb.OleDbException' …

Member Avatar for BaxterWoofus
0
87
Member Avatar for zooferic

Hi everybodies! How increase ProductId inside Product_Table when insert a new product according to following approach? Language_Table: Id Code --------- --------- 1 ka 2 en Product_Table: ProductId ------------- 1 2 Product_Translation_Table: TranslationId Title ProductId LanguageId -------------- ------------------- ------------- ------------ 1 Kompiuteruli 1 1 2 Computer 1 2 3 Radio 2 …

Member Avatar for scarcella
0
273
Member Avatar for priyamtheone

How can I detect the click event of the close (X) button at the top right corner of the control box of a form/window? Please note, I don't want to know about CloseReason, FormClosing, FormClosed or stuffs like these, unless they are inevitable. I exactly want to detect if the …

Member Avatar for makdu
0
551
Member Avatar for GimmeClassic

I'm new to .NET and having a difficult time deciphering when to use namespaces and where to place "using" clauses. For this one project, I'm trying to develop a .NET page within a web application that has 99% of the pages written in Classic ASP. I started by creating a …

Member Avatar for hericles
0
255
Member Avatar for amm038

hi all i want your help plz am working on a news website and i want a way or code to let the visitors add comments on any news am using asp.net with c# plz help :'(

Member Avatar for amm038
0
111
Member Avatar for Marco25Me

Hello to all, before begin i must say that I'm sorry for my bud english and hope that it not be a problem for understanding whit you. I'm looking for a solution to create a simple background server application that running and live over infinite loop cicle, whit have the …

0
82
Member Avatar for f.sh

Actually i'm creating web template using asp.net and c#. in my user control page i have to create the table dynamically. i just read the data from XML file then retrieve the name and number of columns and rows of each table. while i'm creating the table i assign the …

Member Avatar for f.sh
0
1K
Member Avatar for Eniekko

hello to all. I have a problem. I want to alter a table to add three columns whenever i click a button.But i want the name of the table taken from a drop down list, and the name of the three columns are also taken from either a drop down …

Member Avatar for Eniekko
0
306
Member Avatar for sagngh8

Hi everyone, Please help me on this. “Could not load file or assembly 'Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”. 'NewtonsoftJson.dll’ assembly is required for posting to twitter .The version used is 4.0.3.0. …

Member Avatar for Momerath
0
431
Member Avatar for chaitali238

I am using Visual studio 2008 and trying to upload files. Though the file uploaded can be seen through windows explorer, it is not shown in solution explorer. i am using the following c# code: [code] String fnm = FileUpload1.FileName; String cp = Server.MapPath("~/Uploads/"); FileUpload1.SaveAs(cp + fnm); [/code]

Member Avatar for desynch
0
123
Member Avatar for karthik.net87

I want my File upload control as read only, so that no one can edit file upload text box. However I could select file using browse button. Write code

Member Avatar for desynch
0
126
Member Avatar for bebosh

[B]Hi all, I would ask about fileUpload control, in asp.net 2008 can I know how remaining time to upload file successfully without using threading and without using javascript? the progress bar not problem, the problem that faced me is how to know how much file size was uploaded...[/B]

Member Avatar for desynch
0
239
Member Avatar for cutieprincess

[code]function showDataRow(rowContainerId) { var childControlsArray = document.getElementById(rowContainerId).childNodes; var StoreId, StoreName, Enabled; for (var i = 0; i < childControlsArray.length; i++) { if (childControlsArray.item(i).id == 'dvStoreId') { StoreId = childControlsArray[i].innerHTML; } else if (childControlsArray.item(i).id == 'dvStoreName') { var subchildarray = childControlsArray.item(i).childNodes; for (var n = 0; n < subchildarray.length; n++) { …

Member Avatar for Philippe.Lahaie
-2
112
Member Avatar for vatwindad

I am having a problem and it is probably quite simple and I am missing it. For my C# and ASP.NET programming class, I am creating a form for someone to sign up for an event online. It has the First and Last name fields, email and confirmation email fields, …

Member Avatar for sufyan2011
0
127
Member Avatar for bigstar

Hello programmers. Please am currently working on an ASP.NET website. The major work on the website is all about images uploads by the users, am going to be dealing with lots of image uploads from the user. But the problem is that am still unable to come up with the …

Member Avatar for sufyan2011
0
125
Member Avatar for weblion

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Data.Common; using System.Data; using System.Data.SqlClient; namespace modalwindow { /// <summary> /// Summary description for WebService1 /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment …

Member Avatar for stbuchok
-1
187
Member Avatar for nickg21

Hey everyone, my issue is a little strange, I have a form that has checkboxes, and depending on the selection, a textbox might appear for further info. I want to loop through the controls that have been selected, if it's only a checkbox than just add the Value of the …

Member Avatar for DcFreefall
0
358
Member Avatar for Saranya86

Hi.. I'm developing a website for the first time in visual web developer using asp.net and sql sever database. I have designed my pages and master page. I have created my sql server database too. Please could you help me how to connect the database to asp.net master page? Also …

Member Avatar for m27grace
0
146
Member Avatar for plastick
Member Avatar for Puneet Shinde
0
328
Member Avatar for Paradox 99

Hi all, I've been using this type of code to pull out a single value from my SQL database but I can't help thinking that there's a simple command I'm not using: [CODE] strSQL = "SELECT MAX(Stage) FROM Visits WHERE ScheduleRef = 22" FinalStage = dl.getPRISMdata(strSQL).Tables(0).Rows(0).Item(0)[/CODE] [CODE]Public Function getPRISMdata(ByVal strSQL …

Member Avatar for Paradox 99
0
229
Member Avatar for SBA-CDeCinko

I have a .Net web service which appears to be working fine. I generates a WSDL and I can sucessfully test it locally. I am using the basic code below in CF to consume the service: [CODE]<cfinvoke method="getBannerViews" returnvariable="getBannerViews" webservice="http://www.xzxxxxxxxxx.org/ws/bannerAdViews.asmx?WSDL" refreshwsdl="true">[/CODE] Problem is, I am getting this very long error …

0
71

The End.