Click here to Skip to main content
13,042,307 members (93,052 online)

Comments by aref.bozorgmehr (Top 22 by date)

aref.bozorgmehr 28-Sep-13 19:04pm View
thanks but when we use " WriteToFile<t>(List<t> YourList)" can't to use Name and ID
your way is true when we use "static public void WriteToFile(List YourList)"
aref.bozorgmehr 27-Sep-13 21:49pm View
i don't have problem with excel i want get data from function like my example but when i send data for function i don't know how can i receive that and use in a loop
aref.bozorgmehr 27-Sep-13 20:31pm View
yes i read generic but i want when i send List<class> to this function the function writ data to excel file
like this
for (int i = 0; i < YourList.count(); i++)
excelWorksheet.Cells[i + 1, "A"] = ID;
excelWorksheet.Cells[i + 1, "B"] = Name;
aref.bozorgmehr 27-Sep-13 19:42pm View
i want when i send item<anyclass> to this function the function writ data to excel file

for (int i = 0; i < YourList.count(); i++)
excelWorksheet.Cells[i + 1, "A"] = //here what can i to do ;
aref.bozorgmehr 27-Sep-13 19:07pm View
I know that, when i use your way and i get result from first.tostring() inseted data i have below result
aref.bozorgmehr 12-Aug-13 2:13am View
we can't because maybe max+1 use with another user
aref.bozorgmehr 11-Aug-13 23:32pm View
yes i use sql and my ID field is Identity
but my problem is when i insert data
look at this
insert into TblSellDocument(...) value(...)
insert into TblSellProduct(IDDocSell) value(?)
?=> where can i find TblSellDocument.IDDocSell in last insert
aref.bozorgmehr 10-Aug-13 18:10pm View
you are fantastic so thanks
aref.bozorgmehr 10-Aug-13 17:39pm View
i fill may data grid with linq to entity when i use your link solution my result is null
aref.bozorgmehr 10-Aug-13 15:32pm View
i have this Error The name 'DataGridItemSource' does not exist in the current context
aref.bozorgmehr 23-Jul-13 19:10pm View
what can i do ?
aref.bozorgmehr 23-Jul-13 17:32pm View
i have a data base that's not mine
i want to send sms for each user
aref.bozorgmehr 13-Jul-13 15:39pm View
Please help i really need answer
aref.bozorgmehr 12-Jul-13 6:20am View
isn't true
aref.bozorgmehr 12-Jul-13 4:27am View
Error Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access.
aref.bozorgmehr 12-Jul-13 2:19am View
i clear commas bud still doesn't work
aref.bozorgmehr 12-Jul-13 1:29am View
what can i to do ?
aref.bozorgmehr 2-May-13 16:22pm View
I need answer please
aref.bozorgmehr 22-Apr-13 17:23pm View
yes it's ok Thanks
i want to get just ten row of each rank
what can i to do?
aref.bozorgmehr 21-Apr-13 12:59pm View
i want to select just 6 row in innerdatalist
arefba 5-Jan-12 17:37pm View
sorry but i cant do this

i want to edit any item with source code
arefba 1-Jan-12 14:09pm View
thanks , do you have example

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid