12,085 Topics

Member Avatar for
Member Avatar for jean_5

This code gets the data from the table to show in a table for the user using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Collections; using System.Collections.Generic; using System.Text; namespace Form { public class RelUse { public DateTime Date { get; set; } } public RelUse() { …

Member Avatar for djjeavons
0
1K
Member Avatar for Violet_82

hi all, I've got something odd going on here. Basically I created a database table in visual studio 2012, using localDB and saved it OK. Now, I'm trying to amend something in it and when I right click on the table (Overtime) to "Open table definition", it loads for about …

Member Avatar for Violet_82
0
178
Member Avatar for greenpotato

Hi, I'm creating an Events calendar whereby i store event data in an sql database. How do I make it so that when I click on a date in the calendar, it'll display the events details happening on that day in a GridView? I've researched for super long but I …

Member Avatar for greenpotato
0
254
Member Avatar for yoyo30

i hv 3 different user,user selection is based on radiobuttonlist and then login button,but im having error that "use of unassigned local variable 'sql'.I couldnt figure out the mistake.do help me :) protected void btn_Login_Click(object sender, EventArgs e) { string sql; if (btn_user.SelectedItem.Text == "Admin") { sql = "Select * …

Member Avatar for JorgeM
0
409
Member Avatar for Mubeshier
Member Avatar for Blueie

Hello I am aiming to have an aspx file with a TextBox for the user to type in his email. When I leave the field blank, and press 'Submit', I get: "A password reset link has been sent to your email address" Why don't I get the error message: If …

Member Avatar for Blueie
0
221
Member Avatar for Violet_82

hi guys, in one of my .NET applications I need to connect to localDB but the code I wrote originally was for sql express and now it's returning an error understandly. Does anybody know what's the equivalent of this for localDB please? protected void submitData(object sender, EventArgs e) { hookUp …

Member Avatar for Violet_82
0
127
Member Avatar for ASHISH_15

hi i want if the word width increse in TD then all td width fix increased TD and table width also increase with scroll inside div, and also low resolution TD and text Align fix and and table scroll bar show

Member Avatar for kvprajapati
0
99
Member Avatar for Maideen

Hi My scenario is I have on text box with date (dd-MM-yyyy). I am using ajax in this text box. I need this date display into another text box with format yyyyMMdd on click the button Because the invoice no Need the yyyyMMdd-00001 when the user select the date. How …

Member Avatar for kvprajapati
0
1K
Member Avatar for sana.f.qureshi_1

Hey all, so i am working on database queries. Add and delete are working fine. I am having trouble with Edit Query. This is what i am getting: Incorrect syntax near 'Name'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace …

Member Avatar for sana.f.qureshi_1
0
490
Member Avatar for Blueie

Hello I have one field on a Web form for a user to type in his email address. If I leave the field blank and press submit, I get this error: Server Error in '/' Application. -------------------------------------------------------------------------------- System.NullReferenceException: Object reference not set to an instance of an object. The error …

Member Avatar for Blueie
0
805
Member Avatar for djblois

My company is using Legacy ASP with VB script. The code I am testing to try and count the rows in a stored procedure is as follows: If Not isNull(dblOrderMasterID) then Set cmdAttachCount = Server.CreateObject("ADODB.Command") cmdAttachCount.ActiveConnection = cnn 'cmdAttachCount.CommandText = "SP_OrderGetAttchID" 'cmdAttachCount.CommandType = adCmdStoredProc 'prm.Append cmdAttachCount.CreateParameter("@u_order_master_id", adNumeric, adParamInput,,dblOrderMasterID) 'Set rstAttchCount …

Member Avatar for SteveDotNet
0
623
Member Avatar for sameh_1

hello please find and try to help me about this problem> at this file ( Global.asax ) and you can check my website: http://www.almusairiey.com Compiler Error Message: BC30205: End of statement expected. Source Error: Line 16: Line 17: Function GetParentDir() As String Line 18: Dim PD String = Server.MapPath("db\") Line …

Member Avatar for SteveDotNet
0
407
Member Avatar for Maideen

Hi I need to disable the export excel in report viewer in asp.ne I have debugged , shows "Object reference not set to an instance of an object" in this line *"Dim ListRenderingExtensions As System.Reflection.MethodInfo = m_previewService.FieldType.GetMethod("ListRenderingExtensions", Flags)"* pls help me maideen Protected Sub DisableFormat(ByRef viewer As ReportViewer, ByVal formatName …

Member Avatar for SteveDotNet
0
345
Member Avatar for Blueie

Hello I am getting a bit mixed up with my code: Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click Dim validFileTypes As String() = {"bmp", "gif", "png", "jpg", "jpeg", "doc", "docx", "txt", "xls"} Dim ext As String = System.IO.Path.GetExtension(FileUpload1.PostedFile.FileName) Dim isValidFile As Boolean = False For …

Member Avatar for Blueie
0
130
Member Avatar for Violet_82

HI guys, I'm having a problem with hiding and showing a panel that contains a text box. Basically the panel is hidden and whenever a radio box is selected the panel should show but it won't work. Here is the code: <div class="expensesForm"> <div class="control-group"> <label class="control-label" for="rent">Rent</label> <div class="controls"> …

Member Avatar for Violet_82
0
2K
Member Avatar for Violet_82

Hi all, I just came across something odd. I'm just building a simple form, like this in visual studio <div class="control-group"> <label class="control-label" for="rent">Rent</label> <div class="controls"> <asp:RadioButton ID="rent" runat="server" GroupName="expenses" /> </div> </div> and when I viewed it, I expected to be able to click on the label and get …

Member Avatar for Violet_82
0
4K
Member Avatar for arpitsharma

This is my code <tr > <td rowspan="3" colspan="3"> <div style="float:left;"> <img src="images/law.png" style="height: 132px; width: 95px" alt="logo"/>&nbsp; </div> <div style="margin-top:40px; width: 100%; font-size:11px;"> <b> DISTRICT &amp; SESSIONS COURT, SIKAR (RAJ.)<br /> &nbsp;<br /> Name of Exam : Low division clerk</b> </div></td> <td colspan="2" > &nbsp;&nbsp;&nbsp;&nbsp; Center&nbsp;&nbsp; <b>JAIPUR</b> </td> <td …

Member Avatar for JorgeM
0
123
Member Avatar for Blueie

Hello I am testing a couple of the form fields that I have here: [Click Here](http://www.bayingwolf.com/changePassword.jpg) If I type in an invented password under 'Old password', invent a password under 'New password', and then, under 'Confirm password', I type in a wrong password, I get the following error when I …

0
100
Member Avatar for maria_mj

I have problem to copy data from one table to another table in SQL database. I am develop the system using C#.Net. I have searching about it from internet, but it not works. I have two table: 1) Project_Pipeline (company_name, project_name, project_revenue, gross_profit, category_pipeline, status_pipeline, bde_name, deadline, remark, pipeline_id) 2)Proposal_listing …

Member Avatar for wria12
0
6K
Member Avatar for Violet_82

Hi guys, does anybody have any experience with Azure at all? I finally deployed a test site I built http://web-dev.azurewebsites.net/About.aspx and unfortunately there seems to be a problem when you submit the form (obviously I tested the form many times before deploying the site and it was definitely working in …

Member Avatar for Violet_82
0
279
Member Avatar for strRusty_gal

Hi everyone, Thanks for visiting this thread. I have recently migrating my MSSQL database from one server to another server by copying the database. The database that I copied contains the ASPNET membership and other related tables. My asp.net web application is currently pointing to the new created MSSQL database …

0
70
Member Avatar for ikocrush

I have two GridView(SalesGView and ProdGView). SalesGView contains dropdowlist and textboxes.ProdGView is wrapped with ModalPopup and is populated by dropdownlist selection from ProdGView. The issue is when i click button select on ProdGView, the dropdownlist in the SalesGView resets to default value (Electronics) instead of selected value. ![8be5f775389c07cf2e69523f9a9acc02](/attachments/large/4/8be5f775389c07cf2e69523f9a9acc02.gif "8be5f775389c07cf2e69523f9a9acc02") ![e18fcc134ee66aba638d8b21471b6a61](/attachments/large/4/e18fcc134ee66aba638d8b21471b6a61.gif …

Member Avatar for Richard Mon
0
521
Member Avatar for Blueie

Hello I have some hash and salt code I intend to try out (not used it before) but I am not sure of a couple of things. I have a new user aspx Register form page and a Log-in form. Do I use the hash and salt code on both …

Member Avatar for Blueie
0
288
Member Avatar for Violet_82

Hi all, just to practice a bit more with asp.net and c#, I was thinking to build a small application to keep an eye at my monthly and yearly expenses (rent, car, bills, food shopping). I have a few ideas but I thought I'd check with you guys what's the …

Member Avatar for Violet_82
0
239
Member Avatar for ikocrush

My case is similar to the question asked on this thread - http://stackoverflow.com/questions/23720343/asp-net-change-value-of-textbox-in-grid-on-selected-index-changed?rq=1 In my case i have two gridviews. gridview1 adds row dynamically using button click. i want when i select the dropdownlist in gridview1, it should display a new gridview(gridview2) with record join from different table using sql …

Member Avatar for faheemsial
0
2K
Member Avatar for KushMishra

Hello All, I am just a newbie trying to explore areas into game developement using .Net (may be XNA studio) though I am not familier with the same. Could you please suggest some tutorials, ebooks for this so that I can start as a beginner and then later on, may …

Member Avatar for janissantony
0
250
Member Avatar for azeem87

i have an issue. actually i have cut down an image into pieces and after changing colors of the pieces i save them on server now i assemble these pieces on web page to make full image now i want to save full image on server. how can i do …

0
45
Member Avatar for rb.dhoriya

hello... i'm creating a web application in asp.net in which i would like to give user a one "JavaScript" code, through which the user can get content from my website to his/her own website. i've used one generic handler to process user request in my website. i've tried using jQuery.. …

Member Avatar for rb.dhoriya
0
3K
Member Avatar for Blueie

Hello I am getting the following error in my Manage.aspx file: 'GetUserName' is not a member of 'System.Security.Principal.IIdentity'. I had not opened that file previously, so I can only think that changes I have made - or NuGent Package Manager has changed when I installed Microsoft.AspNet.Identity.Core 2.1.0 - have impacted …

Member Avatar for Blueie
0
152

The End.