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
A

annie_bel

@annie_bel
About
Posts
27
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • copy Datagridview value to another datagridview
    A annie_bel

    when i insert your code the following errors occured.

    No row can be added to a DataGridView control that does not have columns. Columns must be added first

    . and when i insert column by following code:

    foreach (DataGridViewColumn c1 in dataGridView1.Columns)
    {
    DataGridViewColumn c2 = (DataGridViewColumn)c1.Clone();

                dataGridView2.Columns.Add(c2);
            }
    

    this error occured:

    Row provided already belongs to a DataGridView control.

    C#

  • copy Datagridview value to another datagridview
    A annie_bel

    no, actually i couldn't understand how to get data one by one and copy to second DGV.

    C#

  • copy Datagridview value to another datagridview
    A annie_bel

    hi!! I have a datagridview in a form. i want to send all the data from the first datagridview to another datagridview, which is present on another form. Best Regards,

    C#

  • retrieving listview values
    A annie_bel

    thank you very much! you have solved my problem.

    C# tutorial

  • retrieving listview values
    A annie_bel

    thanx sir! but i get only code value not desc value. in desc value also contain the code value. I ask one more question. actually when i click one row its work properly. but when i click secong row it returns also previous value instead of current selected row. please guide me what can i do when i select different rows the selected rows returns value thans and best regards

    C# tutorial

  • retrieving listview values
    A annie_bel

    hi! everyone!! I am using Windows application. I want to get single,single value from listview(contains two column) when I click a row. my 1st column name is 'code'and value is '123' and second column name 'desc' value 'good' If i click its return value but gives this type of value:

    listview1:{123}

    code sample:

    private void listView1_Click(object sender, EventArgs e)
    {
    ListViewItem value1 = (ListViewItem)listView1.Items[0];
    string val =Convert.ToString(value1);
    }

    please guide me, thanx and regards

    C# tutorial

  • full text search
    A annie_bel

    hi! My query is that, If i enter some text in textbox the matching record from the database column display. I am using windows application e.g.: google, if we enter some text related text displayed. thanx

    C# database

  • send record from the datagridview to next page
    A annie_bel

    hi! in windows application, i am using datagridview in a form to display the records from the database. my query is that, when i select the checkbox and click edit button of any record from the datagridview the related value of the selected checkbox appear on the textbox of second form. please guide me on this. thanx with regards

    C# database tutorial

  • To insert Validation in DataGridView
    A annie_bel

    no, actually i use this on insert command. so, thre is no data in database. i want use maybe "HardCode".

    C# database tutorial

  • To insert Validation in DataGridView
    A annie_bel

    thanx monu! one more question i want to ask. i use menustrip and this contain two sub menu. my query is when i click first sub menu , the DataGridView will open and some character are displayed in first column.

    e.g.: menustrip contain Course and subject. when i click course link the DataGridView will open and "crse" are shown in first column of datagridview. Same condition apply with "Subject".

    can u give some idea. again thanx

    C# database tutorial

  • To insert Validation in DataGridView
    A annie_bel

    cn u tell me where i use this code

    C# database tutorial

  • To insert Validation in DataGridView
    A annie_bel

    hi! In windows application, i am using datagridview to insert value into database. But i want put some validation in certain column. but i couldn't.

    eg.: i have two columns namely,
    Description and Cost. I want to insert only capital letters in Description column and only numbers in cost column.

    plz guide me an idea. i will appreciate for it. thanx and regards

    C# database tutorial

  • to display the value in ModalpopExtender [modified]
    A annie_bel

    hi! friends, I am using modalpopextender to display the data. my modalpopextender is open on Linkbutton click. i have a multiple linkbutton in datagrid. My query is: i want to display the record from the database in Label which is placed on modalpopextender. i already retrieve the data from the database but, I don't know how to put these information in Label Actually the linkbutton is not shown on my ascx page because some internal coding. so i can't generate click event. Please guide me: I display my some code for your help,:

    <asp:LinkButton ID="lbtnID" runat="server" Text='<%# Eval("ApplicantId")%>' CommandArgument='<%# Eval("ApplicantId")%>' CommandName="Det"></asp:LinkButton>

    <asp:Panel ID="pnltest" runat="server" >
    <table>
    <tr>
    <td >Applicant Name</td>
    <td ><asp:Label ID="lblAppName" runat="server"></asp:Label></td>
    </tr>
    <tr>
    <td >Applicant Code</td>
    <td ><asp:Label ID="lblCode" runat="server"></asp:Label></td>
    </tr>

    </asp:Panel>
    <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lbtnID" PopupControlID="pnltest" RepositionMode="RepositionOnWindowResizeAndScroll">
    </cc1:ModalPopupExtender>

    thanx and regards

    modified on Thursday, October 28, 2010 6:18 AM

    C# database tutorial sysadmin help

  • merging two word file [modified]
    A annie_bel

    hi! IHi i want to merge two or more text files.i.e. the content of the second file has to append to the content of the first file.

    e.g. abc.doc, ab.doc and xyz.doc i want all three files merged in abc.doc

    give me idea , how can i do this. thanx with regards,

    modified on Wednesday, October 6, 2010 12:52 AM

    C# question

  • browser display problem
    A annie_bel

    hi! I uses javascript code for adding TR with respective TD on arrowKey press. But my problem is that my code is working properly on IE but not work in Firefox. I don't know why. Please guide me on this. thanx And regards,

    JavaScript javascript help tutorial

  • add new cell by pressing tab button
    A annie_bel

    sir, ya, this is my need. but in my last control is dropdownlist. when i press tab on ddl the new TR has been appeared with TD. thanx

    JavaScript javascript database help

  • add new cell by pressing tab button
    A annie_bel

    hi! I want to add new cell in page through javascript. my query is: when i press tab button and when tab button reaches on last cell , the new cell has been added please help me. thanx & regards

    JavaScript javascript database help

  • to show checkBox 'true' using List View
    A annie_bel

    hi, I am using ListView to display the records. I have a column namely, 'module' contains record in following manner.

    edit, delete

    Actually i am adding this value through checkbox. when i select checkbox, the associated value ('edit') has been added in database, when i select another checkbox, the related value ('delete')has been added in the database. basically i can select two or three checkox, all concerned value has been added and seperated with 'comma' in same column. My query is , I want to edit this data. when I select edit button, the value of the checkbox shows 'true'. e.g. the 'edit' related checkbox shows 'tick' and so on. thanx and regards,

    C# database

  • List view problem
    A annie_bel

    hi! I use your code ,listViewItem.checked but (.checked) is not populated.

    C# help database

  • List view problem
    A annie_bel

    hi! I have a listview , which contains some records with checkbox. I have also a linkbutton for select all, delete and so on. my query is, when i click on select all(link button) all checkbox has select. please help me. i use this code, but not work :

    protected void lnkSelect_Click(object sender, EventArgs e)
    {
    foreach (ListViewDataItem lvItem in lstView.Items)
    {
    CheckBox check = (CheckBox)lvItem.FindControl("chksel");
    if (check != null && check.Checked)
    {

               check.Checked = true;
            }
        }       
    }
    

    thanx & regards

    C# help database
  • Login

  • Don't have an account? Register

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