5,691 Topics

Member Avatar for
Member Avatar for batoolhussain

hi everyone. I have question, I have project I write in vb.net 2010, I want to translate this code to asp.net with vb but I don't know how and I try to learn the asp.net but my project is about image and the books that try to learn it talk …

0
74
Member Avatar for devils_knot

I'm having trouble with my pagination using grid view if the datasource is in Page_Load event. But when I manually use the GridView -> choose datasource in its property, I don't have any problem with the pagination. I'm using the Page_Load event because there are some parameters. Please help and …

Member Avatar for JerrimePatient
0
291
Member Avatar for Dipanjana

Hi . I have an employee table with fields Employee Id, Employee Name, Address,Salary , Department ID and department table with fields DeptID,DeptName. I have added a data grid control with the columns showing Empname , address , salary,DeptName and Edit and Delete columns . I have inserted image using …

Member Avatar for AleMonteiro
1
1K
Member Avatar for overwraith

So I am having trouble connecting to an Oracle XE 11g database in visual studio. The Ultimate aim here is to make a webpage I can run on my local machine and send sql to on my local net. From looking around it seems other people have had this problem, …

Member Avatar for DaveAmour
0
232
Member Avatar for phoenix254

Hi, i want to change format of date . This code i add in my register page.... if(!empty($_POST['dob'])&& !empty($_POST['mob'])&& !empty($_POST['yob'])) { $yob = mysqli_real_escape_string($con,$_POST['yob']); $mob = mysqli_real_escape_string($con,$_POST['mob']); $dob= mysqli_real_escape_string($con,$_POST['dob']); $date = mysqli_real_escape_string($con,"$yob-$mob-$mob"); $addtothedb="INSERT INTO login (Dateofbirth) VALUES ('". $date . "')"; $result=mysqli_query($con,$addtothedb); and when i get back data from db …

Member Avatar for cereal
0
420
Member Avatar for Heanre

I am just learning Aspx using Visual Studio Community 2013 today. While i was able to make the debugging process faster for 5 seconds,still, i had to close the current tab of the website, then hit debug or start without debugging again. Is there a way that if i make …

Member Avatar for pritaeas
0
146
Member Avatar for phoenix254

<?php $con=mysqli_connect("localhost","root","","uplod"); if (mysqli_connect_error()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } else{ echo work $sql ="UPDATE tea SET name = ' 8req' WHERE id = '3 ' "or die ("cant update" . mysql_error()); if($sql) echo"working"; } ?> Who can tell me which is error is the …

Member Avatar for phoenix254
0
225
Member Avatar for phoenix254

if ($count == 1){ $suc= move_uploaded_file($file_tmp, $destin.$file_name); echo"<br/>"; $query = mysqli_query($con,"INSERT INTO login ( profile_img) VALUES ('$file_name') WHERE useremail='".$_SESSION["sess_useremail"]."'") or die("can t still upload ".mysql_error());}

Member Avatar for pritaeas
0
179
Member Avatar for vinod.p
Member Avatar for JorgeM
0
71
Member Avatar for christos312

Hello to everyone. First of all let me say that I know that there are TONS of threads with the same subject. BUT the other threads are dealing with PHP vs ASP question in general and I have a specific question. :) So, I have to choose between PHP and …

Member Avatar for DaveAmour
0
812
Member Avatar for nimz143

Hello all ! Good evening :) I'm a newbie on learning about .NET framework. I want to ask, if anyone can help by to show or guide me how to create a simple web application using VB.NET language and also involve a database part. In other word, I want to …

Member Avatar for nimz143
0
389
Member Avatar for Techarena

Need ASP.Net program code to develop a standard deviation calculator. Input should be obtained as comma separated and output should be gained in separate boxes as in [standard deviation calculator](https://www.easycalculation.com/statistics/standard-deviation.php.) along with a graph. Kindly help me with it. Thanks in advance.

Member Avatar for djjeavons
0
59
Member Avatar for anithasalavadi

Hi all, <a href= "filename.xls" target="_blank">Open Excel</a>; by using above line of code i can able to open the excel file as separate file. But i want to open that excel file with in the same asp.net web page not separately.

Member Avatar for Makara
0
5K
Member Avatar for Maideen

Hi I have an issue in report viewer Printing Paper size is Width:21 cm and Height:13.5 cm. If I try to set in report property using custom size, it will automatically changed to Landscape. But Paper (computer form) in Portrait. Pls Help me how to set paper size Thank you …

0
79
Member Avatar for divyakrishnan

Hi, I want to get current position of cursor in a text box using asp.net. Its very urgent for me. any one can help me?

Member Avatar for Amita Negi
0
164
Member Avatar for fabregas42

Asp.net c# xml RSS to sql insert. An error occurred while parsing EntityName. Line 36, position 58. Help XmlDocument ReadInDocument = new XmlDocument(); ReadInDocument.XmlResolver = null; ReadInDocument.Load("XML ADRES"); foreach(XmlNode node in ReadInDocument.SelectNodes(".//rss/channel/item")) { İNSERT SQL CODE }

Member Avatar for fabregas42
0
849
Member Avatar for jamie518
Member Avatar for sachin.sonawane3

write a program to display a square root and cube of 1 to 10 number in a website using asp.net

Member Avatar for faheemsial
0
82
Member Avatar for samyakonline

ASP is a rigid language and it has tighter error checking tool than PHP has; its syntax is designed over VB. On the other side, PHP has wider range of in-built functions with better flexibility; its syntax is gained from C++. PHP is much friendlier than ASP. Which language has …

Member Avatar for JorgeM
0
133
Member Avatar for KhuramJan

I am using Visual Studio 2012 Ultimate , MySql Database , MySQL ODBC 5.1 Driver I have created a user DSN from Administrative tool in Control Panel (same on both my development PC and Server computer i-e Windows Server 2008) I have deployed web application from my PC to Server …

Member Avatar for KhuramJan
0
607
Member Avatar for coder91

Hi, trying to get the username of the user logged into a computer but it doesn't appear to be working. I was using `Label1.Text = User.Identity.Name;` to check if it did work but it wasn't displaying anything. The only reason I need the username is to send it through to …

Member Avatar for JorgeM
0
166
Member Avatar for ken_6

I'm trying to do is send a temp password to the user email. It works fine but I just want to add images inside the message seems like it showing n/a image. My directory are correct, I even try using a URL image but still wont work. Please help here. …

Member Avatar for havok
0
200
Member Avatar for ken_6

Hello I trying to get the email address from the database and input it to the asp code or html. I was able to read the email address from the database but not able to store the value. How can I store the value? Response.Write bs("email_addr") its reading from the …

Member Avatar for hericles
0
140
Member Avatar for robertlaar
Member Avatar for alpa shah

Hi.. plz.. suggest me online mini project topic based on ASP language.....I am very confuse...plz help me...

Member Avatar for rohit.gurjar.7798
0
799
Member Avatar for pritaeas

I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't see the forest through the trees apparently, because I cannot seem to find one.

Member Avatar for pritaeas
0
1K
Member Avatar for davidjennings

Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have …

Member Avatar for MaxMir
0
603
Member Avatar for aseel.jaradat.9

what is the best way to save data from multiple checkboxes ?? if i have 50 , 60 checkboxes Is it reasonable to set up a column of 50 or 60 checkboxes for ٍsaving value for each question separately ? and presumably there are questions that have not responded what …

Member Avatar for Taywin
0
258
Member Avatar for ritesh0104

there is a report which am presenting to my web users in an HTML formatted table. i have been using ABCPDF component for exporting this report to pdf. BUT after an update that component work s irregulary. Please suggest any other simple solution for this, i tried referring all method …

Member Avatar for khong.coai.526
0
372
Member Avatar for bskapoor11407

I am trying to bind the another dropdown list on selected item of dropdown 1. Please give me code, if some one has. **Dropwdown 1:** <select id="lst_consultantcontact" name="lst_consultantcontact" onchange="GetConsultantContactInfo()" > <option >.....</option> </select> ** Javascript Code:** <script language="javascript"> function GetConsultantContactInfo() { var ConsultantId = document.getElementById('lst_consultantcontact').options[document.getElementById('lst_consultantcontact').selectedIndex].value; var hiddenfield = document.getElementById('hidden1'); hiddenfield.value …

Member Avatar for khong.coai.526
0
1K
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 Ryujin

Suddenly (after no known changes to the page) i see it failing to load in a couple browsers, both of them ones that previously loaded it w/o problems! http://www.kutztown.edu/library/indexoc.asp **Problematic browsers:** || **No problems:** Chrome Canary 41 on a PC || IE 10 on same PC Stock browser on an …

Member Avatar for pritaeas
0
165
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
293
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
47
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 iwanttolearnc

is it possible for me to use user-uploaded data ,such as tab delimited data in a text file, only in memory? this is because i dont want to save the files in the server.

Member Avatar for pintukennady31
0
125
Member Avatar for razstec
Member Avatar for Violet_82

Hello guys, I'd like to clarify a few things with IDs and classes. As I've learned so far, ASP.NET adds its own id and overwrite the previous one, if there was any. Let's just take a recent example, the panel I added in my previous thread: <asp:Panel ID="ThankYouPanel" runat="server"> <div …

Member Avatar for Violet_82
0
235
Member Avatar for tarunap
Member Avatar for diafol
0
89
Member Avatar for MaddTechwf

Long story short, I inherited an ASP project. I recently was subject to an SQL injection attack. I'm trying to update the search field that allowed the sql attack. I'm no ASP guru at all and would really appreciate any help anyone can give me on how to check the …

Member Avatar for pritaeas
0
125
Member Avatar for jasmine.koh.562

Imports System.Data.OleDb Imports System.Data Imports System.Web Imports System.Web.UI Partial Class _TakeSurvey Inherits System.Web.UI.Page Dim sid, query1, query2, query3, query4, query5, query6, qnos, currentQ, q_type, filledby, qid, status1 As String Dim dbcon As String = "Provider=Microsoft.Jet.OleDb.4.0;" & _ "Data Source=|DataDirectory|SurveyDatabase.mdb" Dim con, conn, conn1, conn2 As OleDbConnection Dim da, da1, da2, …

Member Avatar for xrjf
0
154
Member Avatar for karpagamviji
Member Avatar for Sumith Asanka

Hi Guys I have a GridView inside a tabcontainer with some bound data fields , i have set Autogeneratecolumns=false; ShowHeaderwnenempty=true; But i can't see header or grid anymore when run but it is visible on design mode, but if i manualy bind it gridview.datasource=dataset; gridview.databind(); it is showing header and …

0
128
Member Avatar for Violet_82

Hi all, I was just wondering, how do I go about making an asp.net application accessible on the internet? The application is also linked to a SQL database (created in visual studio). I have got server space available but I'm not sure where the sql database needs to be copied …

Member Avatar for JorgeM
0
683
Member Avatar for jeripotula

Hello. as I am new to coding , I couldnt understand how to create a login page without registration and without a database in ASP.NET & C#.net. i would like to write the code for only 1 user and the username and password must be in the code not in …

Member Avatar for glennferrie
0
576
Member Avatar for sana.f.qureshi_1

hello good people, i have created atab control and added a gridview in it. When i run it this is how it shows: ![42e98ae1ab28208a1d5964503f00cecd](/attachments/large/4/42e98ae1ab28208a1d5964503f00cecd.png "42e98ae1ab28208a1d5964503f00cecd") i have tried adjusting the heights and widths of both but tono avail. here is my code: <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="421px" style="z-index: 1; left: …

Member Avatar for sana.f.qureshi_1
0
582
Member Avatar for MaheshChaterjee
Member Avatar for Phanindra Reddy

I am trying to find a solution for the title of the question, Which conditional statement executes faster in classic asp.I have searched a lot in google, everywhere I found that, their speed of execution is almost same with a very small difference. If the difference is that much small, …

0
79
Member Avatar for thilinam

hi Everybody I have added a button control to my page. when I start debugging an error message says "CS1061: 'ASP.default_aspx' does not contain a definition for 'btnLogin_Click' and no extension method 'btnLogin_Click' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or …

Member Avatar for mtyide
0
1K
Member Avatar for Violet_82

Hello all, I'm trying to change the innerHtml of a div in the code behind and noticed an interesting thing. If I have this situation: aspx file: <div id="displayPanel" runat="server"> </div> C# while(reader.Read()){ ... displayPanel.InnerHtml += "<span>"+ name + " has donated £ " + donation + "</span>"; } everything …

Member Avatar for mtyide
0
3K

The End.