| |
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:
...
|
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...
|
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
|
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...
|
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...
|
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.
|
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
|
| |
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...
|
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
|
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();
|
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.
|
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,
|
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
|
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)
{
|
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"));
|
| |
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...
|
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...
|
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
|
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.
|
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
|
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...
|
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);
}
|
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.
|
| |
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
|
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
|