Question about Computers & Internet

4 Answers

Setting Datagrid runtime in Visual Basic

I have set all the column by Data is not appearing in Grid. Please help me if any one

Code :

Set DataGrid1.DataSource = rs
DataGrid1.Columns(0).Caption = "Ledger Name"
DataGrid1.Columns(0).Width = 1200
DataGrid1.Columns(0).DataField = "rs.ledger"
DataGrid1.Columns(1).Caption = "Amount"
DataGrid1.Columns(1).DataField = "rs.clamt"
Regards,
Raj

Posted by on

×

4 Answers

  • Level 1:

    An expert who has achieved level 1.

    MVP:

    An expert that got 5 achievements.

    Habit-Forming:

    Visited the website for 3 consecutive days.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Contributor
  • 30 Answers

Don't use Data Controls
Don't use binding
Use pure ADO code instead of the above
Use the flexgrid (or the free SGrid2) instead
If you are using VB6, get help in these two forums-
http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
http://www.vbforums.com/forumdisplay.php?3-Database-Development
I am in the VB6 one often, so I will chip in to help

Rob

Posted on Jan 16, 2017

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Master:

    An expert who has achieved Level 3.

  • Master
  • 363 Answers

This website can help you www.rsgoldfast.com
They serve good high efficiency, safe and convenient transaction, you can go to experience
The price is certainly the cheapest
There is also often very affordable activity

Posted on Jan 05, 2017

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that has over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 17 Answers

I have found a C# Data Grid Tutorial for you as reference. It is easy to understand.

Posted on Apr 24, 2014

  • Level 1:

    An expert who has achieved level 1.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 2 Answers

I think you are missing this at the end:

DataGrid1.DataBind()

Posted on Sep 06, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How to build a datagrid with master detail relationship in php


I also don't have much experience in the PHP, however, I think you can try some convenient datagrid like the UI GridView Control for WinForms I've heard before.

Nov 14, 2013 | The PHP Group PHP

1 Answer

I have a visual basic program in which i have to display the record from access table by using connection of adodc.and then select record from datagrid will display in another form. plz reply as soon as...


hi,  you may visit this site www.kidwaresoftware.com/ and download all free visual basic source codes with tutorials..  One of the source code will solve your problem.    However their paid Visual basic source codes will most powerful.    As I am total deaf and no source to communicate others... I want to share the  payment source codes with tutorials from  www.kidwaresoftware.com/.  Are you ready... If you download the  source codes with tutorials (only Fee for it) I will share with you.    esakkisivaganesh@yahoo.co.in

Apr 08, 2009 | Microsoft Visual Basic Enterprise Edition...

1 Answer

How to shortlist combobox items at runtime ?


Each time a letter is typed by your user, re-query from the 50 and return ONLY those meeting what your user typed. Clear and re-populate the ComboBox. Also - Set the Sorted property to True!

Mar 30, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

Exe file created not running on other pc.


Hello narensg

In order to be able to run a program (EXE) in a computer, that computer must have Visual Basic RUNTIME MODULES.

please tell your friend to install this runtime modules:
http://download.microsoft.com/download/vb60pro/install/6/win98me/en-us/vbrun60.exe

after installing this package, he will be able to run your program.

Kind regards,
Jerry H.

Feb 25, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

I have a runtime error 9 subscript out of range, when i try to open a program


  1. Start the Visual Basic Editor (press ALT+F11).
  2. If Project Explorer is not visible, press CTRL+R to activate Project Explorer.
  3. Click to select the Visual Basic project that contains the module sheet that you want to copy.
  4. On the Tools menu, click References. Click to select the Microsoft Visual Basic for Applications Extensibility 5.3 check box, and then click OK.
  5. Click Module on the Insert menu.
  6. Type the following code into the module sheet: Sub CopyModule() Dim CodeLines As String Dim ModuleToCopy As VBComponent Dim NewModule As VBComponent ' Set a variable to the module to copy. ' Note: This assumes that the name of the module to copy is ' "module2". Replace "Module2" with the name of the module to copy. Set ModuleToCopy = _ Application.VBE.ActiveVBProject.VBComponents("module2") ' Get the Visual Basic code from the module. CodeLines = ModuleToCopy.CodeModule.Lines _ (1, ModuleToCopy.CodeModule.CountOfLines) ' Create a module sheet in another workbook. ' Note: You must refer to the name of the Visual Basic project. By ' default, the name of all new projects is "VBAProject". You may want ' to rename the project to which you are copying the contents of the ' module sheet. Set NewModule = Application.VBE.VBProjects("VBAProject") _ .VBComponents.Add(vbext_ct_StdModule) ' Add the Visual Basic code to the new module. NewModule.CodeModule.AddFromString CodeLines ' Rename the new module to the name of the previous module. NewModule.Name = ModuleToCopy.Name End Sub
  7. Run the CopyModule procedure.

Regards

Samson Ved

Dec 05, 2008 | Computers & Internet

1 Answer

C# datagrids


Follow these steps :-

1. Create a connection.
2. Fire the select query and fill the records in the dataset.
3. Bind the dataset with the grid.

Jun 20, 2008 | Microsoft AccRepair DS2 2004 for Fr...

2 Answers

Howto load data to datagrid using visual basic 2005 and sql 200


May I suggest providing us with the programming language enviroment, which you're using, as in, Visual Basic or something, that way, I think it would be easier for the experts to give you an answer.

Here is a helpful link about Databases, but it's for Visual Basic Express Edition 2008
http://msdn2.microsoft.com/en-gb/express/aa718391.aspx


The best of luck with your project.

Mar 19, 2008 | Computers & Internet

2 Answers

Datagrid


Hi All I have a Data-grid with 3 columns. One is Text Name, second is Image which denotes Offline/Online User Status. Third Image Denotes Blocked/UnBlocked User Status. Now, I want to change Image on Click. If User1 wants to leaves the chat, Then he clicks on Image in front of his name. Here the images should be changed. And a function userOffline should be called. The function is called on Click but Image does not change. If I try to change the image it changes all images in the Column of all users. Can any one help

Sep 25, 2007 | Macromedia Flash MX

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

222 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...