473,799 Members | 3,310 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

4
7,037
thread by: John | last post Nov 13 '05 by: John
Hello all, I'm trying to display a dataset into a datagrid and format the datagrid columns but I'm having a hard time with it. I've tried the MSDN examples but they don't seem to work. Basically, what I want to do is that, on a button click, the dataset fills up dynamically, binds to the datagrid, and displays the data. This is my code: ...
8
6,119
thread by: timtos | last post Nov 13 '05 by: Jon Skeet
I want to save text in a file and after that I want to display this textfile using the internet explorer. If I am displaying "html text" everything is fine but if I want to display plain text all characters from the extended ascii are looking weird - are not properly encoded! Using the options in View -> Encoding -> ... in the internet...
2
2,528
thread by: Karin | last post Nov 13 '05 by: Karin
Hi, Can anyone explain to me why SelectedIndex is automatically changed to 0 when I set it to -1? This happens when I set SelectedIndex = -1 from the click-eventhandler of a button. My ListBox is bound to an ArrayList. Thanks! /K
1
2,330
thread by: msnews.microsoft.com | last post Nov 13 '05 by: Ignacio Machin
What is the best solution for the following scenario: I have a contacts database and I am creating the business layer obects to access my data objects. (So the DB is invisible to the Business Layer consumer) Each contact can be of some type "Employee, Customer, Vendor, etc." . The contact types are also stored in a table in the DB. So...
0
3,129
thread by: .pd. | last post Nov 13 '05 by: .pd.
I created a Windows form and stuck a toolbar on it with one button. I then added a treeView, docked it to the left of the form and enabled Label Edit. Here's the toolbar button click and after label edit event code: private void toolBar1_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e) { if...
1
4,258
thread by: bearbaba | last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
Question: The checkbox can use on the treeview nodes. But when I checked treeview checkbox , I can not get the checkbox status value which true or false. How can I get the value of checkbox in the treeview nodes, thankyou.
0
1,658
thread by: Maks Skinder | last post Nov 13 '05 by: Maks Skinder
Hello, I created already a webservice which fills my textbox on the client. Now I have a problem how to update data on dataset. I'm using SQL2000 server like engine. If there is a sample on the net which cover this question it would be very helpfull. Regards
0
1,362
thread by: Carlos Pires | last post Nov 13 '05 by: Carlos Pires
When i pass a handle of a listbox to a DLL, and itens are inserted in the listbox, the application crashes whith a "System.ArgumentOutOfRangeException" when i click any of the new itens. A turn arround is to fill the listbox whith some itens, clear the listbox inside the DLL and thens insert the new itens up the number of itens previously...
6
4,347
thread by: Mori | last post Nov 13 '05 by: guy
Hi, What can I use for the equivalent VB InputBox to get a string from the user? thanks, Mori
1
2,468
thread by: Jakub Otahal | last post Nov 13 '05 by: Jakub Otahal
Hi there, is possible to make an array of the pen? this doesnot work thanks jakub public Pen BarvyKanalu; BarvyKanalu=new Pen();
1
1,605
thread by: Supramanian Murugesan | last post Nov 13 '05 by: Bussiron F.
Hi, I have a datagrid filled by some rows from the db. When I click a particular row in the datagrid I should able to insert the selected rows value to a DataRow / Array. Is there anyway of doing this? thanks in advance, SP.Murugesan.
2
3,866
thread by: Alpha Zero | last post Nov 13 '05 by: Alpha Zero
Hi! When I click on new row of DataGrid, it displays "(null)" which we can change. Is it possible to change this default text to something like "Make new entry.."? Thanks. Regards,
2
4,686
thread by: Guy | last post Nov 13 '05 by: Tian Min Huang
I am writing an interface that will be implemented on collection type objects. The interface was previously written in vb.net for an application and was coded as follows Public Interface IListEditorCollection Function ToString() As String Function Add() As IListEditorItem
0
5,277
thread by: Bussiron F. | last post Nov 13 '05 by: Bussiron F.
The only solution I'v found was to use a script in Jscript like this: Button1.Attributes.Add("onclick","javascript:myscript(1)"); and the code of Myscript is: <script language="JavaScript"> function myscript(i) {
0
3,885
thread by: Gvnn | last post Nov 13 '05 by: Gvnn
Good Morning, I have a little problem with User control and Server.Execute method. This is my code: //Load Top of the Page this.Controls.Add(LoadControl("/controls/HeaderHTML.ascx")); //Load Body Server.Execute(strPageUrl); //Load Bottom of the page this.Controls.Add(LoadControl("/controls/FooterHTML.ascx"));
3
8,005
thread by: Daisy | last post Nov 13 '05 by: Daisy
I've started writing a listview, which currently draws my list to a pane, and onclick, works out which row you've clicked on, from the co-ordinates of the mouse, sets the .Selected property to the index of the item in my list, and onpaint, I draw this with a selected box over it. It's dawned on me, that this "list", being just text written...
2
58,426
thread by: andrew | last post Nov 13 '05 by: Yan-Hong Huang[MSFT]
C:\Documents and Settings\watts\My Documents\Visual Studio Projects\boeing\showPMACfg\vuePMAcfg\vuePMAcfg.cs(88): Static member 'vuePMAcfg.pmaDataHash.pmaDataHash1' cannot be accessed with an instance reference; qualify it with a type name instead OK I have this class And the hash and the function shows up in type ahead. I tried declaring...
2
3,387
thread by: Richard Kvist | last post Nov 13 '05 by: Richard Kvist
Hi ! Is there a way to populate the Combobox value without using the databind property, I use a foreach clause instead. Richard
6
7,591
thread by: Ken Varn | last post Nov 13 '05 by: Yan-Hong Huang[MSFT]
I am trying to remote debug a C# application but the debugger is reporting the following exception: An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module. Additional information: Unverifiable assembly 'FrameGrabber' failed policy check. The FrameGrabber assembly is a C++ managed DLL.
1
2,294
thread by: Alok Kumar | last post Nov 13 '05 by: Alok Kumar
Hi guys! I'm facing some problem with the data grid. My table data is something like this Group Name isMarried
2
3,430
thread by: Alvin Bruney | last post Nov 13 '05 by: Simon Trew
COM object with CLSID {0002E556-0000-0000-C000-000000000046} is either not valid or not registered. This is coming from the webserver. I've downloaded the office PIA's. Used the register.bat. I'm stump as to what to do next. The structure of the registry folder is different from what my machine looks like. I have 13 sub folders under this...
1
7,535
thread by: adam | last post Nov 13 '05 by: Thomas Scheidegger [MVP]
Hi, I am having difficulty with the date time parse method: try{ System.IFormatProvider format = new CultureInfo("en- GB", true); DateTime dateActive = DateTime.Parse (txtDate.Text,format); }
0
4,760
thread by: All Rise | last post Nov 13 '05 by: All Rise
Hi, I wanna get a path for the gacutil utility. How do I do it? Thanx.
13
35,259
thread by: Chua Wen Ching | last post Nov 13 '05 by: Jon Skeet
Hi there. VB6 had this function called Asc('a') So how can i code that function in c#? I want to return an int. Regards, Chua Wen Ching :p
0
3,134
thread by: ka | last post Nov 13 '05 by: ka
I'm using Corwnwood.Magic library for docking in my application. My application to let the users to create their screen look to show some particular data. I treid to dock my things in the way, Left Side: ToolBox Middle: WorkPanel Right: Package Explorer + PropertyWindow WorkToolBox, Package Explore, PrepertyWindow : derived from Content

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.