1,828 Topics
![]() | |
getting conversion error I am creating a website using a VB Error: if I print getID1 Conversion from string to type 'Integer' is not valid. Error: if I print getID2 NullReferenceException was unhandled by user code. Object reference not set to an instance of an object. ** # .aspx file … | |
I am making a website using vb .net I have a datalist which has a datatable and delete button. the output llooks some thing like this below. 'X' is the delete button. --------------------- | X name1 | X name3 | | X name2 | X name4 | --------------------- When user … | |
How to create a datalist table layout in vb? I am using vb .net I have a following data: DataBase: databaseName Table : tableName -------------------- | ID | randomNames | -------------------- | 1 | name1 | | 2 | name2 | | 3 | name3 | | 4 | name4 … | |
How to create a datalist table layout in vb? I am using vb .net I have a following data: DataBase: databaseName Table : tableName -------------------- | ID | randomNames | -------------------- | 1 | name1 | | 2 | name2 | | 3 | name3 | | 4 | name4 … | |
![]() | Hi all, This is a very elementary question, but I'm a couple of days into this. Which web.config file should one store keys in? Keys to use within a Model/Controller? I see four different ones: Project > Views > Web.config Project > Web.config Project > Web.config > Web.Debug.config Project > … ![]() |
 Please take a look at the attached image first. I would like to recreate this. I am using VB and bootstrap. Code: <div id="body_wrapper"> <div id="theCarousel" class="carousel slide" data-ride="carousel"> <!-- Text --> <div class="carousel-inner"> <div class="item active"> <div class="slide1"></div> <div class="carousel-caption"> <h1>my picture 1</h1> </div> </div> </div> <div … | |
How would you explain JavaScript closures to someone with a knowledge of the concepts that make up them (for example, functions, variables and the like), but does not understand closures themselves? I have seen the Scheme example given on Stack Overflow, unfortunatly it did not help. | |
Hello everyone has in the past this site has been helpfull for any kind of project that i´ve done well, now it´s time for make some charges for the time that i been spending on those projects but i don´t know how, please ¿can you help me to make a … | |
I am using VB. How to select mult iteams in listbox using backend code? I have a listbox where user can select muti items. <asp:ListBox ID="lb" SelectionMode="multiple" runat="server" DataValueField="dv"> <asp:ListItem>red r</asp:ListItem> <asp:ListItem>blue b</asp:ListItem> <asp:ListItem>green g</asp:ListItem> </asp:ListBox> How can I set so the value of "blue b" and "green g" is … | |
Hello everyone please i need your opinion about a creation of a dashboard that can be seen on a webapplication i´ve trying with the controls of DEVEXPRESS but without success, if anyone knows a better way to achieve this kind of task please let me know another thing......all controls it … | |
My requirement is as simple as the title. I want to create new webform on button click event. When user click the button It will create a new webform with masterpage and c# code file. Yeah it should create a new webform unlike open a new webform. | |
![]() | Hi, I am having a Timer control like this: [CODE]asp:Timer ID="Timer1" runat="server" Enabled="False" Interval="1000" OnTick="Timer1_Tick"> </asp:Timer>[/CODE] In an UppdatePanel with AJAX enabled. So everything works fine to the point where on each refresh of the panel a JS is inserted in the header: [CODE]<script type="text/javascript">Sys.Application.add_init(function() { $create(Sys.UI._Timer, {"enabled":true,"interval":1000,"uniqueID":"Timer1"}, null, null, … |
I have an input field which is showing vulnerable in security scan using XSS attack as: STYLE="xss:e/**/xpression(try{a=firstTime}catch(e){firstTime=1;alert(969)});" Could you please suggest how can we prevent from vulnerability like this ? Field: <input id="{ControlItemUniqueID}Data" style="width:150px" name="{ControlItemUniqueName}" type="hidden" {MaxLength}{IsEnabled} {IsReadOnly} class="datatext {CssClass}" value="{Data}" onkeypress="sanitizeEmployeeDateData()" onmouseover="sanitizeEmployeeDateData()" onblur="sanitizeEmployeeDateData()> <script> function sanitizeEmployeeDateData() { var EmployeeDate … | |
Hi. How can i populate asp:treeview only child populate with database query like "select databasename from databse where user_id="45" " and show these database in child treeview.Here is image [image]( tinypic.com/view.php?pic=15cyaew&s=9) I want "Database" remain same and blow child "Database Name",,only 1st 3 records replace with "Database Name" shown just,Kindly … | |
how can i generate and download database report using itextsharp Public Class GenerateCMR Public Function Generate(CMRGUID As String) As Panel Dim panel1 As New Panel Dim cmrb As New CMR cmrb = cmrb.GetCMR(CMRGUID.ToString) Dim dvtitle As New HtmlGenericControl("div") dvtitle.InnerHtml = "<h1>Compliance Monitoring Report (CMR)</h1><div style='text-align:center; font-size:20pt; font-weight:bold;'><u>" + cmrb.ProponentName.ToString.ToUpper + … | |
Im doing a appointment booking site for a project And Im trying to disable radio button(s) if the sql statement returns true. Example: User selects a date from asp calendar and a timeslot is in the form of radio button I wanted that the count of radiobutton selection should be … | |
hi guys. i badly need help with a project am new to asp.net and i have to develope a website using visual studio express for web. i have no idea where to start from after installing the IDE. i need some advice and recommendation.. please help. thank you. | |
Hi everyone thanks for your patience as I try to explain what I"m dealing with here. I"ve been following this series of video tutorials on youtube on making a dynamic website. I believe the tutorials were based on linux cause soon as I hit the one on url renames the … | |
There is a null reference exception occurred in MVC 4 application as below [click here to view exception](http://i.stack.imgur.com/ypBet.png) but values are came to the variable. there for no point to happen null reference exception. why is that. good luck :) | |
How to construct online reservation computer system | |
I have a page on which a full page report is generated inside HTML table. What are the options/tips available in order to share, print, email or 'download as PDF' this report using javascript or serverside classic ASP ?? | |
how to add css class to asp tags | |
Hello All; I usually do everything in SQL Server these days, however, I have an site that is just so small, that it is going to be using an Access database. This is the code that I am using to generate the Google Sitemap with, however, there is code here … | |
Good afternoon everyone! I'm running into a small snag and it could just be because it's late and I'm not thinking clearly. I have an ASP Panel that is an alert box. The panel's initial visible property is set to false and should only be set to true when specific … | |
So, I've some free time in December and want to make a web-app that lets people login, put books they've read, review the books they've read etc. But, I'm not sure how and where to start? What Languages/Frameworks to use? Any help would be appreciated. Thanks! ![]() | |
Can anyone please let me know how can I get the difference between two dates? Is there any function in c#? I've one more question can I check for value of the textbox like if value should be atleast 500 or more?? I want to use custom validators in c#. | |
I use a Shield UI Chart for displaying some forex data. I do need to gradually add data to the chart in other dynamically add points. However according to the documentation, there isn’t the possibility for dynamically adding of points, at least I can’t see such method, something like: AddPoint … | |
Hi all I'm new to s/w development as well as .NET .Plz provide me with guidelines for my project.The salient features are: 1.) It's an online live MCQ exam project using ASP.NET with sql connectivity. 2.) we want it to be able to test 50-60 students simultaneously providing on the … | |
Hi, thanks for viewing this thread. How to call MVC controller action method from ASP.NET webform and pass few parameter to the MVC? I have found this solution: http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET and would like to know whether is there any other ways to do it. Just like to explore other solutions. | |
How can a table be updated in HTML with Dreamweaver using ASP on a dropdown functionality? I can only have the table bring in a table with the pageID of 1 and will not change when dropdown changes. How do I start the programming of getting every record with a … | |
Hi, I'm a web developer for a small company, I had programmed using ASP about six years ago, thus my skills are very rusty at the moment...recently, my boss had asked me to export the database information from the ASP pages to an Microsoft Excel file, allowing the users to … | |
hello everyone, i have a little problem in ASP with my friend's master project, there is a database which saved images paths in it; when she want to preview an image in an image control the path is readed correctly (she previewed the path in a textbox to check) but … | |
I have 1 gridview with big table...colums:k,mi,ib and 3 textbox...texbox1 is first column,textbox2 is second and textbox3 is third! I want when i type some number in textbox1(That number is K),i want to textbox2 and textbox3 give me value of mi and ib in same row as k...but i got … | |
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 … | |
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 … | |
<?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 … | |
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());} | |
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. … ![]() | |
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 … | |
Hi.. plz.. suggest me online mini project topic based on ASP language.....I am very confuse...plz help me... | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
Any idea of a script that convert excel to asp? thanks | |
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 … | |
I'm trying to create an ASP .NET MVC WebSite that allows the user to enter the website without providing any additional information or by specifying an id or a name. Is this possible? How? I've tried the following method but it's not working public void Index() { //... ProcessClient(); } … | |
Hi , can you please help me with an advice. I have a problem with treeview. I want to show in a treeview folders but just some of them. I have several layers of folders. For example Root | =subfolder 1 | = subsubfolder1 | =subsubsubFolder1 | =subsubsubFolder2 | = … |
The End.