All the values are exported as string. if it is 7.01, it works fine. but if it 7.0, then excel shows it as 7. Thanks,
vijju
All the values are exported as string. if it is 7.01, it works fine. but if it 7.0, then excel shows it as 7. Thanks,
vijju
Only values like 7.0 is being exported into excel as 7. if it is a default number formating, then how do you get around it, and just show the value as it is 7.0 in excel. thanks,
vijju
Hi, I am dynamically exporting data from asp.net page to excel format which works fine, but when I am exporting a float value 7.0 is being exported as 7 to the excel spread sheet. It is truncating the trailing zero and the decimal point. Thanks,
vijju
Hi Heath, thanks for replying. actually i am not very good at vb, but i am a little comfortable programming with c#. that is one reason i wanted to convert that code into c#. also, i wanted to know more about coupling and de-coupling, if i want to run my .dll project (which is going to be plug-in) as an executable at the same time. if you suggest any examples or material to follow-up the understand the architecture design, that will be GREAT. and also i didn't knew that my question was posted more than one time, and sorry about that.. Thanks vijju
Hi, can anyone help me converting vb.net code given below into c#. I tried some converting tools but it will put the same code in c# and will give reference to Microsoft.VisualBasic.Compatibility, but i don't want that. i want the c# code for this method without using the reference to Microsoft.VisualBasic.Compatibility, also, if i have .dll project, how do i convert the .dll executable at the same time.. i appreciate ur help. Thanks... vb.net code ------------- Private Function GetSingleProperty(ByRef sElementName As String) As String Dim vValues As Object vValues = g_pPropSet.GetProperty(sElementName) If IsNothing(vValues) Then GetSingleProperty = "" ElseIf VarType(vValues(LBound(vValues))) <> VariantType.String Then GetSingleProperty = "" Else GetSingleProperty = vValues(LBound(vValues)) End If End Function vijju
Hi, can anyone help me converting vb.net code given below into c#. also, if i have .dll project, how do i convert the .dll executable at the same time.. i appreciate ur help. Thanks... vb.net code ------------- Private Function GetSingleProperty(ByRef sElementName As String) As String Dim vValues As Object vValues = g_pPropSet.GetProperty(sElementName) If IsNothing(vValues) Then GetSingleProperty = "" ElseIf VarType(vValues(LBound(vValues))) <> VariantType.String Then GetSingleProperty = "" Else GetSingleProperty = vValues(LBound(vValues)) End If End Function vijju