Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

sql

How to paginate a gridview and SQL custom query with ROW_NUMBER

August 24, 2022 by Magenaut

I have a page that executes a custom query that its saved somewhere on the database.
I need to be able to enable pagination on the gridview.

Categories ASP.NET, Q&A Tags asp.net, c#, sql Leave a comment

update sql statement with unknown name/amount of params

August 24, 2022 by Magenaut

I have a classic ASP site, that I am slowly upgrading. I would like to create a function to securely update a SQL database without specifying parameters manually. Something just a tad more dynamic.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, sql Leave a comment

How to get a gridview to show all table rows when no text is entered in a dependent textbox?

August 24, 2022 by Magenaut

The below works correctly and filters my gridview based on the text entered in my textbox.

Categories ASP.NET, Q&A Tags asp.net, gridview, sql, sql-server, sqldatasource Leave a comment

Stored procedure OUTPUT VARCHAR2 value truncated using 12c client

August 24, 2022 by Magenaut

I am using oracle 11g. My stored procedure is returning varchar2 but its value is being truncated by oracle client.
Below is my code :

Categories ASP.NET, Q&A Tags ado.net, asp.net, c#, oracle11g, sql Leave a comment

SQL Server – How to select the most recent record per user?

August 24, 2022 by Magenaut

I am trying to execute a SQL command which should draw on the last row that entered the database.

Categories ASP.NET, Q&A Tags asp.net, c#, sql, sql-server, tsql Leave a comment

Difference between command timeout and connection time out

August 24, 2022 by Magenaut

What is the difference between connection timeout and command timeout?

Categories ASP.NET, Q&A Tags asp.net, sql Leave a comment

SQL Server Invalid column name when adding string value

August 24, 2022 by Magenaut

I’m new to SQL Server

Categories ASP.NET, Q&A Tags asp.net, c#, database, sql, web-services Leave a comment

C# ASP.Net Parameters.AddWithValue rejecting null value for parameter

August 24, 2022 by Magenaut

I am populating tables using a stored procedure. The table allows a ‘null’ for the middle initial of the name, but I’m getting the following error message:

Categories ASP.NET, Q&A Tags asp.net, c#, sql, stored-procedures Leave a comment

Using windows authentication in asp.net with c#

August 24, 2022 by Magenaut

Im trying to understand how windows authentication works and how to implement it. Ive read quite a few articles and watched some quite length videos on youtube but i still cant my head around what needs to be added to my web.config file/ index.aspx page to make it work properly.

Categories ASP.NET, Q&A Tags asp.net, c#, sql, windows-authentication Leave a comment

Upload image to server using C#/.NET and storing filename in DB

August 23, 2022 by Magenaut

I’m currently using the following snippet to insert data into a table in my database. It works great. But, I want to start adding filename data and not sure how to proceed.

Categories ASP.NET, Q&A Tags asp.net, image, sql, sql-server, upload Leave a comment
Older posts
Newer posts
← Previous Page1 … Page13 Page14 Page15 … Page22 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress