2,634 Topics

Member Avatar for
Member Avatar for danielagaba

hi i'm tryin to get data from my windows form that is 1st stored in a dataset then stored later in a local database(.sdf). this is the code i'm trying to use on the save button clock event. [code] Dim houseType As String = me.housingType.selectedValue Dim desc As String = …

Member Avatar for danielagaba
0
95
Member Avatar for Haimanti

How to retrieve data from database to frontend, each field in diff txtbox #1 1 Minute Ago | Add to Haimanti's Reputation | Flag Bad Post hi Hi i'm new to coding, with basis of theritical knowledge, i tried writing code for data insert n retrieval.. the code i posted …

Member Avatar for sknake
0
90
Member Avatar for danielagaba

hi i'm designing a management system using visual studio 2008 and i'm using a local database(.sdf). i'm kinda new at vb.net and from wat i've read, i need to design a dataset that connects to the database. i defined my tables in the dataset and the.sdf database, my problem is …

Member Avatar for danielagaba
0
91
Member Avatar for niraj.thehycker

i create an application in .net platform in which i connect sql sever and i retrieve data from dataset through datagridview and i have to make a task that if i edit in gridview it will save the changes in datasource

Member Avatar for kvprajapati
0
71
Member Avatar for sandli28

Hi, In vb.net2008 if we want to disable/enable the groupbox as per condition.Then how its possible when we used save button.how its insert into database.following is the code: Imports System.Data.OleDb Public Class addcust Dim da As OleDbDataAdapter Dim ds As DataSet Dim cmd As OleDbCommand Dim cmd1 As OleDbCommand Dim …

Member Avatar for Piya27
0
378
Member Avatar for miry

Hi, looking for help and need pointing in the right direction, can anyone assist? Have a data file (txt) that contains 10000 numbers/data points. Storing the data file as varbinary(MAX) in an SQL table. My goal is to retrieve the file on user request and plot/chart the numbers as a …

Member Avatar for miry
0
166
Member Avatar for emint

Helo every one i m trying to update record to ms database using vb.net. but i m getting error message. pls help me where i made mistake. here is my code. [code] Dim da As New OleDb.OleDbDataAdapter("SELECT * From tblCustomer", strPath) Dim cb As New OleDb.OleDbCommandBuilder(da) Dim ds As New …

Member Avatar for kvprajapati
0
89
Member Avatar for krm08

Hi all, I'm hanged out with my application.,I 've a form in that when i click submit button,I want to enter the details from the textboxes in the form to a dataset table.I did it,but the problem is that I want to add multiple rows in that datatable(at runtime).Also I …

0
77
Member Avatar for chrispaul8676

hi, there, i am trying to connect the dropdownlist and gridview to the sql database. I am inserting radiobutton into the gridview. The whole thing goes like this, the dropdownlist is checked and once the radiobutton is checked, and clicked submitted, the next page must show only the checked data. …

0
79
Member Avatar for Haimanti

hi i have retrieved data on data grid from backend. i want to write a code with which i will be able to retrieve the complete data related to the editable field from backend to front end. The edit and delete button needs to be seen on the right click …

0
64
Member Avatar for tig2810

Hi If I have a class that returns a basic set of data such as: varchar Costcode, varchar costdescription, double costamount, double rateofexchange, datetime dateandtime and a few other int fields. All basic stuff. What is the best return type for this class? From reading the web it seems a …

Member Avatar for serkan sendur
0
178
Member Avatar for Link82

Hi everyone, A few days ago I posted a question which someone did reply to. However, the tables have been re-arranged a bit and I didn't want to make my last thread confusing, so I thought I'd start fresh here. (Mod, you may close down my other thread; thanks). So …

Member Avatar for sknake
0
303
Member Avatar for omaheshwar

The following is my code it says "Stored procedures are not supported on this version of MySQL " whenever i try to run the website.. below is my code [code] default.aspx.cs using System; using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using …

Member Avatar for omaheshwar
0
158
Member Avatar for Link82

Hi everyone, I've never had to do this before sooo, I need help. I have a table which maps managers to regular employees. So you could say that Manager A is mapped to 20 peeople and Manager B is mapped to 5, and so on. So the table looks like …

Member Avatar for sknake
0
357
Member Avatar for tdeck

I'd like to extract a column from a dataGridView and add it to a dataSet. Apparently I can't cast a dataGridViewColumn to a dataColumn like this [ICODE]DataColumn col = (DataColumn)inputGrid.Columns[0];[/ICODE] even though they seem like they're holding essentially the same thing. Any suggestions you have would be great, I'm still …

Member Avatar for ddanbe
0
106
Member Avatar for tdeck

I've managed to figure out how to create tables in a dataset, fill them with data, and link one of those tables to be displayed in a DataGridView. It works great when the selectionmode is by row, row header, or cell, but unfortunately for this project I'd like the user …

Member Avatar for tdeck
0
145
Member Avatar for j15

Hello everyone, I am not much of a programmer but have some limited experience with vb.NET, so please bear with me. I have written the following code to create a dataset and fill it with three different tables, one of which is empty to begin with but is populated successfully …

Member Avatar for jetti
0
212
Member Avatar for culebrin

Hi, I have a Button inside of a GridView, inside of another GridView. The higher gv is filled with a dataset, and in the RowCreated event I fill the second gv, and finally, in the RowCreated event (handler added in the RowCreated event of the first gv) of the second …

Member Avatar for mail2saion
0
354
Member Avatar for dot_net_rookie

Hi , I am using a gridview to bind values from two tables to checkbox. The tables are category and subcategory . I am using Item Template to bind the values to both the checkboxes. The problem has to do with the data binding... The first checkbox lists categories and …

0
59
Member Avatar for functionalCode

I have a combo box which is in set to be a drop down list. How do I change the label text based on which ID is selected in the combo box. How do I make the label text change to the corresponding row as the ID? Thanks

Member Avatar for functionalCode
0
186
Member Avatar for arunasingh

i have a problem in dropdown :suppose i select id from dropdown then i want name of the employee is displayed matched with that id is displayed in textbox : i have use the following code con = New SqlConnection(constr) adpt = New SqlDataAdapter("select * from reg where f_name='" + …

Member Avatar for babbu
0
111
Member Avatar for witecloner

Sorry if my thread is place in incorrect forum. Hai All ... Could anybody help me? i'm praticing how to build the n'tier application. I have read some book tell about this, like "Building Client/Server Applications With VB.NET" by Jeff Levinson, beth massi video tutorial "building simple n-tier applications", and …

Member Avatar for witecloner
1
305
Member Avatar for culebrin

Hi, I have a dataset build at design time (vs 2008) with several tables of my DB (MSSQL 2005). I have a DataTable with its tableadapter... I need that the TableAdapter.Update function returns the key updated (always will be a single row updated at the time). I know, I passed …

0
106
Member Avatar for madhurimonica

I am having a doubt that whter dataset can updated directly from datagrid (ie by making changes directly in the datagrid ).

Member Avatar for martonx
0
339
Member Avatar for arun_354

[code=cplusplus] #include<fstream.h> #include<iostream.h> #include<iomanip.h> #include<stdlib.h> #include<string.h> #include<stdio.h> #include<conio.h> #include<process.h> using namespace std; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { …

Member Avatar for tux4life
0
131
Member Avatar for av1963

Here's the problem: I've got a datagrid that uses a datagridviewcombobox column that I want to populate with enumerated values from a MYSQL database - specifically, when the program starts, the DataGridView is populated with the names of students (Get1Click) - I then want to add a string variable from …

Member Avatar for kvprajapati
0
124
Member Avatar for VinayRok

when i click on the treeview the page gets refresh and the control wont go to roottree_SelectedNodeChanged Plz anyone help me...... [code]/* Document */ private void GenerateMarksTree(StudentManagement.Student stud) { TreeView roottree = new TreeView(); roottree.ForeColor = Color.Black; roottree.ShowLines = true; TreeNode root = new TreeNode(); root.Text = stud.Branch.ToString(); root.Value = …

Member Avatar for dnanetwork
0
112
Member Avatar for reedie

All, i have a pretty simple task but for some reason i cannot for the life of me figure out how to do it in Python. I have a matrix of numbers, this matrix has a variable number of rows depending on the dataset but always 30 columns. first things …

Member Avatar for sneekula
0
139
Member Avatar for amorphis88

Hello, i'm a beginner and i'm creating a guestbook in asp.net with XML. i have the following: my aspx page: [code=asp.net] Name: <%#DataBinder.Eval(Container.DataItem, "name")%><br /> E-mail: <a href="mailto:<%# DataBinder.Eval(Container.DataItem, "email") %>"><%# DataBinder.Eval(Container.DataItem, "email") %></a><br /> Location: <%# DataBinder.Eval(Container.DataItem, "location") %><br /> Date: <%# DataBinder.Eval(Container.DataItem, "date") %><br /> <i><%# DataBinder.Eval(Container.DataItem, "entry_Text") …

Member Avatar for xpartmgr
0
689
Member Avatar for Cman2020

Hello guys this is kind of crazy to ask but i need to know where to locate sqlDataAdapter, sqlConnectio, and datagrid i have looked all the tookbox all i have under data: is datagrdview,dataset, blindingnavigator, pointer, and bindingsource do anyone know where to find the listed item above please and …

Member Avatar for Ramy Mahrous
0
128
Member Avatar for hanzi_ru

hi i have created two combo boxes which contain locations and floors. After selecting the location from the first combo need to filter the floors allocated to the selected location, to the second combo. i have allocated floors to locations in another table called floor allocate. can somebody pls help …

Member Avatar for Manak
0
2K
Member Avatar for NetGD

Hello, I am am trying to get a ListView to populate based on an xml file. to acheive this I would like to use the DataTable. this is my XML file: [CODE]<?xml version="1.0"?> <main> <person> <id>1</id> <name><first>Joe</first><last>Blow</last></name> </person> </main>[/CODE] And the C# that I am using to read it: [CODE]public …

Member Avatar for kvprajapati
0
1K
Member Avatar for functionalCode

Hello Everyone, I have a database that has some items and I would like to fill a combo box with the items and have the combobox selected value set the corresponding item ID. I have seen so many ways to do this I am not sure which way to go. …

Member Avatar for Ramy Mahrous
0
79
Member Avatar for nabeelanwer

import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.*; import java.sql.*; import java.util.*; import java.util.Date; import java.lang.*; import javax.swing.JApplet; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.plot.CategoryPlot; import org.jfree.chart.plot.PlotOrientation; import org.jfree.chart.renderer.category.LineAndShapeRenderer; import org.jfree.data.category.CategoryDataset; import org.jfree.data.category.DefaultCategoryDataset; import org.jfree.ui.ApplicationFrame; import org.jfree.ui.RefineryUtilities; //import org.jfree.chart.demo.Time; /** * A simple demonstration application showing how …

Member Avatar for peter_budo
0
325
Member Avatar for jineesh

Help me I have created a dataset. Then created two data tables with dataset.tables[0] as data for first table and dataset.tables[1] as data for second table. then I created parent and child coloumns. then I created parent row. Now how can I need to select childrows from parentrows. Regards jineesh

Member Avatar for kvprajapati
0
111
Member Avatar for RobinTheHood

Hi all I previously developed in Access and have recently decided to move over to SQL server back-end and vb2008 front-end. My Everest of problems which I can’t solve is the how to filter records by a user selected parameter. However, if the parameter is null then all records should …

Member Avatar for samir_ibrahim
0
116
Member Avatar for farooq82

Dear All, I have three datagrid in which we load excel files. The fourth datagrid we load after comparing b/w these grids after clicking Reconile button. Then I will drag and drop the values from first grid to second grid again click on reconcile button it will load all previous …

Member Avatar for kvprajapati
0
50
Member Avatar for jancho1911

Hi, can you please help me transfer this code from vb4 to vb.net...i have read everything but nothing helped me...there are somethings about how to check EOF but there is nothing for BOF... thank you very much...here's the code in vb4 [code] If (Evidset.EOF and Evidset.BOF) then Tmes = Month(Now) …

Member Avatar for kvprajapati
0
106
Member Avatar for jineesh

Hi, Please any one help me... I want to set selected item from a dataset. how can I do this? Regards Jineesh

Member Avatar for kvprajapati
0
64
Member Avatar for RobinTheHood

Can someone please, please, please give me the syntax in vb 2008 for referencing records on a parent form, I’ve been trying to do this for ages and can’t work it out or find help that answers this. I’m new to VS and vb2008 so please excuse any errors in …

Member Avatar for dlplenin
0
96
Member Avatar for ptaylor965

I have a dataset (Private DS As New DataSet) and i need to make a Crystal Report from the data held within it The data comes from multiple tables then merge into a new table held in the dataset only How do i create the Crystal Report as the new …

Member Avatar for jerry32uk
-2
206
Member Avatar for csy

I used a dataset in multiple-reader and single-writer design in my application , but the 'read' and 'write' is possible happend at a same time . will it thread safed ? or I need to apply any locking mechanism? but i don't wish to lock the 'read' to be single …

Member Avatar for Stinomus
0
138
Member Avatar for DaveD3

I have a unique issue. I am using datagrids to display 3 tables in an access database. When a user makes a change to the data I want to highlight the cell for a period of time. I have 2 columns that are hidden. When a change is made I …

0
63
Member Avatar for reptar

Hi, i have an asp.net page running vb.net, connecting to an access database. I am using an inner join to connect to two tables Table1 CityID CityName Table2 DateID CityID DateText Status I am running a dataGrid which displays the CityName, DateText and Status. I would like the Status to …

0
53
Member Avatar for jbisono

Ok I have seen to many post about this and nothing work for me, I just do not get it. I have a simple datagrid which i want to add rows, NOTE: this datagrid have no relation with database so everything has to be done datatable or arraylist whatever you …

Member Avatar for jbisono
0
214
Member Avatar for killdude69

I am helping a friend with a project in Visual Basic, it is a program that uses a SQL database. There are some rows in the database, we can review them just fine. So the SELECT quesries are fine, it is the INSERT queries that we are having problems with. …

Member Avatar for vb5prgrmr
0
179
Member Avatar for chriscross86

hi, i need help with this codings. i did this in visual web developer.it is based on jscript and i need to convert it into asp.net.please help. [code=asp.net]<%@ Page Language="JScript" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.OleDb" %> <%@ Register TagPrefix="Header" TagName="ImageHeader" %> <!DOCTYPE html …

Member Avatar for Tekmaven
0
254
Member Avatar for dot_net_rookie

Hi , I am trying to bind a drop down and checkbox with values from two tables from database. The 1st table has categories and is binded to the DDL and the 2nd table has sub categories and is binded to checkbox and inter related by using the category ID …

Member Avatar for dot_net_rookie
0
161
Member Avatar for warun

Dear All can we filter subset of DataSet.Table row collection in ADO.Net. Early days adodb's recordset was providing Filter method to get subset of its records, but i couldn't find a similar option in ado.net. thanks in advance and looking for your immediate suggestions Warun

Member Avatar for doleh
0
156
Member Avatar for bmiles20001

So I was making a calculator that pulls from a mySQL database. The program works flawlessly on my personal computer. However, when I move the program to another computer it crashes upon loading. If I take out my database call the program works so I believe I have localized it …

0
48

The End.