2,634 Topics

Member Avatar for
Member Avatar for prasadsatam

Hi, I want help in displaying record of same challan no. into one textbox. I have feilds like challan no,sendqty,availableqty,balqty. if i fill one record of challan no 1, availableqty=1000,sendqty=500,balqty=500. next time when i am fill record of same challan no then i want availableqty=500 in textbox. I am using …

0
57
Member Avatar for dhanashreegd

Hi, I want help in displaying record of same challan no. into one textbox. I have feilds like challan no,sendqty,availableqty,balqty. if i fill one record of challan no 1, availableqty=1000,sendqty=500,balqty=500. next time when i am fill record of same challan no then i want availableqty=500 in textbox. I am using …

0
59
Member Avatar for saquib189

Hi all i have a datalist and i enable paging in it. but the link button not work when i click on it. The code is shown below: [code=ASP.NET]<asp:Panel ID="Panel2" runat="server"> <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><asp:label id="pageNumber" runat="server" /></font> <asp:DataList ID="theDataList" runat="server" RepeatColumns="4" Width="616px" CellPadding="4" ForeColor="#333333"> <HeaderTemplate> Book Listing …

0
310
Member Avatar for mfahmy2008

I have a text file contains non delimited data (Each row consists from 16 fields and has a 131 byte) I used this code to load it's data into datagrid(I have visual basic 2005) The program work fine Now I want load this datagrid into access database I try to …

0
83
Member Avatar for herbally

Ok, I fill my dataset in the form_load event, and the datagrid loads up with the data fine. I can search it and update/add members. When another machine on the network adds a member (haven't even tested an update yet) it sends a message to the machine in question telling …

0
45
Member Avatar for mfahmy2008

I have a text file contains non delimited data (Each row consists from 16 fields and has a 131 byte) I used this code to load it's data into datagrid(I have visual basic 2005) The program work fine Now I want load this datagrid into access database I try to …

0
85
Member Avatar for herbally

I'm trying to add a row to my dataset using the following: [CODE] Dim foundRow As DataRow = DsMembers.Members.NewRow foundRow("FirstName") = scannedMember.FirstName foundRow("MiddleName") = scannedMember.MiddleName foundRow("LastName") = scannedMember.LastName foundRow("Address") = scannedMember.Address foundRow("City") = scannedMember.City foundRow("State") = scannedMember.State foundRow("Zip") = scannedMember.Zip foundRow("DOB") = scannedMember.DOB foundRow("TDL") = scannedMember.TDL foundRow("MemberID") = scannedMember.MemberID foundRow("DateJoined") …

Member Avatar for dadelsen
0
175
Member Avatar for jainendra.shah

hi frds, I want to show link b/w 2 table. Where both table is genrate at run time with same name. & want to establish to relation . but problem is how i access columns of both table .. my code is OleDbConnection con11; OleDbDataAdapter daquery; DataSet dsquery; void chktable1_MouseDown(object …

0
62
Member Avatar for gabanxx

can u spot the error in this code.. [CODE] Private Sub fncExcelExport(ByVal strSql As String) 'fncExcelExport("SELECT * FROM tbl_rop WHERE Name_User ='" & (TextBox1.Text) & "', Date_of_birth= '" & (TextBox2.Text) & "' , Hobbies='" & (TextBox3.Text) & "' , Phone_Number ='" & (TextBox4.Text) & "' where Name_User = '" & …

Member Avatar for gabanxx
0
220
Member Avatar for mbah26

Hello every body, my problem is how to save any changes in the databaes from vb.net ... i used dataGrideView to connect and show my database, and i want to save the changes in the orginal database when i close the program. i try this code but it's not work: …

0
62
Member Avatar for edek

Hi, 1) Is it better to create one dataset for the whole project than many smaller (like one for each form)? 2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables …

Member Avatar for edek
0
198
Member Avatar for edek

Hi, What I have: 1) Table in SQL Server 2005 2) Table contains column of xml datatype 3) The column has Xml Schema defined I need to do three things (in C#): 4) Get the Xml Schema of the collumn 5) Create dataset based on that xml schema 6) Load …

-1
66
Member Avatar for sonia sardana

het frnds I faced the foll. interview questions on Vb.net. Plz reply i want to just confirm my answers- Give reply if mine answer is wring. 1)How many Compilation levels are there in .Net Framework a)One b)Two c) Three I WRITE---TWO Mine ANSWER IS RITE OR WRONG 2)There are different …

Member Avatar for Arijit Manna
0
253
Member Avatar for painthu

hi, i am creating a custom control- a grid view.. i have been asked to create search options such that under each column's header in the grid view there will be a textbox and then when the user types something in any of the textboxes and hits search button ,he …

0
58
Member Avatar for binoj_daniel

Hi, Can anyone help me with Inline Editing one row at a time Also inserting a row. Iam binding the gridview dynamically using C# codebehind with DataSet. I did not find any good posts on this. FYI: Iam calling a SP in the Business Layer to populate the Data in …

Member Avatar for binoj_daniel
0
89
Member Avatar for painthu

hi, I am trying to create a web custom control- a grid view that inherits from the system.web.ui.webcontrols.gridview class,, the functionality that i am trying to add to this custom control is-sorting with up and down arrow keys on the header, i found a control on the net that does …

Member Avatar for a496761
0
82
Member Avatar for treefity

w^ Here are my tables: Band: {[U]bandid[/U], bandname} BandMember: {[U]idnum[/U], [I]bandid[/I], [I]artistid[/I]} Artist: {[U]artistid[/U], firstname, lastname} Release: {[U]albumid[/U], albumname, [I]bandid[/I]} They are related properly in the dataset designer. Question: How can I make a bound datagridview that shows a band's artists? any links/examples would be cool.

0
63
Member Avatar for Raghu111

Hi all, I am creating a typed dataset in asp.net. One of the columns in the table is NVARCHAR2 (31), now when I create a typed dataset for this table the MaxLength property of this column becomes 15. But I need it to be 31 itself. I understand that NVARCHAR2 …

0
49
Member Avatar for painthu

hi , i am trying to create a custom control- a grid view that is capable of sorting with up and down arrow keys...in the header, i did find relevant material on the net but u see,those things work fine when we use a datasource like an sql or access …

0
56
Member Avatar for fishsqzr

C# (and, I assume, all NET languages) has a very obnoxious 'feature' where data is not sent from a control (TextBox, CheckBox, DataGridViewCell...) to the underlying dataset until that control looses focus. This causes problems because there are cases where critical code can get invoked before a value is saved. …

0
81
Member Avatar for nortcoll

I have created a search/results page in Dreamweaver 8 using ASP.NET that references a SQL database. Searches are done using HTML form. The dataset that I have created in dreamweaver quite happily filters the results but the page is pulling back all entries in the database. Has anyone seen this …

0
54
Member Avatar for ninjaimp

Hi I have a dataset which is popultaed with data from a text file, which in turn then populates a datagrid. This all works fine. What im trying to do is search within the dataset based on a value input into a text box. But everytime i do the search …

Member Avatar for sierrainfo
0
140
Member Avatar for aditya_amb

I am not able to display dataset. Can anyone help me out? Here is my code: Imports System.Data Imports System.Data.SqlClient Imports System.Windows.Forms Imports System.Data.OleDb Public Class Form3 Inherits System.Windows.Forms.Form Private WithEvents DataGridView1 As New DataGridView Private Sub Currdbbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Currdbbtn.Click Dim objConnection As …

Member Avatar for aditya_amb
0
193
Member Avatar for MoZo1

Well... I could copy the data, and use that, but that would be very slow, and I would have to copy often and a lot. I have a table where records depends on another one. Still, it will be the backup if I can't solve this. So every time I …

Member Avatar for MoZo1
0
476
Member Avatar for Yogesh Sharma

I have three labels & three textboxes on the form, I bind the data to the textboxes using DATA FORM WIZARD & Binding Navigator to naviagte thru the records. Suppose if i do any changes, I also want to update in the database. I drag one button on the form …

Member Avatar for pillusaoji
0
87
Member Avatar for ninjaimp

Hi I have a small program that imports data from a txt file and then splits it into columns in a dataset. What i want to do now is export that dataset to an access table so that i can start running reports form the data. Is there an easy …

0
62
Member Avatar for Nithya.G

iam having "users" as root node and some name as childnodes . how can i load that into dataset. xmlfile: [code=XML]<users> <gg>hgjhgs</gg> <nithya>ggsg</nithya> </users>[/code] i need to load it into a dataset . or i want to countthe childnodes

0
58
Member Avatar for pillusaoji

Hi All, I want to open database in vb.net. I have one .mdb file with 5 tables. They are linked to each other. I want to show information on VB.net form in visual studio. and I also want to update that via forms. I am new learner. I succed to …

Member Avatar for Bremen Emeth
0
102
Member Avatar for CBnewbie

OK, I'm new to PHP, and working with someone else's code. Kinda got thrust into this. I keep getting these two errors everytime someone tries use a online application page: PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in F:\home\admissions\application\appadmin\dataset.php on line 27 PHP Warning: mysql_free_result(): …

Member Avatar for pritaeas
0
93
Member Avatar for mafaisal

-------------------------------------------------------------------------------- Hello I am Using Vb.Net 2005 And Sql2005 See This [CODE] Dim RsSave as new adodb.recordset RsSave.open "Select * From Table Where 1=2 ",Con,CursorTypeEnum.adOpenDynamic, LockTypeEnum.adLockOptimistic con.Begintrans RsSave.AddNew RsSave.Fields(0).Value = textbox1.text RsSave.Fields(1).Value = textbox2.text RsSave.Fields(2).Value = textbox3.text RsSave.Update Con.Commitrans [/CODE] This Just eg for saving to databse using Adodb connection …

Member Avatar for manal
0
141
Member Avatar for gabanxx

here are some changes i made to the code.. as always the problem still the same nothing happen... can you figured it out what seems to be the problem....i really appreciate the help Private Sub btnNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNext.Click Dim varConnection As New SqlConnection …

0
63
Member Avatar for welles

Hello, all, I am pretty new to C++ and I need to write a program for calculating radio propagation path loss based on ray tracing, C++ is used for its faster processing rather than MATLAB. I have a question about passing 2D arrays between functions. One of the files looks …

Member Avatar for welles
0
101
Member Avatar for gabanxx

i manage to use the next and previous button in my program..the problem is it only show the last data on my my database that is when i click the next button..same as the previous button... i used the code that was given and fix all the mistake.... but it …

0
71
Member Avatar for arleyquininy

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet …

0
68
Member Avatar for arleyquininy

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet …

Member Avatar for bcasp
0
112
Member Avatar for arleyquininy

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet …

Member Avatar for JerryShaw
0
104
Member Avatar for binoj_daniel

hi, I want to export data to Excel from Dataset and DataGrid and format the output excel file like "Auto Fit" for coulns, Bold headers and also control the Cells. Please dont suggest using Interop Calls. I understand that we can use the RenderControl to write to the [COLOR=#008000]htmltextwriter so …

Member Avatar for binoj_daniel
0
118
Member Avatar for pikkas

i am trying to populate a datagridview from an ms access database with this code but it doesnt works. what is going wrong ? Dim con As OleDbConnection = New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=unclp.mdb;") Dim cmd As OleDbCommand = New OleDbCommand("Select * FROM books", con) con.Open() Dim myDA As OleDbDataAdapter = New …

Member Avatar for ericstenson
0
100
Member Avatar for cmhampton

I have a data layer class built with the dataset designer that I have added as a reference (compiled dll) in a project. When I run the app locally from Visual Studio, it runs just fine. However when I move it to the hosted server, I get "Type 'H2C2DataLayer.h2c2DataSet.topicsDataTable' is …

Member Avatar for cmhampton
0
133
Member Avatar for Elmo_loves_you

Hi, I have a webpage set up that allows users to upload a file to a server from the fileupload control, which is then saved to the database with the blob file and the file name. What I would like to do now is retrieve this file by selecting a …

Member Avatar for Elmo_loves_you
0
122
Member Avatar for laoballer

I have a dataset that contains data for a blinking light bulb as a function of time, another for a different light bulb which turns on for a duration of time and at percentage of intensity. What I would like to do is graph a scatter plot of the blinking …

0
67
Member Avatar for ITKnight

Please see my code : [CODE] using System; using System.Collection.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void cmdtam_Klik(object sender, EventArgs e) { string cstr; cstr = "data source=knight;initial …

Member Avatar for Jx_Man
0
404
Member Avatar for baker4

Hi, I am fairly new to vb.net and seem to be having some probelms doing an SQL statement. I am selecting data from more than one table from my Access database. A surname held on a database is typed and it is supposed to display results, related on the MemberID. …

Member Avatar for Jx_Man
0
118
Member Avatar for jun_1987

hi..i am newbie for vb.net.i jz wan to ask how to link microsoft access field with my text box.i jz wan to get the information from the table to my textbox.i already connect it to my form. this is how i connect to form.. 'TODO: This line of code loads …

0
71
Member Avatar for zorgoban

Hi all! Im using a ComboBox and a DataGridView in a Form and use the same DataSet-Table for both. Unfortunately they automatically synchronice their current selection now. When I select a row in the grid for editing, the ComboBox gets automatically switched. How can I avoid this absolutely unwanted behaviour? …

Member Avatar for Ramy Mahrous
0
110
Member Avatar for priyamsc

I have 3 dropdownlist named as dd1,dd2 and dd3. in dd1 i have datas getting from database. then in dd2 bound the data by selecting the dd1 datas... tat coding is ======== [code=asp]protected void dd1_SelectedIndexChanged(object sender, EventArgs e) { string a = "select distinct a.descriptions,a.sid from swift a,pc_link b where …

Member Avatar for SheSaidImaPregy
0
210
Member Avatar for yobehcor15

Just want to ask question, what is the difference using server.mappath and report.load, in creating datasets for Crystal Reports? When I use server.mappath and then setting the DataSource for my Dataset, I always end up getting an error in report --> "Load Report Failed", The system cannot find the file …

0
39
Member Avatar for yobehcor15

Just want to ask question, what is the difference using server.mappath and report.load, in creating datasets for Crystal Reports? When I use server.mappath and then setting the DataSource for my Dataset, I always end up getting an error in report --> "Load Report Failed", The system cannot find the file …

0
55
Member Avatar for daymick

Hello, I would like to apply object-orientated programming in C++ to sets of 3D images. I would like to do 4 classes: -dataset:an array of 3D images, contain the nb of 3Dimages as an object -3Dimage:an array of 2D images, contain the nb of 2D images as an object -2Dimage:an …

0
60
Member Avatar for SheSaidImaPregy

I need to write each row of a daset to a separate xml file, which will be named based upon the ID of the current row. I am very new to XML, as I have never believed in it, which meant it was crap. Anyway, I am trying to merge …

Member Avatar for SheSaidImaPregy
0
892

The End.