C#
Hi,
I am a new software developer, i am using C# to build programs, actually my problem is little bit complicated,
Actually i want to change the color of Column Header in DataGridView,
Here is the dataGridView,
I want to change the color of the column header of the DataGridView to blue.
is it possible to do that or not?
if yes then can anyone guide me how can i do that?
Thanks.
- 2837 views
- 1 answers
- 1 votes
Hi all,
I am having trouble in using to my own defined library, I successfully reference my .dll file and used its all classes.
Now the problem starts when i run the program, actually the program failed to load that .DLL file it Popup with the following message.
Failed
The Module "mac.dll" failed to load.
Can anybody help me regarding this problem?
- 1504 views
- 1 answers
- 0 votes
My website won’t connect to the database. I am using SQL Server 2008 as database and I want to connect to it using webconfig.
I use a key inside AppSettings and put server name, database name, user id and password to the value of the key however it does not work.
I can assure you that all the values for the items above are correct so I don’t know why I am still getting this kind of error.
Please see image below for error details.
<appSettings>
<addkey="ConnectionString"value="server=Myserver;database=Mydatabase;Trusted_Connection = true;"/>
</appSettings>
- 1649 views
- 1 answers
- 0 votes
Hi,
I made a new website and I am transferring all web user controls from old website to my new one. I made web user controls (.ascx files) on my previous website and I am putting it inside a .aspx page of my newly created website. My problem with this is that I am getting an ajaxToolkit error (I used ajaxToolkit:ValidatorCalloutExtender on my control) on the design view of the .aspx page(see image below). I tried to add ajaxToolkit to references but I cannot see it in the list of references.
Error Rendering control – Country1
An unhandled exception has occurred.
Unknown server tag 'ajaxToolkit:ValidatorCalloutExtender'.
- 4187 views
- 2 answers
- 0 votes
Hello,
Can someone please help me with this error I got when the row_editing event of my gridview fired and validated my data entry fields such as textboxes, dropdownlists, etc? I am using required field validators to validate my controls and asp validation summary to provide a summarized error message of all required validators within my page.
I don’t know why this particular error occurred but I know it has something to do with validation since after I removed the validation in all controls, I got no errors. However, I really need validators on my page since it is a requirement in the project so I need to sort this error out. Please see the image below for the exact error message.
- 2671 views
- 2 answers
- 0 votes
Good day!
I am creating a C# web application (.aspx) that has the capability to upload files (any type of file will do as long as it has the capability to upload) and it is a requirement that this upload be put in a modal pop up. I am using asp:File Upload inside a panel to upload files and a jquery to transform the panel into a modal popup.
- 2614 views
- 1 answers
- 1 votes
Hello all,
I am developing an application in C# and got stuck with this problem. I want to display information of person profile using labels. But there was one field in my database that has long content. It overlaps the form and kind of messing up the whole thing. I want the label to break the line upon hitting the given width or likely wrapping it in a certain boundary. How can I do that? Any idea? This is really annoying me.
Thank you so much.
- 4778 views
- 2 answers
- 1 votes
Hello guys,
I want to develop Virtual Network Computing (VNC) application using C#. I want to manage my pc even if i'm in the office just like Remote Desktop of windows. The problem of Remote Desktop is that it forces the current user to log off before accessing the PC. I try to search the internet and found out that it is VNC that can make it possible. The problem is that there were insufficient information and I'm still clueless on how to develop this kind of application. Can you give me any idea? Thank you.
John James
- 2385 views
- 1 answers
- 0 votes
Hi! I want design a code for a TRIANGLE in such a way that first the code should ask for the three INPUTS from the user. The executer will check if all three sides are equal it will show a message that triangle is RIGHT-TRIANGLE. Otherwise it will show a message that enter three inputs again. This LOOP will be continued until you get RIGHT-ANGLE triangle.
- 2013 views
- 2 answers
- 0 votes
Hi guys,
I'm developing a system for our Human Resource Management. The system includes displaying of employee's profile with picture. But I got some trouble on the employee's picture. I have successfully stored it on mysql database, however, when I tried to retrieve it, an error occurred. MemoryStream parameter was not valid. Can anyone help me on this?Here is my code below:
- 4450 views
- 2 answers
- 1 votes