[Solved] Can I bypass this http login form and get to the index page without the username and password? [closed]

It’s better to reset the router. The only way you could look at the password was if you had backed up the router’s configuration in a text file. What’s in the router anyway that you are so fearful of resetting it? Wouldn’t start World War III now would it? 😉 5 solved Can I bypass … Read more

[Solved] c# Devexpress datagridview to gridcontrol. manualy

You should use the following code to make the ASPxGridView show data from this table: if (connection.State == ConnectionState.Closed) { connection.Open(); SqlCommand cmd = new SqlCommand(“Select * From YazHata order by HataAdi ASC”, connection); SqlDataAdapter da = new SqlDataAdapter(cmd); DataTable dt = new DataTable(); da.Fill(dt); ASPxGridView1.DataSource = dt; // <<<< ASPxGridView1.DataBind(); //<<<<< da.Dispose(); connection.Close(); } … Read more

[Solved] Upload an excel File to Database

Hi here i am using this to import from Excel File.Try this.Works 100%… Here you should have a folder inside your application named as “Files” where after uploading your excel file,it will be stored and your program will read from the excel file available inside “Files” Folder. protected void btnImport_Click(object sender, EventArgs e) { ArrayList … Read more

[Solved] HTML or ASP for a website [closed]

I’m afraid you’ve been horribly misled. ASP.NET uses HTML (and CSS and JavaScript) to display web pages. You cannot write a web page without using HTML. Also, HTML is a markup language, not a piece of software. It only describes the layout of web pages, so there is nothing insecure about HTML. WordPress also uses … Read more

[Solved] Search box to work like google search [closed]

You don’t need the % character, since the function Contains already implied that. So : select Subject from [dbo].[Email] where Contains(Subject,’t’) The % are for LIKE function select Subject from [dbo].[Email] where Subject LIKE ‘%t%’ 1 solved Search box to work like google search [closed]

[Solved] Exception is System.Data.SqlClient.SqlException: Incorrect syntax near ‘9988’ [closed]

Introduction This question is related to the System.Data.SqlClient.SqlException error which occurs when there is an incorrect syntax near the value ‘9988’. This error can be caused by a variety of issues, such as incorrect SQL syntax, incorrect data types, or incorrect values being passed to the database. In this article, we will discuss the possible … Read more

[Solved] Exception is System.Data.SqlClient.SqlException: Incorrect syntax near ‘9988’ [closed]

There must be a problem in one of your input parameters those you are directly reading from controls. This is not recommended anyway due to SQL injection attack threat. If you change your queries to us parameters (parameter queries), I hope this issue will be resolved. Following is an example how to use parameters. Note … Read more

[Solved] C# ASP arraylist gets cleared [closed]

The reason your statement fails is that you are trying to access elements beyond the collection’s bounds. When iterating through programEvents, you are assigning indexes to evectr ranging from 0 to programEvents.Count inclusive. However, since indexing is zero-based, the index of the last element is actually programEvents.Count – 1; accessing programEvents[programEvents.Count] would throw an IndexOutOfRangeException. … Read more

[Solved] Connecting with 3 different databases [closed]

Yes you can do that, you have to go to your web.config file and write this. <configuration> <connectionStrings> <add name=”First” connectionString=”…”/> <add name=”Second” connectoinString=”…”/> <add name=”Third” connectionString=”…”/> </connectionStrings> </configuration> You have to change the name of each connection and the connectionString too. 0 solved Connecting with 3 different databases [closed]

[Solved] Date Picker noob [closed]

1: include JQuery and JQuery UI libs in your page’s header (between the HEAD and /HEAD tags): <script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js” type=”text/javascript”></script> <script src=”https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js” type=”text/javascript”></script> Add this code to your page after the BODY tag (copied from JQuery’s website): <script> $(function() { $( “#datepicker” ).datepicker(); }); </script> <div class=”demo”><p>Date: <input type=”text” id=”datepicker”></p></div> Now when you click the … Read more