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
R

RepliCrux

@RepliCrux
About
Posts
108
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [C# COM development] output by Regasm
    R RepliCrux

    Pleasure to help :) !!

    C# csharp visual-studio com sysadmin windows-admin

  • what is ajax
    R RepliCrux

    I think the best place you can learn Ajax as a beginner will be this: http://www.w3schools.com/ajax/default.asp[^]

    ASP.NET question

  • C# Webbrowser and form questions
    R RepliCrux

    You can try writing client side code, javascript may be. In the textbox, you can register the script for key up (or some other as convenient) txtBox.Attributes.Add("onKeyup",javascript:ShowText(this.ID)"); and javascript: ShowText(param) { var textBox = document.GetElementByID(param); alert(txtBox.Value); } hope that does that.

    C# csharp html database help question

  • dgresult.SelectedItem.Cells(1).Text
    R RepliCrux

    Sorry, my bad, I was thinking of Windows form, Whats the error Message by the way!!

    ASP.NET question help

  • what is App.ico in .net?
    R RepliCrux

    .ico is an extention for icon for starters. Therefore App.ico = Application Icon.

    ASP.NET question csharp

  • dgresult.SelectedItem.Cells(1).Text
    R RepliCrux

    What is the error message you are getting?? There is no property of DataGrid called SelectedItem by the way !!

    ASP.NET question help

  • Single Sign On for two sites of different domains.
    R RepliCrux

    When you Create Generic Priciple, You pass in all the roles to the Context of the page, then you check the user role like: If(Context.Users.IsInRole("Manager")) { //Do Something } You cannot pass the whole context itself, but pass the contents of the Context, (IIdentity,Roles..etc), then create a new Generic Priciple in the destination page usring those values and validate the Context of the page simillarly.

    ASP.NET csharp asp-net com help

  • how to diffrential between dates?
    R RepliCrux

    Pleasure to help!!

    C# tutorial question

  • How to make Splash Screen?
    R RepliCrux

    Here is one of the easiest one: In your main Program.cs call a Form: --Name that form splash screen, --Set the property 'FormBorderStyle' = 'None' --call a method show splash so basically you will write as below: public SplashForm() { InitializeComponent(); } public void ShowSplash() { Thread.Sleep(1000); this.Close(); } Now in main write this: SplashForm f2 = new SplashForm(); f2.Show(); f2.ShowSplash(); This will work as a splash screen!!

    C# tutorial csharp help question

  • C# Webbrowser and form questions
    R RepliCrux

    Hi Sean, May be I did not understand what you wanted, but I think Sharepoint is what you need. Or if you want an ASP.NET application, you will have to build a Custom CMS (content management system), where you can allow users to create something like articles and and then, when they submit the article, you can review them before it goes online.... If above does not makes any sense, I am sorry :)

    C# csharp html database help question

  • how to diffrential between dates?
    R RepliCrux

    DateTime t = new DateTime(2007,07,17); TimeSpan diff = DateTime.Today.Date.Subtract(t); MessageBox.Show(diff.Days.ToString());

    C# tutorial question

  • Single Sign On for two sites of different domains.
    R RepliCrux

    You can use generic priciple, which creates username and the roles assigned to him. --When you redirect the user, pass the Context of first webpage through the URL to second page. --In the second domain check the incoming URL, if there is any context, then validate it and allow or deny user accordingly. --Deny can redirect the user to Login page. hope this helps, I have assumed that you know how the .net security works (Context, IIdentity etc).

    ASP.NET csharp asp-net com help

  • why no delete?
    R RepliCrux

    Your current code seems to be right, the only reason I can think of is you have done some silly mistake in your stored procedure. Did you debug the code? Does it get the iid value you want to delete? If it gets through your myDeleteCommand.ExecuteNonQuery() line without any exception, it bound to be the stored procedure.

    Visual Basic database sharepoint sysadmin help question

  • Doubt in query.........,
    R RepliCrux

    You are right, the only thing is not all months have last day as 30, it can be 30, 28, 31... but well this is the right way to do anyway, there is a store procedure which gets the last day of the month in a particular year, can always use that.

    Database database tutorial question

  • Doubt in query.........,
    R RepliCrux

    5 votes to you man. I was about to say bad database design ;P

    Database database tutorial question

  • Query for finding number of columns in a table?
    R RepliCrux

    SELECT Count(COLUMN_NAME) FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_Name = 'TableName'

    Database database question

  • radgrid
    R RepliCrux

    devsam wrote:

    Public Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged Dim Ids As String = (RadGrid1.SelectedItems(0).OwnerTableView.DataKeyValues(RadGrid1.SelectedItems(0).ItemIndex)("ID"))

    Your code is going in selected index change before there is any item in the grid. Write a check, something like this: IF NOT RadGrid1.SelectedItems.Count = 0 THEN and then write your code inside this If condition.

    ASP.NET help csharp asp-net database data-structures

  • disable back and forward button
    R RepliCrux

    You can't disable the back button as far as I know, but you can add code in javascript so that when someone clicks back button, History + 1, so it will never go back. Google that :)

    Visual Basic tutorial question

  • How to retrieve data from database and display it in Listview
    R RepliCrux

    Hi, In ListView you will have to Enumerate the datasource and fill it. For example, if your datasource is a DataTable, you can write the following: foreach(DataRow row in table.Rows) { ListViewItem item = new ListViewItem(); item.Text = row["Description"].ToString(); item.Tag = row["ID"].ToString(); //For other coulmns items.SubItems.Add(row["OtherColumn"].ToString(); } Hope this helps.

    C# database help tutorial

  • Certification
    R RepliCrux

    http://www.microsoft.com/learning/mcp/default.mspx This place is your best bet of getting all the valuable knowledge. Remember, getting work experiance is better before doing these certifications.

    C# csharp asp-net help tutorial
  • Login

  • Don't have an account? Register

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