13,936 Topics

Member Avatar for
Member Avatar for rafaele-elvis

Hi Comrades, I am developing a web application. The application manages a physical book and multiple choice questions as self-practiced exercises. The problem is that there are a lot of formula in every lesson of the book. I have used a way is to capture these formulas and insert like …

Member Avatar for guru_sarkar
0
74
Member Avatar for new SE

Hi all, i havw make a page for user entry..now i'm uisng [CODE] <asp:RequiredFieldValidator ID="CmpCode" ErrorMessage="*" runat="server" ControlToValidate="txtCmpCode"></asp:RequiredFieldValidator> [/CODE] to make a validation but not enough space.. anybody have any suggestion to make a validation rather than diaplay the error message? i'm thinking about just red bold the textbox but …

Member Avatar for guru_sarkar
0
96
Member Avatar for bernard_bear

Hi everybody! Im getting an error with RangeValidator. Its simply and very strange. Im validating a text field that gets a date. The minimun value is "1900/01/01" and the maximum value is "2010/12/31". The error occurs when I insert the date "1987/10/18". All other dates are accepted (well, those i …

Member Avatar for guru_sarkar
0
49
Member Avatar for MichaelWClark

I am trying to bind my gridview to a stored procedure via Linq to SQL but keep getting 'Data source is an invalid type. It must be either an IListSource, IEnumerable, or IDataSource.' I know I am supposed to convert the stored Proc .ToList, but this method is not available …

Member Avatar for MichaelWClark
0
139
Member Avatar for poultje

My CPU sometimes is on max all the time. I found msmsgs.exe. Can anybody help me evaluating HJK log? Thanks! Poultje. Logfile of HijackThis v1.99.1 Scan saved at 3:55:15 PM, on 9/1/2006 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe …

Member Avatar for crunchie
0
149
Member Avatar for dnanetwork

AdaPost Any Help! This is my Server Side Code.. IIS 7 at Server [CODE] Interface Code [ServiceContract(SessionMode=SessionMode.Allowed,CallbackContract= typeof(interfaceDuplexCallBack))] public interface IDuplexService { [OperationContract(IsOneWay=true)] void DoWork(); } public interface interfaceDuplexCallBack { [OperationContract(IsOneWay = true)] void Done(); } [/CODE] // Interface Implemetation [CODE] public class DuplexService : IDuplexService { public void DoWork() …

0
64
Member Avatar for ibdatx

Hi all, I am attempting data binding in WPF. I have a class Recipe and another called RecipeService. There seems a problem with the RecipeService class in terms of compatibility with the Recipe class as when I add its type to the ObjectDataProvider in the XAML file, I get an …

Member Avatar for Antenka
0
491
Member Avatar for malashukla

hello to all, i have write a code in asp.net to show and hide the div. according to the value in the query string. here is my code: [code] if (Request.QueryString["divid"] != null) { divid =Request.QueryString["divid"].ToString().Trim(); if (divid == "watercalc") { watercalc.Style["display"] = "block"; pregnancycalc.Style["display"] = "none"; heartbeatcalc.Style["display"] = "none"; …

Member Avatar for croker10
0
210
Member Avatar for Lazarevski

Basically I'm using LINQ to connect to a database(LoginDB) and the table (Korisnici) and see if there are entries in the username and password column that fit the entries of the Login1 Login Control. The Error message is : Cannot implicitly convert type 'string' to 'bool' Cannot implicitly convert type …

Member Avatar for croker10
0
136
Member Avatar for croker10

All: I created two asp.net projects with c# behind. One is an interface with options to create new users etc, the other is a reporting interface. I would like users to be able to click on links from the admin interface and go to the reporting interface. It doesn't really …

Member Avatar for croker10
0
144
Member Avatar for MichaelWClark

We are beginning the design phase for a new training database at my company. We utilize exchange/outlook shared calenders for several things and today the idea of integrating the new training database with one came up. I have done a bit of searching around but really haven't found much info …

0
73
Member Avatar for Nidhi_zeni

Hi, My problem is same but I am generating menus at runtime and trying to set cssclass in code but still I am facing same problem.

Member Avatar for Nidhi_zeni
0
65
Member Avatar for kapilonkar

I want to copy and move the files on remote server and replace the files through FTP (or any other method). But currently whenever I am trying to connect with Management class to the remote server it asks me for user Domain and I am unable to work around. Please …

0
95
Member Avatar for tanvirahmad4914

hi experts i m using ms access data base as back and in my new project, this is my code Imports System.Data.OleDb Public Class st_name Dim cmd As OleDbCommand Dim dr As OleDbDataReader Dim thismode As Integer Private Sub st_name_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load tcon() …

Member Avatar for Oxiegen
0
132
Member Avatar for cmaheshwari16

I just wanted to know the following things if u can just help me. I made a website in Visual Studio 2008 and used the database provided by the VS [I dont know which version is this]. That website runs successfully on the machine having visual studio[As in that i …

0
146
Member Avatar for diazz

System.Web.SessionState.HttpSessionState curSession = HttpContext.Current.Session; if (curSession.IsNewSession) { if (Utils.SessionHandler.IsSessionExpired == curSession.SessionID) { Error oError = new Error(true); Utils.SessionHandler.AES_Error = oError; string strVal = "{\"array_list\":{\"list\":[{\"Source\":'SessionExpired'}]}}"; Response.Write(strVal); } } i am suddenly facing a problem the above is generating an error "{"array_list":{"list":[{"Source":'SessionExpired'}]}}" in my browser when i added watch it showed me …

0
45
Member Avatar for hericles

Hey, I've been working on a product display page that lists product info and images via a repeater control. That all works fine. What I'm doing now is adding some new functionality that uses a link button to send the product code clicked on to the server (via AJAX, to …

0
137
Member Avatar for mulevad

Hello, I am trying to send a text message to my phone in C#. I have added a Web Service Reference to my solution. It is described as: vijju311985 RPC SMS Services You Can Send Sms for free The WSDL is at: [url]http://www.aswinanand.com/sendsms.php?wsdl[/url] I created an account on xmethods.net and …

0
105
Member Avatar for new SE

Hi all, i'm doing a program using c# in creating an insert page.. i want to insert the zip code into the databse and have been validate using validation expression.. [CODE] <asp:TextBox ID="txtCmpZip" runat="server" BorderStyle="Groove" MaxLength="10" Width="74"></asp:TextBox><asp:RequiredFieldValidator ID="CmpZip" runat="server" ErrorMessage="*" ControlToValidate="txtCmpZip"></asp:RequiredFieldValidator> <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RegularExpressionValidator2"></asp:ValidatorCalloutExtender> <asp:RegularExpressionValidator ID="RegularExpressionValidator2" ErrorMessage="Zip code must …

Member Avatar for new SE
0
750
Member Avatar for A.N.JELL

Hi; I need yours help to determined the tools and programs that are basically needed to create 3D building (my university(Jordan University of Science and Technology)). The aim of my graduation project is helps the new students to get to their class through this design after install it on their …

Member Avatar for Momerath
0
59
Member Avatar for Edwin Ramokolo

i having a problem with my website i cannot login via my connection string i get a error say: ================================================================== Login failed for user ";. The user is not associated with a trusted SQL Server connection. Description: An unhandled exception occurred during the execution of the current web request. Please …

Member Avatar for guru_sarkar
0
140
Member Avatar for AngelicOne

I have this code [CODE] protected void loginbutton_Click(object sender, EventArgs e) { Int32 d = checkuser(uid.Text, pwd.Text); if (d == -1) { prompt.Visible = true; prompt.Text = "Unregistered ID. Please make sure that you have a registered account and you have correctly typed in the user ID"; } else if …

Member Avatar for dnanetwork
0
114
Member Avatar for Man44ever

hey i want to change the textbox from the dropdownlist.....whatever item is selected from my dropdownlist i want to display in my textbox......i have used the below code but its not working. and i also want to autogenerate the code for employee code for eg. if employee first name Aaron …

Member Avatar for dnanetwork
0
87
Member Avatar for Man44ever

i want to update the row in gridview but it give me one error Object reference not set to an instance of an object. how to update the current row selected in grid view.......please help! [CODE] public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { …

Member Avatar for dnanetwork
0
131
Member Avatar for Hernan_Icon

Hi Guys! I Need some Help here please: I'm Trying to Make some Improvements on an Existing Site, so I Copied all the Files to a New Directory in the same Path And Started Working On the Files Over there. When I Tried to Access the login.aspx Page, I Get …

Member Avatar for kvprajapati
0
100
Member Avatar for mldardy

I have a dropwdown where I select a name from the dropdown list. This populates a grid view with that record. Once I select that record it will populate a form with textboxes of info for that record. There is a delete button in that form and when I click …

Member Avatar for kvprajapati
0
111
Member Avatar for vinayak.v

Hi everybody.. i've created one SSRS in that i've connected to the database having four fields.. now want i want is to calculate the salary page by page and at the last grand total.. i've kept one extra column in table and kept one running field and made it as …

0
90
Member Avatar for Mattisc

Hello, I have created a filesystemwatch function to check a folder on the C drive for changes to files. I then want to output it to a multiline textbox or a listview but having problesm doing so. I have tried different ways to output it but with out any luck. …

0
89
Member Avatar for PS189

Hi Beginner here... I want to display image thats stored in the SQL Database in a new page for now. I got as far as the code below for displaying image stored in SQL Database. Please advise. I just don't know the step after this. I looked at other examples …

0
70
Member Avatar for JimOneill

I'm totally new to this, as will be evident, and I can't figure out the syntax for what should be the most basic code. I'm just trying to get a piece of data from a SQL database and store it in a variable. From various book and websites, I cobbled …

Member Avatar for jdsurgeon
0
158
Member Avatar for nathmaniedeo

Hi friends, It’s hard to find a clear answer elsewhere- Is JavaScript needed for the client-side in asp.net websites or will C# work totally fine (even without the .net framework installed on the clients machine) ?? Is it better to still use some JavaScript in there? (I'm a newbie, just …

Member Avatar for nathmaniedeo
0
134
Member Avatar for NetHustle

my code is inserting the wrong date into my database my insert statement is: [code=vb] "insert into claims (claim_id, claim_amount, claim_date,claim_desc, emp_id) values (" & CInt(clm_id) & "," CInt(clm_amt) & "," & Date.Today & ", '" & CStr(clm_desc) & "', " & CInt(emp_id) & ")"; [/code] in the table itself …

Member Avatar for kvprajapati
0
70
Member Avatar for queryme

Hi I am Playing audio files from Asp.net c# code. Now I want to restrict the Player to move to next file automatically after every 30 seconds. can any one knows how to restrict audio file to restrict up to 30 seconds. i hve enclosed my files with this Thread. …

Member Avatar for kvprajapati
0
99
Member Avatar for vinayak.v

Good morning everybody... the following code works well in .aspx page that is in web application.. now the same thing i want to do in windows form application.. can anybody help me.. The code is for without saving the pdf file take a print.. it works well in .aspx page …

Member Avatar for kvprajapati
0
181
Member Avatar for MrBlack

Hii i want to learn how to use visual studio toolbox and its inbuilt methods and attributes use to access them with C#. Can anybody give me a link to download an ebook,Plz help

Member Avatar for kvprajapati
0
66
Member Avatar for Lazarevski

I need to build a program which will upload a .txt file to the server, will read it using StreamReader and the populate an existing SQL table with the concent. The first Page (profiles) does exactly that and works perfectly.. It has a text delimiter and splits the text into …

Member Avatar for kvprajapati
0
129
Member Avatar for ranu jain
Member Avatar for MichaelWClark
0
72
Member Avatar for jbisono

Hi all. originally i have this problem [URL="http://www.daniweb.com/forums/thread283467.html"]http://www.daniweb.com/forums/thread283467.html[/URL] everything works good in IE but in firefox if i try to change the dropdownlist attach to the node in the treeview it seems like at the moment i click the dropdownlist a postback is trigger and dropdownlist go back to the …

Member Avatar for jbisono
0
197
Member Avatar for dhvl2712

Can Anyone help me implement a nested comment structure like reddit using ASP? I have a few ideas like using ListView or XML or something, but I'm not sure how. I googled a lot but it wasn't too much help. Is there a way I can implement a reddit-like nested …

Member Avatar for kvprajapati
0
88
Member Avatar for jamal.yaqub

Can I query DHCP server to extract MAC against specific IP? I want to perform this activity in .Net using C#. A quick response would be highly appreciated as I have to complete the task today. Thanks in advance, Jamal

Member Avatar for kvprajapati
0
111
Member Avatar for denmarkstan

i am inserting 5 different things including passport to sql dbs. to my surprised, other items were inserted but the passport cell; what i see was --'binary data'. and the exception says OBJECT CANNOT BE CAST FROM DBNULL TO OTHER TYPES. pls some one should help me out here.

Member Avatar for riteshbest
0
190
Member Avatar for sahar.84niknam

this is a database driven menu,but on mouse out when I pass the parent menu the submenu stays white,I would be glad if anybody could help me this out? :?: [code] <asp:Menu ID="Menu1" DataSourceID="xmlDataSource1" runat="server" DynamicHorizontalOffset="2" Font-Names="Tahoma" ForeColor="#FFFFCC" StaticSubMenuIndent="" StaticDisplayLevels="1" StaticEnableDefaultPopOutImage="False" DynamicEnableDefaultPopOutImage="False" Font-Size="Small"> <DataBindings> <asp:MenuItemBinding DataMember="MenuItem" NavigateUrlField="NavigateUrl" TextField="Text" Value="Value" ToolTipField="ToolTip" …

0
43
Member Avatar for srky

I want advice on which path i choose to do my career well. I have done B.Com. ,While doing B.Com i had Completed the (Advance Diploma in Programming) IT-Software Course.Also I m pursuing Corresponding M.C.A. 3rd Sem now.I m interested in IT-Software Field.I have a 2 years of experience as …

Member Avatar for Elihu5991
0
264
Member Avatar for kained

I have been advised to enable gzip on a website to help improve page speed. I know i need to do this via IIS(i have no htaccess file on this asp.net site) but don't know how to go about it. The procedure must be done on a folder/site level rather …

Member Avatar for arun_cdm
0
96
Member Avatar for newsguy

According to the 2009 Web Application Security Report from NTA Monitor, 90% of all web applications have at least one medium risk vulnerability and 27% have at least one high risk vulnerability. Apparently the most common vulnerabilities are those which involve SQL injection, cross-site scripting and cross-request forgery. One data …

Member Avatar for ashumiloff
2
614
Member Avatar for ricksvoid

Hi everyone, I've created an accordian menu for a web application containing many headings, sub-headings and pages. Everything behaves fine except that it defaults to the top pane everytime a page is clicked. The client has requested that the pane that is being navigated in should remain open and not …

Member Avatar for ashumiloff
0
59
Member Avatar for ranu jain

Hello i want that my client subbmit his query by my site n i can resieve it in my gmail acccount . what should i do for that. thanks

Member Avatar for guru_sarkar
0
106
Member Avatar for d87c

[B]I provided the source code, it basicly retrieves data from a file and read that file store it into a List then outputting it. Below is where I am currently at, and final output, the difference is "Author Name: " and final output is "Author Name: Bruna Martinuzzi" (with respective …

0
54
Member Avatar for vinc_1418

Hi, am having problem for comma delimited files, i wanna read data from different lines and also reading a specific line to display it in a text box or a label!!! anyone can help plz

Member Avatar for MichaelWClark
0
81
Member Avatar for AngelicOne

I have a gridview that is being generated at runtime. When there is no records return, the gridview becomes hidden and it shows empty page which is quite confusing for the user to distinguish whether it's hidden or the page doesn't load successfully. What I need to do is to …

Member Avatar for guru_sarkar
0
92

The End.