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
H

hahii

@hahii
About
Posts
62
Topics
54
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • mebership
    H hahii

    Actually I have one login page where when I validate the user it let me show Default page. In that page I have some pages listed.I want to give access of different pages to different users based on their roles. I am not using membership and roles provider by going into ASP.Net configuration tab and creating roles and users over there. I have two tables users and roles already in my sql server database. Once after validating the users and getting Default page how can I make sure that e'g if the user is admin he has access to just administration page wwwand sales person has access to only sales.aspx page etc

    ASP.NET database csharp asp-net sql-server sysadmin

  • check if record exist
    H hahii

    What is the best way to check for a record exists in a database using linq to sql? I want to check if a userid (int) and typeid (int) exist. - The following code always returns zero even if the record exists - what is the best approach? int result = 0 result = (from t in context.customers where ((t.userid == intUserID) && (t.typeid == intTypeID)) select t).Count();

    ASP.NET database question csharp linq

  • publish web site
    H hahii

    Yes, I created the virtual folder. e.g my website is in the folder C:\project\NyWebSite Now I treated virtual folder in C:\Project and named it as test2. But when I go to window explorer C:\project my test2 is not there. So,. How can I publish it. I have no idea where I am doing wrong

    ASP.NET question

  • publish web site
    H hahii

    Hi, I created a Virtual directory for my web site. Now I want to publish it at http;//localhost/test2. How can I do that.

    ASP.NET question

  • Authenticate users
    H hahii

    How to Authenticate Users with the SQL Server database table. I am using ling to entity data model.

    ASP.NET database sql-server sysadmin tutorial

  • Insert statement (please read again.)
    H hahii

    have two tables. Roles and Users. In Roles I have three columns iID(PK), Role(varchar), Description(varchar). In User table I have columns ID(PK,FK), Username(varchar), Password(varchar), Role(int). First I fill data in Roles table then now I am trying to insert data in User table it is giving me following error. Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the FOREIGN KEY constraint "FK_User_Role". The conflict occurred in database "DataFeed", table "dbo.Role", column 'Id'. The statement has been terminated.

    ASP.NET database help

  • login controls
    H hahii

    Hi, I am using Login control in my login.aspx page. I have a user table in my sql databas where user name and password are stored. After filling username and password in login page I want to check if it matches with the username and password with the data in the user table. How can I do that. Regards,

    ASP.NET database question

  • Insert into table
    H hahii

    I have two tables. Roles and Users. In Roles I have three columns iID(PK

    ASP.NET

  • membership and Roles
    H hahii

    Hi, I am using membership and roles to secure my web site. Instead of creating data base in APP folder I want to excess my tables named Users and Roles into my sql server database. How can Ido that. Regards,

    ASP.NET database sql-server sysadmin

  • Login Contorls
    H hahii

    I want to use the login Controls on Users That are in My SQL Server database user table. How do I authenticate user based on the users table in SQL Server? I don't want to use Stored procedures also. I am using Linq to entity database. Thanks.

    ASP.NET database question csharp sql-server linq

  • Grid View
    H hahii

    Hi, I have a GridView in My page. I attach a DataSource with it. But Some fields name in my table are large. So, how can I set the width of each column of my Gridview dynamically depending on the column name's length in my data tables.

    ASP.NET css question

  • Detail View
    H hahii

    Hi I have a GridView and Detail View in my linqform.aspx page. When I run it it gives me following error. Compiler Error Message: CS1061: 'ASP.linqform_aspx' does not contain a definition for 'DetailsView1_ItemUpdated' and no extension method 'DetailsView1_ItemUpdated' accepting a first argument of type 'ASP.linqform_aspx' could be found (are you missing a using directive or an assembly reference?) ; ; <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />;

    ASP.NET help question

  • Linq Queries
    H hahii

    Actually I am very new to Linq. But I have a project where I have to use linq to entities. I have a Gridview in my aspx page and I have a table named Address with 6 columns. I have to bound this Gridview with data from table and I have to delete, update and insert new records using linq quiereies. How can I do that. I really appreciate that. Regards,

    ASP.NET csharp linq question announcement

  • Linq Queries
    H hahii

    Actually I am very new to Linq. But I have a project where I have to use linq to entities. I have a Gridview in my aspx page and I have a table named Address with 6 columns. I have to bound this Gridview with data from table and I have to delete, update and insert new records using linq quiereies. How can I do that. I really appreciate that. Regards,

    LINQ csharp linq question announcement

  • Select all the records with Linq Query
    H hahii

    Hi, I have a table named "Customers" which has 6 columns with 15 rows. I want to show all athe records in Gridview using linq quieries. I am using this query but it is not giving me all the records. How can I show all the records in Gridview. var type = (from p in entities.Customers select p) this.Gridview1.DataSource = type; this.GridView1.DataBind();

    ASP.NET csharp database linq question

  • Linq query to get all the records
    H hahii

    Hi, I have a table named "Customers" which has 6 columns with 15 rows. I want to show all athe records in Gridview using linq quieries. I am using this query but it is not giving me all the records. How can I show all the records in Gridview. var type = (from p in entities.Customers select p) this.Gridview1.DataSource = type; this.GridView1.DataBind();

    LINQ csharp database linq question

  • Tree view
    H hahii

    I have a tree view in my page. I want to show the name of of selected node along with it's parent node. I am using the folleing event. I want my text of lable like follwing when I click child node aaa AA--> aaa. Where AA is parent node's text and aaa is child node's text. I don't want to use Sitemappath.

    ASP.NET data-structures

  • Grid view
    H hahii

    Can u please send me a sample for Grid view where I have a column where I can edit, delete and insert data in Gridview.

    ASP.NET css

  • DataBinding
    H hahii

    I have the following coding in my web form. var type = (from p in entities.Address select p); this.GridView2.DataSource = type; this.GridView2.DataBind(); Here in table Address I have one column named "Status" which is foreign Key. When I selected all the columns and try to bind with GridView it is not showing that column which is forign key. What is the reason. Thanks

    ASP.NET question

  • problem while binding the data with gridview
    H hahii

    No it doesn't solve my problem when I remove public static from my code

    ASP.NET help wpf wcf
  • Login

  • Don't have an account? Register

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