2,634 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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") … | |
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 … | |
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 = '" & … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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(): … | |
-------------------------------------------------------------------------------- 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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
[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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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? … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.