408 Topics
|
|
hello guys, can anyone help me with this plz?? i have a datagrid view that is bound to a database, and the is a checkbox that is also bound to a flg in this database. i want to put some conditions on checking or unchecking this flg. what event do … |
|
hello guys, can anyone help me with this plz?? i have a datagrid view that is bound to a database, and the is a checkbox that is also bound to a flg in this database. i want to put some conditions on checking or unchecking this flg. what event do … |
|
Hi, i'm working on a grid, where the data can be saved, modified and deleted from the grid and effects in the database. I have a problem,i.e after I enter data in one row and goto the next row, the next row automatically gets filled by the same data as … |
|
I have "binded" my Access database to the Datagridview in my form. I have added an event for double mouse click in datagridview row header. private void dataGridView1_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { foreach (DataGridViewRow item in this.dataGridView1.SelectedRows) dataGridView1.Rows.RemoveAt(item.Index); this.Validate(); this.firearmBindingSource.EndEdit(); this.firearmTableAdapter.Update(this.firearmsDataSet.Firearm); } This code works(removes both view and source) on … |
|
Hi guys I came to a dead end writing a program for one of my friends, I cant seem to get data in my datagridview to show in my textbox. can anyone please assist? I need to make a invoice in the multiline textbox with data in my datagrid view … |
|
HELP ME plzzz! I try to make my datagridview rows change colour depending on value on a row cell. I ve tryed everything i found on the web but nothing.. plz help Last I tryed this one: http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellformatting.aspx but stil nothing :( |
|
I have a DataGridView that is attached to a BindingSource that gets data from a SQL Server database. I can populate the DataGridView without a problem. I can even insert/update it without issue if I run the update code from a click event of a button. But where I run … |
|
Okay, I know some of you are looking at that title and thinking I'm quite daft because obviously I have to have a dataadapter if I have a bindingsource. And you're right, there is a dataadapter, but it's not exposed to me. I've taken over a winforms project (attached to … |
|
Situation: need to read a CSV (txt) file that has no header and has 4 fields (all numeric), the number of lines will vary. Sample data: 160827,00003,000000075,0000025 84144,00001,000000050,0000050 161060,00002,000000050,0000025 40015,00002,000000100,0000050 61955,00002,000000100,0000050 etc etc I want to read this file into a DataGridView for proofing and later insert all these lines … |
|
Hello everyone.I am new to vb.net 2008 and i am in trouble.The problem for me is that i am making a windows form for a company and i am in a mess in getting my database connection to my datagridview by clicking a button and my data should been shown … |
|
Hello Friends, One help is required.... I have a select query which is based on two criterias.... if the order is in process or if the order is received.... The datagridview will show all the records from the database,,,, I want to disable the rows in datagridview which will be … |
|
hello guys how limit the number of data being display on DataGridV0iew ex. i have 100 records, i want them to fetch all but limit the display by 10's and navigate the other. sorry guys thats the best way that i can explain the situation, need somehelp pls.., thank you … |
|
Imports System.Data.SqlClient Imports System Imports System.Data Imports System.Collections Imports System.Windows.Forms Imports System.Resources Imports System.Data.OleDb Imports System.Drawing Imports System.Net.Mail Imports System.Configuration Imports System.Web Imports System.Web.Security Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.WebParts Imports System.Web.UI.HtmlControls Public Class Form1 Inherits System.Windows.Forms.Form Dim counter As Int32 = 0 Private Sub Form1_Load(ByVal sender As System.Object, ByVal … |
|
Hye, i got problem while saved the record. here is my code. Imports System.Data.OleDb Imports System.Data Imports System.Configuration Public Class Form2 Shared STAFF As Form2 Function GetInstance() If STAFF Is Nothing Then STAFF = New Form2 ElseIf STAFF.IsDisposed Then STAFF = New Form2 End If Return STAFF End Function Private … |
|
hi all.. i have the option to save the contents of the listview that was saved into text file. now i would like to load the text file into datagridview in vb.net but i have no idea how to do it as this is my first time in doing it … |
|
Hello Friends, I m Developing an windows form application. i have a winform on which i have datagridview and i am saving the data to Sql Server database from datagridview directly . i m using the following code for connecting & saving data of datagridview to database using button click … |
|
I have a bound datagridview and a dataset with tables. I have two sets of comboboxes bound to the same field "Restaurant" in the tables (mirroring each other). In the "NewEmployeeRestaurant" combobox I change the value and it reflects in the datagridview. I can shoot around clicking all over the … |
|
Well t am doing project on windows application and i am stuck at one place... now my problem is that i want to insert record from textbox and also from datagridview at once from one from but i am not able to do that in one insert query more on … |
|
Dear All, I have a small probelm with updating my database. Here are my codes ~~~ vb Module AphidSimVar Dim myCon As SqlCeConnection = New SqlCeConnection("Data Source=|DataDirectory|\AphidModel.sdf") Dim myCmd As SqlCeCommand Dim myAdap As SqlCeDataAdapter Dim myDataSet As DataSet Dim myTable As DataTable Dim myBuilder As SqlCeCommandBuilder Public Sub ShowData() … |
|
Hello , i am working on a section of a project, that parses Logs from Postgres Database Server. The application is developed in C sharp Framework 4.0. A log is produced and displayed on a DataGridView with the following columns resultCode Statement Starttime Duration XT001 select * from PizzaMade 01-02-2012 … |
|
hello friends, i m developing an windows application in VS2010 using Visual C# and MS Sql 2008 R2. i have a form consisting of datagridview and a Combobox. Name of DataGridView is "dgAccount" having three columns "Name","RollNo","City". Name of Combobox is "cboName". The Name of my DataBase is "dbAC". The … |
|
I am pulling three coloums of data from a SQL view into my data drid Day,TimeIn,Timeout I want to colour my datagrid rows red if timeout is null and green if both the timein, timeout have data in them. here is my code so far, but it aint working Public … |
|
0 down vote favorite share [g+] share [fb] share [tw] I have a class in which i have a method name method() returning a String in the form of JSON string. The output is :: [CODE] [{"ID":1,"Names":"Shantanu"},{"ID":2,"Names":"Mayur"},{"ID":3,"Names":"Rohit"},{"ID":4,"Names":"Jasdeep"},{"ID":5,"Names":"Rakesh"}] [/CODE] Now this in the form of data that i want to Populate … |
|
hi, all i need to add combobox in datagridview. actually i have 3 fields in database which are Sid Fee status what i want to add combo column in field [status] with two option PAID or UNPAID which a user can select and update it . i am all clear … |
|
'i am trying to get f_name + m_name + l_name three diferent columns combined from data grid view on cell content click into combobox. [CODE] Private Sub bugdgv_CellContentDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles bugdgv.CellContentDoubleClick Dim row As Integer = bugdgv.CurrentCell.RowIndex frmbug.bugcmbdeliver.Items.Clear() Try obcon.cmd.CommandText = "select d.del_name from … |
|
When I add a NEW row to the datagridview, it for some reason freezes the datagridview. That is, it adds the rows pulled from the database to the grid. But you can't add rows to the datagrid by some a click button event. Nor can you select a row in … |
|
Hi, Guys, please help me, I need your help. I wanted to identify the conflicted schedule of each of the section. If there’s conflict then the two or more subjects that are conflict will be colored to make then noticeable. They are in datagridview. I don’t know what’s wrong but … |
|
I am working at winforms project and i have a datagridview from which i am trying to update a database from it when the user changes something. Here is the code: [CODE] DataSet ds = new DataSet(); SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["EbosPr.Properties.Settings.Database1ConnectionString1"].ConnectionString); SqlCommand scmd = new SqlCommand("Select * From CustCalls … |
|
hi everyone i need bit of support in my vb coding. i've publish data onto a datagrid(in vb express 2010). i just want to highlight entire row once the search data is found(in lime color) and color should be remain in that particular row when searching next records. so that … |
|
Hi everybody i need a bit of support in my vb coding. i have publish data on data grid(in vb express 2010) and want to check for the data in each an every row. there are few columns and i want to check the string "OK" under "Status" column. if … |
The End.