Skip to content

Magenaut

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

c#

How do I conditionally control the visibility of a control in ASP.NET?

August 24, 2022 by Magenaut

I’ve got an asp:Image. I want this control to display, only if <%#Eval("Image")%> is not null.

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

Cannot close stream until all bytes are written (GoodData API)

August 24, 2022 by Magenaut

I’ve done a bit of searching, and most people seem to hit this when sending larger amounts of data, but I’m not.

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

C# ASP.NET Page Leaving event?

August 24, 2022 by Magenaut

I was looking for an event that would fire or a way to tell if the user was leaving a page. Either to navigate to another page or closing the page alltogether. Is this possible through the events that fire?

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

array vs.list performance issue

August 24, 2022 by Magenaut

Possible Duplicate:
Performance of Arrays vs. Lists

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

Identity – Custom User Validators

August 24, 2022 by Magenaut

Helloes,

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

Dynamic Page Rendering in ASPX

August 24, 2022 by Magenaut

I’m very new to C# and .NET and I find myself faced with a problem and I’m not sure in which direction I need to head.

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

How do you get a User Identity?

August 24, 2022 by Magenaut

Once a user is authenticated and authorized, the application can get information about the user by using the User object’s Identity property. The Identity property returns an object that includes the user name and role information.

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

Regular expression to match dollar amounts

August 24, 2022 by Magenaut

Could anybody provide me the regular expression for the following patterns?

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

Why is LINQ to SQL entity association creating a new (duplicate) row when inserting a new record?

August 24, 2022 by Magenaut

I am trying to insert a new entity using LINQ-to-SQL, and entity is associated with a User entity. The insert of the new entity is successful, but my existing User entity gets inserted as if it were a new User. The code looks something like the following:

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

c# Excel skipping first row?

August 24, 2022 by Magenaut

I’m importing an xls file using OleDbCommand to a ds. Problem I’m having is during the foreach on my ds its skipping for first row. I can’t figure out why. Any suggestions?

Categories ASP.NET, Q&A Tags asp.net, c#, excel Leave a comment
Older posts
Newer posts
← Previous Page1 … Page400 Page401 Page402 … Page451 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