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
S

S Sansanwal

@S Sansanwal
About
Posts
87
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Project options in VS .NET
    S S Sansanwal

    Solution 1: Create Folder in your projetc and keep your .cs files in that folder. Right lick on project and select "New Folder" Soultion 2: Create an assembly of external classes and install in GAC. Now, you could access the code without copying to local directory. Sanjay Sansanwal www.sansanwal.com

    C# csharp visual-studio question sysadmin tutorial

  • setting the property for radioButtons
    S S Sansanwal

    Loop through radio buttons and check which are ticked Sanjay Sansanwal www.sansanwal.com

    C# database help tutorial

  • string replace() problem
    S S Sansanwal

    string aa = @"\document\test"; aa = aa.Replace(@"\", @"\\") ; Sanjay Sansanwal www.sansanwal.com

    C# csharp help tutorial question

  • resume parser help
    S S Sansanwal

    Letting upload user their resume and then parse them would be difficult as each user might have different format of resume. The best way is to have all fields input by user rather than upload resume. User could easily copy and paste resume content in your input fields like name, address, phone or work history. Sanjay Sansanwal www.sansanwal.com

    C# csharp tutorial javascript asp-net

  • How to refresh data in dropdownlist
    S S Sansanwal

    It seems you have code to populate dropdown wrapped with IsPostBack condition. make sure you populate it in post back also Sanjay Sansanwal www.sansanwal.com

    ASP.NET database tutorial

  • open excel file in asp.net
    S S Sansanwal

    Its because asp.net runs under aspnet user. Do, Open ur web.config file, just below the authentication tag write this line: www.sansanwal.com

    ASP.NET csharp asp-net com

  • please help me.
    S S Sansanwal

    check your stored procedure parameters. It seems that you are not passing a parameter with type as nvarchar(500) Sanjay Sansanwal www.sansanwal.com

    ASP.NET database help csharp asp-net tools

  • HELP!!!! DataReader error "No data exists for the row/column"
    S S Sansanwal

    you need to call Read method of reader before accessing any row. The read method points the reader to first row. So, in your code, add myRDR.Read() before lblTest.Text = myRDR("TestCount") Sanjay Sansanwal www.sansanwal.com

    ASP.NET help database

  • how can i change the font of listview
    S S Sansanwal

    have a look at http://www.codeproject.com/aspnet/ColorListBox.asp Sanjay Sansanwal www.sansanwal.com

    ASP.NET question

  • Convert percentage to pixel width (textbox)
    S S Sansanwal

    why don;t you use this.texbox.Width = Unit.Percentage(25) ; Sanjay Sansanwal www.sansanwal.com

    ASP.NET question

  • C# 'static' variables on the web?
    S S Sansanwal

    Everyone who runs an instance of a particular page can modify the variable. Each session gets it own copy of shared property. Sanjay Sansanwal www.sansanwal.com

    C# csharp question

  • Adding text to textbox server control after created
    S S Sansanwal

    You are assigning value to _Text property and not to Text property of TextBox created. The best way is to have the textbox control declared outside the control_load function. TextBox class private TextBox1 As New TextBox Public _Text As String Public _ID As String Public _Wrap As Boolean Public _Rows As Integer Public _Columns As Integer Public _TextMode As TextBoxMode = TextBoxMode.MultiLine Public Overridable Property SetText() As String Get Return _Text End Get Set(ByVal Value As String) _Text = Value TextBox1.Text = value ‘ DO this for all properties End Set End Property Public Property SetWrap() As Boolean Get Return _Wrap End Get Set(ByVal Value As Boolean) _Wrap = Value End Set End Property Public Property SetRows() As Integer Get Return _Rows End Get Set(ByVal Value As Integer) _Rows = Value End Set End Property Public Property SetColumns() As Integer Get Return _Columns End Get Set(ByVal Value As Integer) _Columns = Value End Set End Property Public Property SetID() As String Get Return _ID End Get Set(ByVal Value As String) _ID = Value End Set End Property Public Sub Control_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init TextBox1.ID = SetID() TextBox1.Wrap = SetWrap() TextBox1.Rows = SetRows() TextBox1.Columns = SetColumns() TextBox1.Text = SetText() TextBox1.TextMode = TextBoxMode.MultiLine Controls.Add(TextBox1) End Sub ControlLoad class Dim objFormControl As New FormControl.MultiText 'FormControl = project name (DLL) 'MultiText = class FormControl._Wrap = True FormControl._ID = "txtTest" FormControl._Rows = 3 FormControl._Columns = 25 Me.controls.add(FormControl) FormControl._Text = "Textbox Text Change" Note: The best way is to inherit to your textbox calss from WeControl TextBox itslef, then you would have all default properties plus you could overide any property Sanjay Sansanwal www.sansanwal.com

    ASP.NET sysadmin help

  • Strange Page_Load behavior
    S S Sansanwal

    The problem is till page_load, the page don't know about the controls parent. It does this all work in OnInit function. Sanjay Sansanwal www.sansanwal.com

    ASP.NET help tutorial question

  • email attachment
    S S Sansanwal

    Try http://www.aspemail.com Sanjay Sansanwal www.sansanwal.com

    ASP.NET help tutorial question

  • Look into the window registry in client side
    S S Sansanwal

    Open Regedit32.exe and give permission to registry entry to ASPNET User This posting is provided "AS IS" with no warranties, and confers no rights. Sanjay Sansanwal www.sansanwal.com

    ASP.NET windows-admin

  • Raise a method on a button in a usercontrol, from the page where usercontrol is included
    S S Sansanwal

    Refer http://www.codeproject.com/aspnet/SearchWebUserControl.asp[^] Sanjay Sansanwal www.sansanwal.com

    ASP.NET question

  • saving setting to the web.config file
    S S Sansanwal

    refer http://www.west-wind.com/presentations/configurationclass/configurationclass.asp[^] Sanjay Sansanwal www.sansanwal.com

    ASP.NET question announcement

  • email attachment
    S S Sansanwal

    Refer http://www.codeproject.com/aspnet/ASPNETwebmail.asp[^] Sanjay Sansanwal www.sansanwal.com

    ASP.NET csharp asp-net database help question

  • Data Fetching - Class or Webservice
    S S Sansanwal

    Create a separate project(classes) that handles all database stuff and reference that in your project. Sanjay Sansanwal www.sansanwal.com

    ASP.NET database question

  • passing a function name as a paramter
    S S Sansanwal

    Refer http://www.codeproject.com/dotnet/MethodName.asp[^] Sanjay Sansanwal www.sansanwal.com

    C# question help
  • Login

  • Don't have an account? Register

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