12,085 Topics
|
|
Hi here is code snippet used temprarily on button to debug. This works but i wish to use the 2nd snippet. 1st snippet Dim connString As New SqlConnection connString.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("sql2008r2_857000_dmcsqlConnectionString").ConnectionString Dim cmd As New SqlCommand("select TOP 1 no from members ORDER BY no DESC", connString) Dim reader As SqlDataReader … |
|
hi all i have recently purchased a script and im attempting to fix it would anyone know how to solve these 2 errors which appear to be coming from this function [09-Jun-2018 12:40:57 UTC] PHP Warning: Division by zero in /home/public_html/includes/functions.php on line 126 [09-Jun-2018 12:41:19 UTC] PHP Fatal error: … |
|
Ok, So I have an instance of **Windows Server 2012 R2** installed to a virtual machine on my local development PC with **IIS** . The idea being I need to practice and learn about how to deploy sites to web servers. I have tinkered around with some of the settings, … |
|
For example, you can order dishes on handheld devices that run on your Iphone, Androi, winphone, restaurant, coffee shop, and so on. Any programming language that runs on the above devices, for example simple you have to share yourself with. |
|
I am currently experiencing something strange with one of my routes' responses and haven't been able to find any information elsewhere. So, let's say I make a call to a route in my controller with JQuery, like this. It's a POST action and I expect JSON data. // Send the … |
|
Here I present a WebSite containing just Default.aspx. Current snippet code has to do with coloring text in an input field of a web page. The input field is an editable DIV HTML element. While the user writes, there is a partial post (an XMLHttpRequest) to the server. Then the … |
|
Hi, i was working on a code for a vending machine and i do consider myself to be a beginner, anyway i feel my code is much longer than it needs to be and i want someone to show me a new, shorter way of presenting it. import time print … |
|
I Have three form Home.aspx and Login.aspx Details.aspx on home.aspx i have two iframe in iframe one i open login.aspx in Login.aspx i have a button btnChangePage now i want to assign src property of second iframe dynamically ( src="details.aspx" ) on btnChangePage_Click Please if u have any suggetions please … |
|
Am a noob to sitecore and learning it .. i have created a webpage from the content editor in sitecore also has paralel webpage in asp.net c# but when i navigate it says document not found !!.. And pops as to check the appropriate prefix added IgnoreUrlPrefixes in webconfig .. … |
|
Is it possible to make a web page that takes up responsibility for backing up a web applications tables(Oracle DB, and perhaps SQL server I am trying to be multi db supportive)? Essentially I want to create a database backup script that is kicked off by pressing a button on … |
|
<pre> hi every one I am working on vs 2012 and mvc 4 ,just small project , i need to apply theme( http://all-free-download.com/free-website-templates/download/magic_city_template_2087.html ) and remove default one ,can any one help me how to do this ?? </pre> |
|
I makeing a website using VB .net inside visual studio. I have a database where I am storeing names. Than I am displaying these names inside a table. here is a ex: ---------------- | dave | bob | | john | bill | ---------------- I was to add a button … |
|
Hi every one . i need code for how i set the connection i.e when i execute the project .exe it show me a form in which there is Database name , Server name , User name and Password . And after clicking the OK button it pass these value … |
|
Hello Everyone, I am building multi-web application pages using the Default.aspx, Default.aspx.cs and Confirm.aspx and Confirm.aspx.cs. The problem that I am having is that when I click "Confirm" before clicking "Calculate," the event handler displays the "Click the Calculate button before the confirm" at the bottom of the page. It … |
|
I have a ASP.net Web API, that I am trying to host on IIS 10 (Windows 10 Pro). If I access this Web API form Angular 2 app, I get the following error XMLHttpRequest cannot load http://172.26.50.17:8085/api/library. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is … |
|
Hello everyone! Basically a user is able to select one or multiple rows using checkboxes in a GridView and then a delete button which deletes selected rows. The problem is, the code behind for deleting works until I started using UpdatePanel. It just broke and I have no idea what … |
|
I have a table with nutrient data(in Dutch) it looks like this ![Nutrient_table.png](/attachments/small/1/ea03b9085fe045894414a3101f2d6b4b.png "align-left") My DB design skills are very low, I only know Mr. Codd is lurking 'round the corner somwhere. Could anyone give me some hints on how to set up my tables or should I just usr … |
|
I haver an IIS server with an mvc 5 app im developing and i have had no luck so far getting the windows authentication working with my app, i have it set to windows authenication but the app will only auto login users when accessed from the server. Then once … |
|
using (MySqlCommand cmd = new MySqlCommand("SELECT EmpId, Emp_Name, Salary , Start_date , End_date , CASE WHEN (Employees.End_Date is null) THEN DATEDIFF(DATE_ADD(Start_Date, INTERVAL 30 DAY), Start_Date) * Salary/30 ELSE DATEDIFF(End_Date, Start_Date) * Salary/30 END AS Total_Salary From Employees;")) { using (MySqlDataAdapter sda = new MySqlDataAdapter()) { cmd.Connection = con; sda.SelectCommand = … |
|
it means if user insert "n"(number of case) in textbox than click the "Next" button, in datagridview set to "n" number of rows. i don't know what code i use, please help me, please check attach file, thank you so much |
|
Hi Everyone, I started creating a new WPF project wherein, I have just added a style to all the elements of type "Window" and "Grid" but none of these are working (rather a wierd black box is apprearing - Screenshot attached). **NOTE:** I do not want to use "x:Key" for … |
|
Hello experts, I have to write a sql joining 6 tables. to retrieve classid, planname, workoutname,date,timeslot,status,staffemail and display them to a gridview. the tables are as below **tblclass** having columns *classid(PK)*, planallocationid*(FK to tblallocation)*, date, timeslotid*(FK to tbltimeslot),*status, staffid*(FK to tblstaff)* **tblallocation** having columns *planallocation(PK)*, planid*(FK to tblplan)*, workoutid*(FK to … |
|
Hi i have a gridview displaying data at page load and i added a column delete. i have the primary key of the table displayed in the gridview as foreignkey in another table. so i cannot use wizard to just type my SQL in delete command. Can someone please help … |
|
Hi guys, i have a login page where i created a session trainer after login. the session is the mail address of the trainer. now from another apsx page, i would like to retrieve the staffid of the user logged in using the session as criteria. I tried to write … |
|
Hello , i kinda need some help here. The below code is to check if a category already exists before adding it to the table category. If ever i insert a category that already exists, if gives me the message that it already exists. The thing is that if it … |
|
Helo there! I have a single form application and i want to do if click the application then its will save on a custom path which i want. And don't want to make install applicaiotn which will ask next next etc. Directly from app will save in a custom path. … |
|
How to set value from code to an asp.net TextBox with TextMode=Time? i want to set current time to textbox of textMode=time.. |
|
I work in MVC 5 c# in visual studio 2015 web applications I have table pictures in SQL server 2012 have two fields ID Image ID have number of image inserted like 1,2,3,4,5 Image field store picture added what i need actually browsing images found in table pictures in database … |
|
Hello, I have requirement to read MS Word file data using DevExp and then loop through the content and save content to DB. how can I do it with DevExp? Thanks, KK |
|
hi! ;) I just want to asked on how I can set the image as background. I put an image on the working station but once I run it, it doesn't appear on the browser. thanks. I'm using Visual Studio 2008 ;) |
The End.