Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: print a forms textbox data with out its background Pin
teejayem24-Jul-08 2:30
teejayem24-Jul-08 2:30 
QuestionCan't find PInvoke DLL 'dbnetlib.dll Pin
harcaype23-Jul-08 21:21
harcaype23-Jul-08 21:21 
AnswerRe: Can't find PInvoke DLL 'dbnetlib.dll Pin
Christian Graus23-Jul-08 23:39
protectorChristian Graus23-Jul-08 23:39 
AnswerRe: Can't find PInvoke DLL 'dbnetlib.dll Pin
harcaype24-Jul-08 2:01
harcaype24-Jul-08 2:01 
Questioncalling c# library in java through JNI Pin
kapilbansal8923-Jul-08 20:39
kapilbansal8923-Jul-08 20:39 
QuestionOnBeforeInstall and OnAfterInstall Events of the Configuration.Install.Installer class are not raised Pin
Shrikant Gujar23-Jul-08 20:15
Shrikant Gujar23-Jul-08 20:15 
AnswerRe: OnBeforeInstall and OnAfterInstall Events of the Configuration.Install.Installer class are not raised Pin
Eduard Keilholz24-Jul-08 1:02
Eduard Keilholz24-Jul-08 1:02 
Questioniterating in excel sheet Pin
Mogaambo23-Jul-08 19:58
Mogaambo23-Jul-08 19:58 
HI, I want to iterate only those rows of excel sheet where the data have written, means if user has filled only first 15 rows then my loop should iterate to 15 only,hO wcan i do that Below is sample code which iterates up to 65536 rows,unnecessarily ,but the data are present only in first 15 or 18 rows. Please give me a solution or an idea

This is my sample code

Microsoft.Office.Interop.Excel.Application Excelobj = new Microsoft.Office.Interop.Excel.Application();
if (Excelobj == null)
{
MessageBox.Show("Excel couldn't be started", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}

Workbook workbook = Excelobj.Workbooks.Open(fdgExcel.FileName,Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing , Type.Missing, Type.Missing);

Sheets sheets = workbook.Worksheets;
Worksheet worksheet = (Worksheet)sheets.get_Item(1);


for (int i = 2; i < worksheet.Rows.Count;i++ )
{
Range range = worksheet.get_Range("A" + i.ToString(), "C" + i.ToString());
}
AnswerRe: iterating in excel sheet Pin
Jimmanuel24-Jul-08 3:19
Jimmanuel24-Jul-08 3:19 
Questionc# Pin
lankaudaranga23-Jul-08 19:07
lankaudaranga23-Jul-08 19:07 
AnswerRe: c# PinPopular
Christian Graus23-Jul-08 23:40
protectorChristian Graus23-Jul-08 23:40 
AnswerRe: c# Pin
Paul Conrad27-Jul-08 19:09
professionalPaul Conrad27-Jul-08 19:09 
QuestionSize of attachments to mail send? Pin
Member 387988123-Jul-08 19:05
Member 387988123-Jul-08 19:05 
AnswerRe: Size of attachments to mail send? Pin
stancrm23-Jul-08 19:26
stancrm23-Jul-08 19:26 
AnswerRe: Size of attachments to mail send? Pin
N a v a n e e t h23-Jul-08 19:35
N a v a n e e t h23-Jul-08 19:35 
GeneralRe: Size of attachments to mail send? Pin
Member 387988123-Jul-08 20:06
Member 387988123-Jul-08 20:06 
GeneralRe: Size of attachments to mail send? Pin
N a v a n e e t h23-Jul-08 20:33
N a v a n e e t h23-Jul-08 20:33 
GeneralRe: Size of attachments to mail send? Pin
Member 387988123-Jul-08 20:44
Member 387988123-Jul-08 20:44 
QuestionError converting Int64 to Int32 and vice versa Pin
JoeRip23-Jul-08 18:45
JoeRip23-Jul-08 18:45 
AnswerRe: Error converting Int64 to Int32 and vice versa Pin
half-life23-Jul-08 19:48
half-life23-Jul-08 19:48 
GeneralRe: Error converting Int64 to Int32 and vice versa Pin
JoeRip23-Jul-08 19:57
JoeRip23-Jul-08 19:57 
AnswerRe: Error converting Int64 to Int32 and vice versa Pin
Robert.C.Cartaino24-Jul-08 8:30
Robert.C.Cartaino24-Jul-08 8:30 
GeneralRe: Error converting Int64 to Int32 and vice versa Pin
JoeRip24-Jul-08 10:44
JoeRip24-Jul-08 10:44 
QuestionCan you get the resualt? help me, please! Pin
sgncdc23-Jul-08 17:56
sgncdc23-Jul-08 17:56 
AnswerRe: Can you get the resualt? help me, please! Pin
half-life23-Jul-08 19:41
half-life23-Jul-08 19:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.