Click here to Skip to main content
15,892,161 members

Comments by gani7787 (Top 138 by date)

gani7787 23-Jan-20 23:30pm View    
Dear All,
pls. give us the correct direction to follow and print the data table values in appropriate cells in excel column based on my reference table...
gani7787 23-Jan-20 23:28pm View    
ok.i understood..can you pls. suggest me how to print in particular column values...?
gani7787 23-Jan-20 6:16am View    
int TotRows = dtMaster.Rows.Count; ==> This will count total number of data rows. ==> I think, this is not required.
TotRows = 12 + TotRows; ==> I want to print the data from Row no : 12

You can remove the above two steps also.

The aim is, data table values should start print from row.no:12 in the appropriate columns....
gani7787 23-Jan-20 5:56am View    
Thanks for your help...

getting error in the line as below

var tmp = dt.Rows[i][0].ToString();

Error : An unhandled exception of type 'System.IndexOutOfRangeException' occurred in System.Data.dll

Additional information: There is no row at position 3.

Ps : Can i print all the column values in the approriate excel column..?

pls. refer below screen shot for your reference.

https://1drv.ms/u/s!AiSRcgO5FUmNdcjWYVAuQiC8yuY?e=Y5fbJh
gani7787 29-Apr-19 3:23am View    
Below is my Request XML.

Request xml :

<s:envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:header>
<servicecontext token="temporary/127.0.0.1-1205239338115-25203285"
xmlns="http://context.core.datamodel.fs.documentum.abc.com/">
<identities xsi:type="RepositoryIdentity"
username="*****"
password="*****"
repositoryname="Test"
domain=""
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<runtimeproperties>


<s:body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<execute xmlns="http://core.services.fs.documentum.abc.com/">
<query xsi:type="q1:PassthroughQuery"
querystring="select Emp_id from employee where emp_number ='A-10101-SEC-A'" //passing emp_number
xmlns=""
xmlns:q1="http://query.core.datamodel.fs.documentum.abc.com/">
<q1:repositories>Test

<execution startingindex="0"
maxresultcount="100"
maxresultpersource="50"
cachestrategytype="DEFAULT_CACHE_STRATEGY"
xmlns="">