why was error Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration' ? you see attach file http://www.mediafire.com/file/jimpgxd88zzfnab/BookShopOnline.rar/file and see file pictures http://www.mediafire.com/view/67di18r0ea4dadg/errorwebconfig.jpg/file

Member Avatar
+0 forum 0

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 Dim lastNumber As String Using (connString) connString.Open() reader = cmd.ExecuteReader() While reader.Read lastNumber = reader.Item("no") End While End Using Response.Write(lastNumber) 2nd snippet Dim connString As New SqlConnection connString.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("sql2008r2_857000_dmcsqlConnectionString").ConnectionString Dim cmd As New SqlCommand("select max(no) from members ", connString) Dim reader As SqlDataReader Dim lastNumber As String Using (connString) …

Member Avatar
+0 forum 0

i dont know if im suppose to post it here or in the C# form, but since im using it in a ASP.NET projet ... i'll write it here. how can i send an SMS from a PC to a phone, and in details please, explaining EVERY step thanks you. and is it free?

Member Avatar
Member Avatar
+0 forum 5

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: Maximum execution time of 30 seconds exceeded in /home/public_html/includes/functions.php on line 135 if(!function_exists('Pagination')){ function Pagination($config=array()){ if($_SESSION['lang']=='L1'){ $firstpage = 'First'; $lastpage = 'Last'; } else{ { $firstpage = 'Trang đầu'; $lastpage = 'Trang cuối'; } } $output = ''; ////FIRST ERROR $rs_maxpage = $config['js_numrows_page']>0?ceil($config['js_numrows_page']/$config['per_page']):0; $eitherside = ($config['showeachside'] * $config['per_page']); $paga = …

Member Avatar
Member Avatar
+0 forum 2

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, but I am not entirely sure how to set up this server for **.NET development**. Does anybody have a clear cut translation of what exactly I am supposed to do to set this server up so that I can deploy to it? I am entirely confused right now because I …

Member Avatar
Member Avatar
+0 forum 3

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.

Member Avatar
Member Avatar
+0 forum 4

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 data $.ajax({ type: "POST", enctype: 'multipart/form-data', //'application/json', url: "/Claims/Application/SaveCurrentFormData", data: data, dataType: 'json', // we're expecting back a json processData: false, contentType: 'application/json', cache: false, timeout: 600000, success: function (result) { for (var formCode in result.forms) { var selector = "[data-formcode='" + formCode + "']"; $(selector + " [name='TicketDocumentId']").val(result.forms[formCode]); } …

Member Avatar
Member Avatar
+0 forum 3

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 code behind decides which parts of the input should be colored and which color should it be, and returns back to the client the input already formatted with color(s). The code behind must be as fast as possible to interfere as less as possible the user input. After the formatted …

Member Avatar
+0 forum 0

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 help me Thanks a lot in advance

Member Avatar
Member Avatar
+0 forum 8

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 .. can someone help me out as the page is under sitecore procree then how i ignore the url .. please advise ..

Member Avatar
+0 forum 0

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 a web page. I have no idea what a dba backup script would look like. Ideally I would place the backup someplace secured, and I can impersonate accounts. I could also use a Quarts .NET cron job, the main hurdle is I don't know anything about DBA tools.

Member Avatar
Member Avatar
+0 forum 12

<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>

Member Avatar
Member Avatar
-1 forum 1

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 called 'delete', inside right click menu. this way user can right click on name, click on delete button. How many I do this? how can i set up context menu or is that just for desktop apps? remember I am makking a website

Member Avatar
Member Avatar
+1 forum 3

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 to connection string and save there. I need simply the code for passing these value to connection string in VB.Net and how save these value there. Thank in advance

Member Avatar
Member Avatar
+0 forum 4

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 does that even if the Calculate button is clicked before the Confirm and also displays again when I reload the page. How can I get this to only display if the session state value of SalesPrice is null? Otherwise, it will redirect to the confirm page. Here is Default.aspx.cs: using …

Member Avatar
+0 forum 0

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 present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. The response had HTTP status code 500. But, If I host the same Web API on the IIS 7 (Windows 7), I do not get the above error. Could someone please help me understand this problem. Why do …

Member Avatar
Member Avatar
+0 forum 1

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 went wrong. Here's my ASPX code; <asp:UpdatePanel ID="upl" runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnSearch" EventName="serverclick" /> <asp:AsyncPostBackTrigger ControlID="GvGrade" /> <asp:PostBackTrigger ControlID="BtnRegister" /> </Triggers> <ContentTemplate> <asp:GridView ID="GvGrade" runat="server" AutoGenerateColumns="false" ClientIDMode="Static"> <Columns> <asp:TemplateField HeaderText="Task ID" HeaderStyle-HorizontalAlign="Center"> <HeaderStyle Width="100" BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <ItemStyle HorizontalAlign="Center" /> <ItemTemplate> <asp:Label ID="lblID" CssClass="lblID" runat="server" Text='<%# Eval("drug_id") %>'></asp:Label> </ItemTemplate> …

Member Avatar
Member Avatar
+0 forum 2

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 one table? Thanks in advance for any answer.

Member Avatar
Member Avatar
+0 forum 6

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 you click logout it will prompt you for a username and password which is right and log you in accordingly, good so far, but then when you go to log out of that user you are not prompted but just reset back to the default local user of the computer …

Member Avatar
Member Avatar
+0 forum 1

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 = cmd; using (DataTable dt = new DataTable()) { sda.Fill(dt); //Build the CSV file data as a Comma separated string. string csv = string.Empty; foreach (DataColumn column in dt.Columns) { //Add the Header row for CSV file. csv += column.ColumnName + ','; } //Add new line. csv += "\r\n"; foreach (DataRow …

Member Avatar
Member Avatar
+0 forum 3

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

Member Avatar
Member Avatar
+0 forum 9

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 tblworkout)* **tblplan** having columns *planid(PK)*, planname **tblworkout **having columns* workoutid(PK)*, workoutname **tblstaff **having columns *staffid(PK)*, staffemail **tbltimeslot** having columns *timeslotid(PK)*, timeslot i came up with something like below but am getting lost with all these. Can anyone help! SELECT a.planname, b.workoutname, c.timeslot, e.date, e.status, d.email from tblclass e inner join …

Member Avatar
Member Avatar
+0 forum 3

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 me on **where **and **how **to write the code behind the delete event of the gridview so that when i select a record, i can keep the primary key in a label and check it in the other table before deleting.

Member Avatar
Member Avatar
+0 forum 1

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 the below code but its not working. Any ideas please? Dim cmd As New SqlCommand Dim query1 As String query1 = "SELECT staffid FROM tblstaff WHERE email='" & Session("trainer") & "'" connect.ConnectionString = Constr connect.Open() cmd = New SqlCommand(query1, connect) Dim rdr As SqlDataReader = cmd.ExecuteReader Dim bFound As Boolean …

Member Avatar
Member Avatar
+0 forum 1

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 does not exists, it is not executing the insert query. Can anyone help please Dim Constr As String = WebConfigurationManager.ConnectionStrings("2k17_Connection").ConnectionString Dim connect As New SqlConnection Dim cmd As New SqlCommand Dim txtcontent As String txtcontent = Me.txtCategory.Text Dim x As Integer Dim query1 As String Dim query2 As String query1 …

Member Avatar
Member Avatar
+0 forum 4

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 can i set my form application like that ?

Member Avatar
Member Avatar
+0 forum 1

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..

Member Avatar
Member Avatar
+0 forum 1

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 from last image inserted to first in page and browsing between every image and another 1 second automatically without using button or scroll suppose i have 4 images in database in table pictures after page open picture 4 display after 1 second picture 3 display after 1 second picture 2 …

Member Avatar
Member Avatar
+0 forum 2

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

Member Avatar
Member Avatar
+0 forum 1

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 ;)

Member Avatar
Member Avatar
+0 forum 7

The End.