Click here to Skip to main content
15,881,715 members
Home / Discussions / C#
   

C#

 
QuestionHow to align Indian Language Marathi text in Crystal Report Pin
UpwardMF19-Jul-08 1:25
UpwardMF19-Jul-08 1:25 
Questionsetup and deploment wiindows application Pin
vishnukamath19-Jul-08 1:03
vishnukamath19-Jul-08 1:03 
QuestionExpire Date For Program? Pin
sitnet18-Jul-08 23:46
sitnet18-Jul-08 23:46 
QuestionMultiCast Group range Pin
DeepOceans18-Jul-08 23:36
DeepOceans18-Jul-08 23:36 
Questionhow to write to css file? Pin
mahmoud wafy18-Jul-08 23:19
mahmoud wafy18-Jul-08 23:19 
Questionindex was outside the bounds of the array Pin
NewToAspDotNet18-Jul-08 23:07
NewToAspDotNet18-Jul-08 23:07 
AnswerRe: index was outside the bounds of the array Pin
Mbah Dhaim19-Jul-08 0:39
Mbah Dhaim19-Jul-08 0:39 
Questionweb application to windows application format Pin
Member 387988118-Jul-08 21:39
Member 387988118-Jul-08 21:39 
Hi i created in my web application dynamically some excel files...,

Now same thing i want to do in windows apllication...,

But there i wont get any web.ui , web.ui.htmlcontrols and webcontrols..,

But using that one only i created excel files in my web application...,

Now insted of that interface what i have to implement it in windows application...,

Its my web app code:
for (int i = 0; i < DS.Tables.Count-1; i++)
{
System.Web.UI.WebControls.DataGrid grid = new System.Web.UI.WebControls.DataGrid();
grid.HeaderStyle.Font.Bold = true;

foreach (DataRow dr1 in DS.Tables[i].Rows)
{
foreach (DataRow dr2 in DS.Tables[i + 1].Rows)
{
if (dr1["MID"].ToString() == dr2["MID"].ToString())
{
if (!Directory.Exists(_path + "\\" + dr1["MID"].ToString() + @"\"))
{
Directory.CreateDirectory(_path + "\\" + dr1["MID"].ToString() + @"\");
string _XLSPATH = _path + "\\" + dr1["MID"].ToString() + "\\" + dr1["Name Of Employee"].ToString() + ".xls";

using (StreamWriter sw = new StreamWriter(_XLSPATH))
{
using (HtmlTextWriter hw = new HtmlTextWriter(sw))
{
grid.DataSource = DS.Tables[i];
grid.DataBind();
grid.RenderControl(hw);
}

}
}

I dont have knowledge about windows...,
Plz guide me

Thanks & Regards,
NeW OnE,
please don't forget to vote on the post

Questionlistbox Pin
netJP12L18-Jul-08 19:40
netJP12L18-Jul-08 19:40 
AnswerRe: listbox Pin
Mbah Dhaim19-Jul-08 0:58
Mbah Dhaim19-Jul-08 0:58 
AnswerRe: listbox Pin
Luc Pattyn19-Jul-08 1:40
sitebuilderLuc Pattyn19-Jul-08 1:40 
QuestionFile Expire ? Pin
sitnet18-Jul-08 19:02
sitnet18-Jul-08 19:02 
AnswerRe: File Expire ? Pin
N a v a n e e t h18-Jul-08 19:58
N a v a n e e t h18-Jul-08 19:58 
QuestionRe: File Expire ? Pin
sitnet18-Jul-08 23:42
sitnet18-Jul-08 23:42 
GeneralRe: File Expire ? Pin
Guffa19-Jul-08 1:12
Guffa19-Jul-08 1:12 
QuestionError provider in C#(Win forms) Pin
paytam18-Jul-08 16:52
paytam18-Jul-08 16:52 
AnswerRe: Error provider in C#(Win forms) Pin
William Ten Broek18-Jul-08 21:53
William Ten Broek18-Jul-08 21:53 
QuestionPath Pin
nelsonpaixao18-Jul-08 15:21
nelsonpaixao18-Jul-08 15:21 
AnswerRe: Path Pin
Scott Dorman18-Jul-08 18:25
professionalScott Dorman18-Jul-08 18:25 
AnswerRe: Path Pin
Scott Dorman18-Jul-08 18:36
professionalScott Dorman18-Jul-08 18:36 
QuestionDesign Form inside Form Pin
nelsonpaixao18-Jul-08 14:31
nelsonpaixao18-Jul-08 14:31 
AnswerRe: Design Form inside Form Pin
Luc Pattyn18-Jul-08 14:34
sitebuilderLuc Pattyn18-Jul-08 14:34 
GeneralRe: Design Form inside Form Pin
nelsonpaixao18-Jul-08 15:15
nelsonpaixao18-Jul-08 15:15 
QuestionHow does one get the name of a variable which is passed to a method? Pin
jeffb4218-Jul-08 12:42
jeffb4218-Jul-08 12:42 
GeneralRe: How does one get the name of a variable which is passed to a method? Pin
Mbah Dhaim18-Jul-08 13:03
Mbah Dhaim18-Jul-08 13:03 

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.