Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
W

Wouter Coinless

@Wouter Coinless
About
Posts
9
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MSSQL Question
    W Wouter Coinless

    I dont want to include the Ids if they are null.

    Database question sql-server

  • MSSQL Question
    W Wouter Coinless

    Is there a way to do this:

    @FirstId uniqueidentifier = NULL;
    @SecondId uniqueidentifier = NULL;

    SELECT ..
    FROM ..
    WHERE
    IF(@FirstId IS NOT NULL)
    BEGIN
    FirstId = @FirstId
    END
    IF(@SecondId IS NOT NULL)
    BEGIN
    AND FirstId = @FirstId
    END

    Or a smarter way? :D Thanks in advance!

    Database question sql-server

  • Way to access masterpage from usercontrol
    W Wouter Coinless

    public partial class Administration_Controls_FileControl : System.Web.UI.UserControl
    {
    protected void Page_Load(object sender, EventArgs e)
    {
    Control control = this.Page.FindControl("MessageControl");

    Gives back null

    Control control = this.Page.FindControl("ctl00");

    That gives my masterpage :) Not really nice id

    ASP.NET

  • Way to access masterpage from usercontrol
    W Wouter Coinless

    Hi! Is there a way to access a control in my MasterPage from my custom user control. I have MasterPage with custom control --> Default.aspx --> User Control And my last User Control needs to access the custom control in my master. Or do i have to work with delegate in my default.aspx Thanks! Wouter

    ASP.NET

  • FileUpload doesnt upload
    W Wouter Coinless

    Thanks man! Works great!

    ASP.NET csharp sysadmin

  • FileUpload doesnt upload
    W Wouter Coinless

    Ok thanks , i posted my usercontrolid in the trigger, now it works :) Thanks!

    ASP.NET csharp sysadmin

  • FileUpload doesnt upload
    W Wouter Coinless

    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="FileControl.ascx.cs" Inherits="Administration_Controls_FileControl" %>
    <div style="width: 100%; height: 50px;">
    <asp:FileUpload ID="FileUpload1" runat="server" />
    <asp:Button ID="test" runat="server" OnClick="test_click" />
    </div>

    protected void test_click(object sender, EventArgs e)
    {
    if (FileUpload1.HasFile)
    {

    }
    

    }

    I have this code, but i keep getting HasFile = false .. Anyone sees what im doing wrong.. I really dont see it. Thanks. Wouter

    ASP.NET csharp sysadmin

  • Merging multi results into one row
    W Wouter Coinless

    Yes i will consider that :) Havent thought about it that way.

    Database database sql-server help tutorial question

  • Merging multi results into one row
    W Wouter Coinless

    ID Name Access1 Access2 Access3 Access4 Access5
    918a6fb8-573f-4744-b4de-019bc8322ce4 Gast False False False False True
    013b4a2b-3027-41b6-a7e1-e0e536dd0bbc Administrator True True True True False

    I have multiple results for 1 user. In the example I want the results to get to one row, with the final result (True, True, True, True, True). So the query has to go through all the results and check if the Access Right is True or False. Is one of them is True the result of the column is true. I tried to use Temp Tables but im stuck :( Anyone has an idea? I use MSSQL

    Database database sql-server help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups