User Profile

Collapse

Profile Sidebar

Collapse
bsaira
bsaira
Last Activity: Oct 16 '07, 09:53 AM
Joined: Sep 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bsaira
    started a topic To retrieve the column name.
    in .NET

    To retrieve the column name.

    Hi,

    I am coding in C#.

    I need help finding simple way to retrieve a fields (or
    columns) collection from a Dataset without filling it
    first.

    I cannot find the property of columnname.
    Please help..

    Thanks.
    See more | Go to post

  • bsaira
    replied to Re: Visibility of GridView
    in .NET
    Yes the content place holder is working fine.
    That might be the case that the grid view is not being populated with the data.

    The code goes like this

    //My C# code..

    OrdersTableAdap ter o1 = new OrdersTableAdap ter();
    DataSet1.Orders DataTable dt1;
    DateTime d1 = Convert.ToDateT ime(sel); //sel comes from calendar click
    dt1 = o1.GetData(d1);
    ...
    See more | Go to post

    Leave a comment:


  • bsaira
    started a topic Re: Visibility of GridView
    in .NET

    Re: Visibility of GridView

    Hi,

    I am bugged up by this problem , struggling a lot to get it through .

    I am using a GridView that is populated with data from database.
    It is being placed in a content place holder.
    The problem is when i execute the program it is not visible.

    I made sure that in the desing page it is placed within the content place holder but still its not visible.

    Please help. ...
    See more | Go to post

  • bsaira
    replied to IsPostBack problem...
    in .NET
    Thanks to all the people out there for helping me...

    The issue got resolved. I didn't register the textboxes so when i added the below code into my Page_Load method ..it worked..

    // My C# Code

    if (Page.IsPostBac k) return;
    this.StartDateC alendar.Registe rControl(ref TextBox1);
    this.EndDateCal endar.RegisterC ontrol(ref TextBox2);
    this.Page.LoadC omplete += new EventHandler(Pa ge_Load);...
    See more | Go to post

    Leave a comment:


  • bsaira
    replied to IsPostBack problem...
    in .NET
    I did this before but the problem still persists...
    Its showing me the previously clicked date..
    Please help......
    See more | Go to post

    Leave a comment:


  • bsaira
    started a topic IsPostBack problem...
    in .NET

    IsPostBack problem...

    I have a pop up calendar. On the selection of date from calendar it should be displayed in the text box.

    The problems are:
    1)Initially when the page loads the text box shows some date, its not empty.
    2)When i click on a date it shows the previously clicked date.

    I have set the AutoPostBack property of textbox control to false.
    The code behind page is :
    [code=cpp]
    protected void...
    See more | Go to post

  • bsaira
    started a topic Associating a dropdownlist with datasource
    in .NET

    Associating a dropdownlist with datasource

    Hi,

    I have created a dataset which retrieves years from database.
    I want to associate dropdownlist control with a datasource that populates the years value from database.

    The problem is when i say "choose data source" and select a new object ..the business object wizard does not show up anything.
    It is supposed to contain the table adapter name but it is empty...

    I am stuck...
    See more | Go to post

  • bsaira
    started a topic Calendar month to be changed programmatically....
    in .NET

    Calendar month to be changed programmatically....

    Hi ,

    Had a question regarding the .NET calendar.
    Basically, I have a drop down list of all the months (Jan - Dec).
    When the user selects a month from the list, I want my calendar to switch months to that particular month that was selected.
    By default, the calendar is on the current month, and the user has to click '<<' or '>>' to change the month.
    How can i programatically change the view...
    See more | Go to post

  • bsaira
    replied to Issue with Calendar control--C#
    in .NET
    Hi Ruel,

    Thanks for your reply, but the problem still persists.
    It displays the selected date twice on the web page.

    Thanks,
    Saira...
    See more | Go to post

    Leave a comment:


  • bsaira
    replied to Issue with Calendar control--C#
    in .NET
    Issue with Calendar control--C#---URGENT..

    I am coding in C#. I have a calendar control on my web page.
    I have a message box to display the selected date.
    Now, the issue is when I click on any date it displays the message box twice.
    Date is being showed on the message box properly but I get two message box despite the fact that I have only one.

    Secondly, I even used page.response.w rite()...but this...
    See more | Go to post

    Leave a comment:


  • bsaira
    replied to Issue with Calendar control--C#
    in .NET
    Thanks for replying,
    There isn't another message box that is getting repeated..
    The fact that, I have only one page.response.w rite() statement, still it displays the date twice on web page.....it does the same with the message box.

    I guess there is some problem with the click of calendar control.
    I unable to figure it out.

    Thanks,
    Saira...
    See more | Go to post

    Leave a comment:


  • bsaira
    started a topic Issue with Calendar control--C#
    in .NET

    Issue with Calendar control--C#

    Hi,

    I am coding in C#. I have a calendar control on my web page.
    I have a message box to display the selected date.
    Now, the issue is when I click on any date it displays the message box twice.
    Date is being showed on the message box properly but I get two message box despite the fact that I have only one.

    Secondly, I even used page.response.w rite()...but this too gives me date twice on the web page......
    See more | Go to post
No activity results to display
Show More
Working...