|
hi every one in world of codeproject !
Q) How can i add datagridview in a special column of another datagridview?
for exp:
i wanna to add another datagridview to dgvTell.columns[0] :
something like this :
dgvTell.columns.Add(another datagridview);
efrew
|
|
|
|
|
Um, you could try doing a google/bing/whatever search for "Nested Datagridview".
That will even give you the codez.
|
|
|
|
|
Class not Registered (Exception from HRESULT:0x80040154(REGDB_E_CLASSNOTREG))
how should i solve this...
|
|
|
|
|
You can start here[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi all,
Sorry for the inconvenience but it seems that Google can't help me out here.
I have a Textbox in a windows form in which the property 'accepts tab' has been set to true.
When pressing the tab key it works as expected, the cursor moves forward.
However when pressing shift + tab the cursor also moves forward instead of the expected backward.
Does anyone have an idea as to why this happens?
Thx in advance,
Jeff
|
|
|
|
|
Have you checked your tab order?
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|
|
Hi OriginalGriff,
Thx for the swift reply.
Yes I have checked the taborder, but it actually has little to do with tab order.
The behaviour that I would like to see is to be able to tab text forward and backward.
It's not about going to the next control. It's more about using the tab as indentation and then be able to increase or decrease the indentation of the selected text as well as indenting a new line in a multiline textbox.
Greetz and thx,
Jeff
|
|
|
|
|
Sorry - my bad! I misread your original question.
Don't know about Shift+Tab in a textbox, never needed to try it... Good luck!
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|
|
That's default behaviour of textbox control
============================================
The grass is always greener on the other side of the fence
|
|
|
|
|
This is how TextBox and RichTextBox are supposed to behave. You've probably noticed the alternate custom behavior in, say, Visual Studio or MS Word. To implement this, you'll have to capture SHIFT+TAB and implement it yourself.
|
|
|
|
|
I have a C# CGI app that I have to modify so that it can accept file uploads from (company internal) web users. The app currently only expects 'regular' form data (ie, text name/value pairs).Can anyone point me to something that tells how to handle the file contents?
I've got the HTML form set up as a POST with 'enctype="multipart/form-data"', but I don't know how to handle the multipart form content on the server side. Currently, the app just uses 'Console.In.ReadToEnd()' to get the form contents and then splits the resulting string on '&' to get each name/value pair, and then splits those on '=' to get each name and value. Obvisouly, that doesn't work for multipart/form-data.
Any suggestions? And no, rewriting the app in ASP.NET is not an option currently.
Dave
|
|
|
|
|
hi,this is sudhir.i am doing a call center project software using c#.everything is complete.the main thing is to attain call from customer through software and also make call to customer.hows it possible?please give me some idea how to implement this features in my project.its important.
|
|
|
|
|
sudhir behera wrote: call center project
sudhir behera wrote: everything is complete
sudhir behera wrote: call from customer through software and also make call to customer
sudhir behera wrote: how to implement this features
Is it just me?
DaveIf this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
|
|
|
|
|
Nope, I think I saw something similar a couple weeks ago... and I will reply the same, if you don't know how to do it, I'll be more than happy to do it for you... I can send you my rates if you're interested
I want to die like my grandfather- asleep, not like the passengers in his car, screaming!
|
|
|
|
|
|
|
Sadly this can get quite complex. There's a project here on the site that implemented something similar.
The best option is to search for MyXaml. It's an opensource XAML parser that contains code to do this.
I hope this helps.
|
|
|
|
|
I'm not sure what you're asking.
Do you need to dynamically load the mydll Assembly?
|
|
|
|
|
No. I can load my assembly.
What i need is to load the values of my properties from the xml file.
I'm serializing the values of my properties, but if the property is a basic type (int, float, string...) there is no problem, the problem is when my property is the type Myclass, I can not load again my values.
|
|
|
|
|
|
Sorry, but the ploblem is not with the serialization, is loading the data.
The error always says that is not possible to load the assembly.
Any way, thank you
|
|
|
|
|
billy_iii wrote: No. I can load my assembly.
billy_iii wrote: the ploblem is not with the serialization, is loading the data.
Now which way is it?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I have a winforms application (C# 2008 Express Edition), and I want the user to be able to drag and drop the columns to a different position in the DataGridView.
The DataGridView is unbound, and is populated with data on opening of the form, the columns are programmatically set.
I have "AllowUserToOrderColumns" set to true, but i can't reposition the columns.
Is it possible to reposition columns, and if so how do I accomplish this.
TIA,
Rob
|
|
|
|
|
|
Paw Jershauge wrote: Try display this in the PropertyGrid.
I've tried using your code, and it seems to work;
public partial class MainForm : Form
{
PropertyGrid grid = new PropertyGrid();
Demo myDemo = new Demo();
public MainForm()
{
InitializeComponent();
grid.Dock = DockStyle.Fill;
grid.SelectedObject = myDemo;
Controls.Add(grid);
}
}
public class Demo
{
[Category("Behavior")]
public int Total
{
get;
set;
}
} Are you inheriting from Object , as the snippet suggests?
I are Troll
|
|
|
|