Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
25% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
4
Posts with Downvotes
2
Downvoting Members
4
3 Commented Posts
0 Endorsements
Ranked #779
~41.9K People Reached
Favorite Tags

125 Posted Topics

Member Avatar for papuccino1
Member Avatar for phephe

int fact(int rank) { for(int i = 1; i<rank;i++) i *=1; return i ; } try this, I don't test it you can test it

Member Avatar for Armen_2
0
2K
Member Avatar for omoz4real

Ok, I give u details or a road map about ADO.Net I think it's interessant to know that from at first. At contrast of the ADO plus where the connected mode is only connected , In the ADO.NET there are two modes, namely, the connected mode and the disconnected mode. …

Member Avatar for garymedina
0
3K
Member Avatar for kobi

I guess that I understand your question u can use the code treeView1.Nodes.Insert(2, new TreeNode("Forth tree node"));

Member Avatar for JirkaJirka
0
213
Member Avatar for IT_Techno

Ok, IT_Techno there is a library that could helps you to perform your task [URL="http://itextsharp.sourceforge.net/"]The iTextSharp[/URL] Here is a tutorial how to use it to convert your own document to pdf files within your own application Tutorial [URL="http://itextsharp.sourceforge.net/tutorial/index.html"]http://itextsharp.sourceforge.net/tutorial/index.html[/URL]

Member Avatar for mfran
0
1K
Member Avatar for luckydude

try this link it is for free and also consistant [url]http://www.c-sharpcorner.com/Beginners/[/url]

Member Avatar for geric823
0
940
Member Avatar for viswa_007

I understood what you mean exactly, but the datagridview doesn't offer this possibility because cells have to be from a unique type for a given column

Member Avatar for Janice44
0
1K
Member Avatar for Krimi

first of all you must install the visual tools for office in your computer Excel.Worksheet oWorksheet = (Excel.Worksheet)YourApplication.ActiveWorkbook.ActiveSheet; oWorksheet.Cells[1,1]="populated";

Member Avatar for SuperSid
0
335
Member Avatar for frmsasp

You can use any culture that supports the dd-mm-yy format like the french one, for example to format the date time now in a format dd-mm-yy i can do as follow: cultureInfo culture = new cultureinfo("fr-FR"); string oFormatedDate = dtNow.ToString("d", culture); but the Ketanbece solution is better even it uses …

Member Avatar for amitesh kaushik
0
4K
Member Avatar for serkan sendur

I think that in addition to what has said in [url]http://fci-h.blogspot.com/2008/03/oo...rfaces_05.html[/url] about interfaces witch i find very interesting in fact. I can add other think Interfaces are comming to the world to avoid the multiples inheritences concept adopted for example by C++ language that causes somes problems and confusions when …

Member Avatar for Sam.ars
0
1K
Member Avatar for Indianblues
Member Avatar for adchopra
0
89
Member Avatar for rahilameen

Here is a code to do that public void ConnectToAccess() { System.Data.OleDb.OleDbConnection conn = new System.Data.OleDb.OleDbConnection(); database. conn.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data source= @"path \AccessFile.mdb"; try { conn.Open(); // Insert code to process data. } catch (Exception caught) { MessageBox.Show(caught.Message); } finally { conn.Close(); } }

Member Avatar for msubash78
0
1K
Member Avatar for omoz4real

I guess that u didn't update your dataBase after each operation u know that the ADO.Net works in a disconnected mode that means every changements are made at the data set level and not in the dataBase to update your data Base u must use the DataAdapter.update() method

Member Avatar for youtubeline
0
160
Member Avatar for blazted

I guess that u should use this way that I give for u it is more professional add using `System.Text.RegularExpressions;` to your project then Define a Regex object `Regex FormatControl = new Regex(@"\D");` the `@"\D"` indicate that only numeric expressions would be accepted then and this if block rtbQuantity if …

Member Avatar for Nick Evan
0
555
Member Avatar for 1qaz2wsx7

I give u a brief peace of code First u must include using System.Net.Mail; //Initialize an SMTP client SmtpClient objSmtpClient = new SmtpClient(); MailMessage objMail = new MailMessage(); // Precise the mail adress sender and reciever MailAdress oSenderAdress = new MailAdress("dsd@dsdd.fd"); MailAdress oRecieverAdress = new MailAdress("sdsd@dsdsd.fd"); //Parameter the objMail objMail.From …

Member Avatar for Seema
0
2K
Member Avatar for johnroach1985

u can do that using the GDI+ built in library witch contains a very useful classes to accomplish such purposes

Member Avatar for bk_bhupendra
0
394
Member Avatar for free_eagle

[URL="http://www.programmersheaven.com/2/CSharpBook"]http://www.programmersheaven.com/2/CSharpBook[/URL]

Member Avatar for gira
0
342
Member Avatar for iamrashid
Member Avatar for btech_Saurabh

There are for algorithms of encryption/decryption with in the .Net framework DES algorithm, RC2 algorithm, Rijindael algorithm and TripleDES algorithm they are represented as classes First step is to include directive of cryptography witch is System.Security.Cryptography Second step is to create your own key, to do that string password = …

Member Avatar for aungzy24
0
141
Member Avatar for Jx_Man

I guess that u want print a current DataGridViewCell value to the text box u should implement the DataGridView_Click(object sender, dataGrideventArgs e) event handler by the appropriate code public void yourDataGridView_Click(object sender, DataGridViewEventHandler e) { /*Put the value of the current cell that has the focus into oString */ string …

Member Avatar for lksath
0
351
Member Avatar for shraddha24
Member Avatar for LizR
0
160
Member Avatar for FlamingBlade

The Uri type is not string so you have to implement the code as follow [CODE] webBrowser1.Url = new Uri( "file:\\webpage\Maphs v1.htm"); [/CODE]

Member Avatar for FlamingBlade
0
165
Member Avatar for emilio
Member Avatar for schmidty169
Member Avatar for sivak
Member Avatar for pavanbandi

[url]http://itextsharp.sourceforge.net/[/url] May this library helps you to handle pdf using C#

Member Avatar for Jugortha
0
132
Member Avatar for Catherinedally
Member Avatar for MRafeie
Member Avatar for Gaurav arora

This is a sample using 4 columns id quantity unit price and a dynamically added column that caucates the total for the grand total you have to add a text box at the bottom of the page and summarize all values in the column 3 DataGridViewTextBoxColumn TotalColumn; private void Form1_Load(object …

Member Avatar for EastStreetEagle
0
129
Member Avatar for sivak

Windows application is the desktop application like word excel those are windows applications web application are simply the web site like dany web

Member Avatar for bondo
0
118
Member Avatar for naveen_arc
Member Avatar for lich

If you use the console to input data then use Console.ReadLine() as follow Say that you want to enter a string Console.WriteLine("enter your name"); string Name = Console.ReadLine(); Now if you want enter variable other than string Console.WriteLine("Enter your age"); int Age = Convert.ToInt32(Console.ReadLine());

Member Avatar for ddanbe
0
194
Member Avatar for sivak
Member Avatar for sivak
0
110
Member Avatar for sivak

There are a didderence between abstract classes and interfaces, the abstrac classes are used to derive new objects, like humanoid that we could use to derive Persons, Monkey chid types public class Humaoid { public Humanoid(){} public void StandOnTwoFeet(){} public void Walk() { //TO DO some code implementations here } …

Member Avatar for sivak
0
208
Member Avatar for dickersonka

Could you tell me what is your final purpose may I give you better idea

Member Avatar for Jugortha
0
149
Member Avatar for gofinmath

What is your request, do you need some help on doing a C# project for example?

Member Avatar for rapture
0
94
Member Avatar for obscured47
Member Avatar for obscured47
0
144
Member Avatar for amitj

It is impossible to add a datagridviewrow to a data bound data grid, if you do you will recieve an exception at run time

Member Avatar for Jugortha
0
175
Member Avatar for piyakuber

if you want video streaming [url]http://www.cogitance.com/files/videoprocessing/videoprocessing.htm[/url] If you want to use webcam [url]http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx?ArticleID=ff4fcbec-be17-45ee-9a84-556c5a2107a7[/url]

Member Avatar for Jugortha
0
66
Member Avatar for Tank50

No, If you have the right tlb you have to generate a dll file issued from it using the dotnet tool Regasm.exe statr>all program>visual studio 200*>Visual studio tools>Command prompt then type regasm path\yourfile.tlb path\yourSugesstedName.dll then register it using regsvr32.exe tool using the console C:\WINDOWS\System32\regsvr32 path\yournew generated dll

Member Avatar for Tank50
0
119
Member Avatar for CTOBiz

You can create an Isolated storage files within the flash and set the securitypermissions so that reading accessing and writting from and to that isolated storage file is under control

Member Avatar for topsy_uno
0
103
Member Avatar for sivak
Re: hi

you can identify each assembly by its version you can go the the assemblyinfo.cs within the project you will find there all information about a given assembly

Member Avatar for Jugortha
0
83
Member Avatar for sivak
Re: hi

In addition to what LizR said You can create your costum exception too ex: public class OddNumbersException:ApplicationException { public OddNumbersException() :base("Odd numbers not accepted"){} } in the Core programm you can throw and catch the new exception for example if( x Mod 2 != 0) { throw new OddNumbersException(); } …

Member Avatar for Jugortha
0
75
Member Avatar for mrkcse

It's very simple you can do this in one single line First, include the System.IO; if you have permission to read from files string Contents = new StreamReader(path).ReadToEnd();

Member Avatar for LizR
0
131
Member Avatar for mandrake747

In addition to what the charmant Antenka said you can derive an object form the datagridview and ovveride the protected method OnCellValueChanged to change the cell backcolor you can use the celltemplate property of the datagridcolumn object

Member Avatar for Jugortha
0
108
Member Avatar for sivak

A static method belongs to the class rather than to the objects of the class. using System; class MyClass { private static int x = 20; private static int y = 40; public static void Method() { Console.WriteLine("{0},{1}",x,y); } } class MyClient { public static void Main() { MyClass.Method(); } …

Member Avatar for Jugortha
0
81
Member Avatar for Tank50

In the configuration file the *.config file make this modification using the binding redirect element to redirect your appliation to use the new version and it will work <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="AssemblyName" publicKeyToken="32ab4ba45e0a69a1" culture="neutral" /> <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>

Member Avatar for Jugortha
0
115
Member Avatar for sivak

when we go for webservices in .net webapplications? example plz? 2.what is mean by delegate and asynchronous delegate in .net 3.static method with example?plz A web service is used like any other applications that provide services like dll for example it could hold a set of web methods those serves …

Member Avatar for Jugortha
0
122
Member Avatar for sivak

OK, for the first question The dictionaries are a sort of collections those represent a collection of keys and values, each value corresponds to a unique key, they could be used also in a generic context exemple: Dictionary<int, string> oDictionary = new Dictionary<int, string>(); oDictionary.Add(1, "One"); oDictionary.Add(2, "Two"); oDictionary.Add(3, "Three"); …

Member Avatar for Jugortha
0
159
Member Avatar for Tank50
Member Avatar for LizR
0
99

The End.