User Profile

Collapse

Profile Sidebar

Collapse
teju
teju
Last Activity: Mar 5 '08, 01:55 PM
Joined: Jul 28 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • teju
    replied to Updating details view programmatically
    in .NET
    I didn't get you when you said this isn't your code. My question is how do i change the mode in detailsview after clicking update button to readonly back
    I tried databind method, disabling view state but none of them works....
    See more | Go to post

    Leave a comment:


  • teju
    replied to Updating details view programmatically
    in .NET
    Hello,
    Please, if anyone could help me out.
    Many Thanks,
    Teju
    See more | Go to post

    Leave a comment:


  • teju
    replied to Updating details view programmatically
    in .NET
    Hello,
    Thanks, for your concerned reply, it does seems to sort out the problem.
    But when i click on save button or the update button, it should get back to read mode. I do use chage mode even t once the details are updated.
    It pops up with error details view cannot change mode while it is updating . I am posting my code behind on VB file for your reference.

    Code:
    [B]//Onclick button call the grid view which[/]
    ...
    See more | Go to post

    Leave a comment:


  • teju
    replied to Updating details view programmatically
    in .NET
    Hello ,
    I am using details view prgrammatically using code behind to poulate and perform other operations on detailsview.

    for editing data i am using modechanging event and while clicking on the update button i am calling onitemcommand.

    When i click the update button it call onitemcommand and checks for command name=Update
    then i retrieve the text box values which are changed in the edit mode and try to...
    See more | Go to post

    Leave a comment:


  • teju
    started a topic Updating details view programmatically
    in .NET

    Updating details view programmatically

    Hello All,
    I am having trouble while updating the detailsview. The onItemcommand executes twice.
    Could anyone please help .
    It is driving me insane

    Thanks,
    Teju
    See more | Go to post

  • Hello,
    Try the following link
    http://fredrik.nsquare d2.com/viewpost.aspx?P ostID=155
    See more | Go to post

    Leave a comment:


  • teju
    replied to Multiple forms
    in .NET
    Did you try the Enable view state property set to true...
    See more | Go to post

    Leave a comment:


  • teju
    replied to C# Datalist control
    in .NET
    Hello, below is my code
    [code]
    ///update code
    void myListUpdateHan dler(Object src, DataListCommand EventArgs e)
    {
    if (e.CommandName == "update")
    {

    SqlConnection myConnection = new SqlConnection(C onfigurationSet tings.AppSettin gs["xxxxxx"]);

    TextBox tbox = (TextBox)e.Item .FindControl("T extBox1");...
    See more | Go to post

    Leave a comment:


  • teju
    started a topic C# Datalist control
    in .NET

    C# Datalist control

    Hi all,
    I am using datalist control to display, edit, update and delete records in c#.
    Displaying works fine, but the problem is while updating the record. I am trying to access the changed value from the text box and run the update command, but everytime i try to update, it gives me the old text box value.
    I have tried state value as well but doesn't help.
    Code:
    TextBox tbox = (TextBox)e.Item.FindControl("TextBox1");
    ...
    See more | Go to post

  • teju
    started a topic Populating four levels of tree view from the database
    in .NET

    Populating four levels of tree view from the database

    Hi all,
    I am trying to populate tree view from the database. Till two levels i can populate it fine but when it reaches third level it doesn't expand. Below is the code, it has been taken from the reference of micrososft

    Sub PopulateNode(By Val sender As Object, ByVal e As TreeNodeEventAr gs)

    ' Call the appropriate method to populate a node at a particular level.
    If e.Node.ChildNod es.Count...
    See more | Go to post

  • teju
    started a topic Retrieving data in the horizontal format

    Retrieving data in the horizontal format

    Hello,
    I am trying to retrieve data from the sql and trying to display using ASP. If a I try to print in the normal rows and columns format, it seems to print okie. But if i want to ptint in following fromat

    Name
    All the names from the table

    Last Names
    All the Last Names from the table.

    I don't know how to do it

    Could any one help.

    Thanks
    See more | Go to post

  • Hello,
    Actually, I wanted to display one to many relationship data on the ASP page. SO that it shouldn't display the duplicate titles.

    I got it from asp faq web

    Thanks for your help
    See more | Go to post

    Leave a comment:


  • Displaying data in tabular format in asp from database

    Hello,
    I have to display all the data from the database in tables in ASP. I am able to get the data but the problem is of displaying one to many relations.Like below Title1 has two records but how would i display in the table
    Title1 heading1 heading 2 heading 3
    x y x1 y1
    a b a1 b1

    Tite2 heading1 heading 2 heading 3
    x y...
    See more | Go to post

  • It throws an error back
    StudentList object name not found.

    Thanks...
    See more | Go to post

    Leave a comment:


  • teju
    started a topic Selecting data from two databases within MSSQL

    Selecting data from two databases within MSSQL

    Hello,
    I would like to know whether is it possible to select data from two different databases within the same sql server.
    For example
    I have one database as StudentList which is the central database for students and i have other database as courseselection

    i want to select the student no from the student list database and enter the course selection in the course selection database.

    Could some...
    See more | Go to post

  • teju
    started a topic DataKeys GridView
    in .NET

    DataKeys GridView

    Hello,
    I have two datakeys defined in the grid view. I want to access the both the datakeys when u click a button. Iam able to access one of the datakeys but not the other. Below is the code

    <asp:GridView ID="GridView2" runat="server" AutoGenerateCol umns="False" DataSourceID="S qlDataSource1"
    DataKeyNames="S igned_ID,Sessio nCode" CellPadding="4"...
    See more | Go to post

  • teju
    replied to how to send attached e-mails with cdosys.
    objCDO.To = "someone@xyz.co m"
    objCDO.From = "me@abc.com "
    objCDO.Subject = "My Resume, per Request"
    objCDO.Body = "xxxxxxxxxxxxxx xxxx"
    objCDO.Importan ce = 2 'High importance!
    objCDO.AttachFi le "\\server\xx\xx .doc","xx.doc"
    objCDO.Send 'Send off the email!

    'Cleanup
    Set objCDO = Nothing

    You can use attach the file...
    See more | Go to post

    Leave a comment:


  • teju
    replied to cookies and session
    Hi,
    You can add the parameter in the webconfig file

    <add key="CookieName " value="cookieva lue" />
    and in th cs file you can include the following code
    HttpCookie UserCookie = Request.Cookies[ConfigurationMa nager.AppSettin gs["CookieName "]];
    See more | Go to post

    Leave a comment:


  • Can ASP.net files and ASP files be placed in the same folder

    Hi ,
    Can the asp.net files ie aspx and cs files be placed in the same folder as the asp files. for example

    I have sample folder and i want to save aspx and asp files in the same folder .

    Is it possible.

    Many thanks
    See more | Go to post

  • teju
    started a topic Mcdba

    Mcdba

    Hi
    Iam preparing for MCDBA i have 70-229 exam.
    Could any one please suggest where i can download sample test papers and study guide.

    Many thanks
    See more | Go to post
No activity results to display
Show More
Working...