User Profile

Collapse

Profile Sidebar

Collapse
Muralikrishna
Muralikrishna
Last Activity: Dec 10 '12, 09:00 AM
Joined: Oct 31 '11
Location: HYD
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I tried like this , it's working fine.


    Code:
    if (txtAddress.Text != "")
    {
    if (txtPincode.Text != "")
    {
     
    if (txtcity.Text != "")
    {
     
    SqlConnection con = new SqlConnection(strConn);
    con.Open();
    SqlCommand cmd = new SqlCommand("sp_rm_insert_basicfamily", con);
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Parameters.AddWithValue("@FamilyID",
    ...
    See more | Go to post
    Last edited by Meetee; Dec 10 '12, 08:12 AM. Reason: Use code tags <code/> around your code

    Leave a comment:


  • How to use validations for windows application with c#?

    Hi All,

    How to use validations for windows application with c#. I have kept "error provider" for two text box validation. It is showing error, But at the same time record also saving in to database.Once all the fields is field then only record will be save in to database. And how to add required validation for combo box? Please find the attached code document.

    Thanks and regards,
    Murali....
    See more | Go to post

  • Muralikrishna
    started a topic how to export textbox in excel?

    how to export textbox in excel?

    Hi,

    How to export text box values in excel ? I need to export text box values in "excel".(wh en we click export to excel button)

    Code:(when i click Export button i need to save text box value in excel sheet. ) In below code is working properly, But i need to save textbox value. (text box name is "txtBillabl e")


    Code:
     
    
     protected void btnExportToExcel_Click(object sender,
    ...
    See more | Go to post

  • Muralikrishna
    started a topic Grid View text boxes adding ?

    Grid View text boxes adding ?

    Hi,

    How to add(sum) grid view text boxes. I was designed one grid view, in that grid view there is 7 text boxes in single row, i need to calculate total of these text box values dynamically. Means once we enter any value in any text box, that value is shown in "total" text box.

    I just attached image also..

    Small change , i just removed footer total.!!...
    See more | Go to post

  • I tried u r code some what useful to me! but when we debug program rows are showing!(Once debug and add 3 rows and stop that program , and again when debug that program those rows also displaying). No need to display those rows!
    See more | Go to post

    Leave a comment:


  • Textbox values accepts only Numeric Values in asp.net?

    Hi,

    Attached the document, please find that, in that image there is a "add client" option is there , when we click that button more tables will be adding(Dynamica lly adding the rows). That text boxes should accepts only numeric values.(Charact ers never display).

    At the same time i was taken one grid view, in that grid view there is 6 text...
    See more | Go to post

    Leave a comment:


  • U r code is working, but my task is different..

    i attached the image in that image there is a "add client" option is there , when we click that button more tables will be adding(Dynamica lly adding the rows). There is a calender tool is also there, if we click any particular date that details should be display in grid view rows.That text boxes should accepts only numeric values.(Charact ers never display).
    See more | Go to post
    Last edited by Niheel; Dec 6 '11, 06:46 AM.

    Leave a comment:


  • i tried but getting this error!
    Compiler Error Message: CS1061: 'ASP.webform1_a spx' does not contain a definition for 'GridView1_Sele ctedIndexChange d' and no extension method 'GridView1_Sele ctedIndexChange d' accepting a first argument of type 'ASP.webform1_a spx' could be found (are you missing a using directive or an assembly reference?)
    See more | Go to post
    Last edited by Niheel; Dec 6 '11, 06:47 AM.

    Leave a comment:


  • Hi,
    Attached the image, please find that, in that image there is a "add client" option is there , when we click that button more tables will be adding(Dynamica lly adding the rows). There is a calender tool is also there, if we click any particular date that details should be display in grid view rows.That text boxes should accepts only numeric values.(Charact ers never display).
    See more | Go to post
    Last edited by Niheel; Dec 14 '11, 06:32 PM. Reason: Added the image to the thread content.

    Leave a comment:


  • Hi,
    Attached the image, please find that, in that image there is a "add client" option is there , when we click that button more tables will be adding(Dynamica lly adding the rows). There is a calender tool is also there, if we click any particular date that details should be display in grid view rows.That text boxes should accepts only numeric values.(Charact ers never display).
    [imgnothumb]http://bytes.com/attachments/at...
    See more | Go to post
    Last edited by Frinavale; Dec 6 '11, 02:08 PM. Reason: Added image to thread content

    Leave a comment:


  • dynamically adding the textbox values which accepts only numeric values in asp.net

    Hi..

    dynamically adding the text box values which accepts only numeric values in asp.net(c# coding)

    I was created dynamically adding the text box rows in grid view, those text boxes which accepts only numeric values...
    min=1 to max 40..

    pls can any one help me..
    See more | Go to post

  • How to Display Selected Dates from a Database in the Calendar Control

    How to Display Selected Dates from a Database in the Calendar Control event in asp.net using in C# coding(2010)..

    I was taken one calender controller, and i want to display entire week details in "grid view" controller.

    I just changed calender controller properties "selection mode" day,week option.

    i want to retrieve the data from database.

    Can any one please help me.
    See more | Go to post
    Last edited by jhardman; Dec 2 '11, 09:58 PM. Reason: accidentally posted in the classic asp forum. moved to asp.net

  • I just replaced your code, when executing the program getting one error! like..

    ERROR:sqlexcept ion was unhandled by user code.

    "A network related or instance-specific error occurred while establishing a connection to sql server.the server was not found or was not accessible. Verify that the instance name is correct and that sql server is configured to allow remote connections."
    See more | Go to post

    Leave a comment:


  • ERROR: invalidoperationexception was unhandled by user code

    Creating a Simple Registration Form in ASP.NET,

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Data.SqlTypes;
    using System.Data;
    using System.Data.SqlClient;
    
    
    public partial class Default2 : System.Web.UI.Page
    {
        protected void
    ...
    See more | Go to post

  • "Error: Object reference not set to an instance of an object.(NullRef erenceException was unhandled by user code)"

    Can you please suggest me to come out of the error !.

    I was created registration page, and also created database. when we submit that registration fields that fields should be stored in database(my database name is "registration") . i think it's connection strings problem.I written a code in...
    See more | Go to post
    Last edited by Frinavale; Nov 5 '11, 08:18 PM.

    Leave a comment:


  • Ya, i just moved database to App_Data folder, but when executing the program it's showing one error.

    Error: Object reference not set to an instance of an object.(NullRef erenceException was unhandled by user code)

    Can you please suggest me to come out of the error !
    See more | Go to post

    Leave a comment:


  • Getting Error: Object reference not set to an instance of an object.

    HI,
    I was created consultant registration page using ASP.NET 4.0, and also created database, my database name is "registration.m df", i just wrote this below code, when debugging my page getting one error like "Object reference not set to an instance of an object". Attached the document also(screen shots)!



    Web.config code:


    Code:
     <connectionStrings>
    ...
    See more | Go to post

  • how to move database to App_Data folder ?
    See more | Go to post

    Leave a comment:


  • How to write connection string in web.config file using asp.net?

    How to write connection string in web.config file using asp.net.

    I just used this code,
    Code:
    <configuration> 
       <appSettings> 
          <add key="conn" value="DataSource=.\SQLEXPRESS; AttachDbFilename=C:\MyData\App_Data\Database.mdf; 
                                 Integrated Security=True; User Instance=True"/> 
          <!—Replace value in above line with the
    ...
    See more | Go to post
    Last edited by Frinavale; Nov 3 '11, 03:19 PM. Reason: Added code tags and formatted the error so that it is more legible.

  • Thank you.
    It's working
    See more | Go to post
    Last edited by Frinavale; Nov 3 '11, 01:03 PM. Reason: Changed "thanq" into "Thank you". Please use proper English on this forum.

    Leave a comment:

No activity results to display
Show More
Working...