User Profile

Collapse

Profile Sidebar

Collapse
suganya
suganya
Last Activity: Sep 30 '08, 07:20 AM
Joined: Dec 4 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • suganya
    started a topic Using Functions
    in .NET

    Using Functions

    Hi

    I have given the If statement under the save button click event as

    Code:
    if (ThemeDropDownList.SelectedValue == "Blue")
    {
                empty.Attributes.Add("BgColor", "blue");
                Save.CssClass = "ButtonIE1";
                ClearButton.CssClass = "ButtonIE1";
                HtmlTableCell WebBody = (HtmlTableCell)Master.FindControl("row1");
    ...
    See more | Go to post
    Last edited by Curtis Rutland; Sep 30 '08, 01:50 PM. Reason: Added Code Tags - Please surround your code with [CODE] and [/CODE]

  • suganya
    started a topic changing gridview style in code behind
    in .NET

    changing gridview style in code behind

    Hi

    Can any body help me how can I change the header color of the gridview in code behind. I tried

    GridView1.Attri butes.Add("Head erStyle-BackColor", "blue");


    But its not working.
    See more | Go to post

  • suganya
    started a topic Changing bgcolor in Master Page
    in .NET

    Changing bgcolor in Master Page

    Hi

    I have a master page with <TD> columns defined in the table as <td bgcolor="#51864 3"> (which means bgcolor="green" ). In one of my content pages, I have a dropdown with values such as blue, green. In that, if I select the value as blue, then all <TD>'s in Master page with bgcolor="#51864 3" should change as green. So that the use can customize their page according to their color sel...
    See more | Go to post

  • suganya
    started a topic Master Page & Themes
    in .NET

    Master Page & Themes

    Hi

    Can any body help me how to add theme in master page. I have added

    App_Theme-->Default-->HelloDr.css in my project.
    See more | Go to post

  • suganya
    started a topic Dynamically changing css class name
    in .NET

    Dynamically changing css class name

    hi

    I have a link button with css class name as "ButtonIE". Once if i select the dropdownlist value as blue, I want to have css class name as "ButtonIE1" dynamically.
    See more | Go to post

  • changing backgroung color name in css file while selecting dropdown

    hi

    I have a dropdown with values as blue & green. If I select "blue" from the dropdown then, all the backcolor which I have specified as green in seperate css class file should change into blue. So that I can see all the buttons view which is in green color as blue immediately in the current page. what coding should I give in the selected index changed event of dropdown....
    See more | Go to post

  • suganya
    started a topic Calendar date blocking
    in .NET

    Calendar date blocking

    Hi

    I have to block all previous date in calendar. for that I have given coding as


    protected void QuickCalendar_D ayRender(object sender,
    System.Web.UI.W ebControls.DayR enderEventArgs e)
    {
    if ((e.Day.Date < DateTime.Now))
    {
    e.Day.IsSelecta ble = false;
    }
    }

    But if i give that its blocking todays date also. I want...
    See more | Go to post

  • suganya
    replied to selecting from database
    in .NET
    Hi

    My stored procedure have to select and return data (comm, effective date) from comm table based on id. Thats why
    See more | Go to post

    Leave a comment:


  • suganya
    replied to selecting from database
    in .NET
    Hi

    Again I modified my code as


    Code:
    @ID int,	
    	@Comm decimal(2,2) OUTPUT,
    	@EffectiveDate datetime OUTPUT

    in DB.

    Code:
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            'Request.QueryString["editid"]
            'If Page.IsValid Then
            Me.Label1.Text = Request.QueryString("editid")
    ...
    See more | Go to post

    Leave a comment:


  • suganya
    started a topic selecting from database
    in .NET

    selecting from database

    Hi


    I have to select the values and display in the textboxes named txtcomm and txtdate from comm table. For that I have given the coding as following.

    In stored pro I have given query as
    Code:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    
    ALTER Procedure [dbo].[sp_CommisionSelect]
    	@ID int,	
    	@Comm decimal(2,2),
    	@EffectiveDate datetime
    	
    as
    ...
    See more | Go to post
    Last edited by DrBunchman; Aug 14 '08, 07:07 AM. Reason: Added [Code] Tags - Please use the '#' button

  • Microsoft JScript runtime error: 'ol' is null or not an object

    Hi

    Some professionals already has developed the project using menu. In my company, they have given me task to clear the error in that. It is a script file named as "menubarAPI4.js " which is kept inside the folder "menu_scrip t".


    The following is the code in this file.
    Code:
    var menuOffsetTop=menuOffsetLeft=submenuOffsetTop=submenuOffsetLeft=submenuOffsetRight=0;
    var Doc=this.document;var
    ...
    See more | Go to post
    Last edited by kenobewan; Aug 6 '08, 12:13 PM. Reason: Use CODE tags

  • suganya
    started a topic Conversion Problem
    in .NET

    Conversion Problem

    Hi

    I have to insert two textbox values into the database. In sql server 2005, I have the table named Rs with the following fields

    Rs decimal(2, 2)
    date1 datetime

    In front end I have given the coding as

    Code:
    Imports System.Data
    Imports System.Configuration
    Imports System.Data.SqlClient
    Partial Class commision1
        Inherits System.Web.UI.Page
        Public
    ...
    See more | Go to post
    Last edited by kenobewan; Jul 31 '08, 11:37 AM. Reason: PLEASE USE [CODE] TAGS

  • suganya
    started a topic Multiple Tables in SQLDataSource
    in .NET

    Multiple Tables in SQLDataSource

    Hi

    I have a GridView in my Page. I have to bind multiple tables into the GridView using SQLDataSource. For that I have given the coding as

    Code:
    <asp:GridView ID="Search_GridView" runat="server" Style="z-index: 100; left: 2px; position: absolute;
                top: 270px" AutoGenerateColumns="False" OnSelectedIndexChanged="Search_GridView_SelectedIndexChanged" CellPadding="20"
    ...
    See more | Go to post

  • Hi Kenobewan

    I have changed the select statement into the statement that U have given above as

    set ANSI_NULLS ON
    set QUOTED_IDENTIFI ER ON
    go





    -- =============== =============== ===============
    -- Author: <Author,,Name >
    -- Create date: <Create Date,,>
    -- Description: <Description, ,>
    -- =============== =============== ===============...
    See more | Go to post

    Leave a comment:


  • suganya
    started a topic Stored Procedure using SQLDataAdapter , DropDownList
    in .NET

    Stored Procedure using SQLDataAdapter , DropDownList

    Hi

    I have to bind the DropDownList box with ID field hidden using SQLDataAdapter.

    For that I have given the coding as

    protected void Page_Load(objec t sender, EventArgs e)
    {

    if (!Page.IsPostBa ck)
    {

    SqlConnection con = new SqlConnection(" user id=sa;password= cast;database=H ello_Dr;server= AURORA-SERVER;");
    ...
    See more | Go to post

  • suganya
    started a topic Binding Data to DropDownList with ID hidden
    in .NET

    Binding Data to DropDownList with ID hidden

    Hi

    I have "Specialty" table with 2 fields (SPID,Specialty ).
    To bind data from "Specialty: table to the dropdownlist during page load, I have given the following coding

    protected void Page_Load(objec t sender, EventArgs e)
    {
    if (!Page.IsPostBa ck)
    {
    SqlConnection con = new SqlConnection(" user id=sa;password= cast;database=H ello_Dr;server= AURORA-SERVER;");...
    See more | Go to post

  • suganya
    started a topic SQLDataSource
    in .NET

    SQLDataSource

    Hi

    Instead of connecting SQLDataSource to the GridView directly & giving query in it. How can I use the SQLDataSource & its query in Codebehind.
    See more | Go to post

  • suganya
    started a topic msgBox in ASP.NET
    in .NET

    msgBox in ASP.NET

    Hi

    I have created the class "WebMsgBox. cs" in App_Code. The coding is

    Code:
    using System;
    
    using Microsoft.VisualBasic;
    
    using System.Text;
    
    using System.Collections;
    
    using System.Web;
    
    using System.Web.UI;
    
    using System.Web.UI.WebControls;
    
        public class WebMsgBox
        {
    
            protected static
    ...
    See more | Go to post
    Last edited by kenobewan; Jun 26 '08, 01:17 PM. Reason: as per request [code]

  • suganya
    replied to Selecting Query
    Than U Deepuv04. Its not showing any error but still I have a doubt, in the above query if I add another table

    PrimaryTitle

    PTID nvarchar(12)
    PrimaryTitle nvarchar(20)

    and give the query like

    Select DM.FirstName + '' + DM.MiddleName + '' + DM.LastName AS DoctorsName, DM.Gender,DC.Ad dress,DM.Teleph one + '' + DM.Mobile AS Phone,PT.Primar yTitle from DoctorMaster DM INNER JOIN...
    See more | Go to post

    Leave a comment:


  • suganya
    replied to Selecting Query
    Hi

    If I run the following query in sql server 2005, its displaying the data.

    Select DM.FirstName+' '+DM.MiddleName +' '+DM.LastName "DoctorsName",D M.Gender,DC.Add ress,DM.Telepho ne+DM.Mobile "Phone",PT.Prim aryTitle from DoctorMaster DM,DrClinicDeta ils DC,Specialty SP,PrimaryTitle PT where DM.FirstName='a aa' or SP.Specialty='a aa' or DM.City='madura i' and SP.SPID=DM.SPID and PT.PTID=DM.Prim aryTitleID...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...