Click here to Skip to main content
16,008,075 members
Home / Discussions / C#
   

C#

 
QuestionC# .Net 2005 - Question about .Row.Add(new object[]{...,...}) Please help! Pin
JC Carmo22-Feb-06 20:19
JC Carmo22-Feb-06 20:19 
AnswerRe: C# .Net 2005 - Question about .Row.Add(new object[]{...,...}) Please help! Pin
Christian Graus22-Feb-06 20:37
protectorChristian Graus22-Feb-06 20:37 
QuestionRe: C# .Net 2005 - Question about .Row.Add(new object[]{...,...}) Please help! Pin
JC Carmo22-Feb-06 20:42
JC Carmo22-Feb-06 20:42 
AnswerRe: C# .Net 2005 - Question about .Row.Add(new object[]{...,...}) Please help! Pin
Christian Graus22-Feb-06 20:47
protectorChristian Graus22-Feb-06 20:47 
GeneralRe: C# .Net 2005 - Question about .Row.Add(new object[]{...,...}) Please help! Pin
JC Carmo22-Feb-06 20:53
JC Carmo22-Feb-06 20:53 
GeneralRe: C# .Net 2005 - Question about .Row.Add(new object[]{...,...}) Please help! Pin
Christian Graus22-Feb-06 20:56
protectorChristian Graus22-Feb-06 20:56 
QuestionGeneate XML file from Excel Worksheet----Urgent Help me Pls Pin
winpoorni22-Feb-06 20:15
winpoorni22-Feb-06 20:15 
AnswerRe: Geneate XML file from Excel Worksheet----Urgent Help me Pls Pin
veeru_syd27-Feb-06 12:55
veeru_syd27-Feb-06 12:55 
You can use dataset.GetXml method to get the xml

private const string xcel_CONN_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=Excel 8.0;";

internal DataSet GetExcelDataToDataSet(string filepath, string sheetname)
{

OleDbConnection cn = null;
OleDbDataAdapter da = null;
DataSet ds = null;

try
{
cn = new OleDbConnection(string.Format(xcel_CONN_STRING, filepath));
cn.Open();
da = new OleDbDataAdapter(string.Format(xcel_sql, sheetname), cn);
ds = new DataSet();
da.Fill(ds);
return ds;

}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
finally
{
if(cn != null)
{
cn.Close();
cn.Dispose();
}
}
}
QuestionHow to set DataGridViewButtonColumn 's Enabled Pin
renmudi22-Feb-06 20:05
renmudi22-Feb-06 20:05 
QuestionPrinting using WMI Pin
raheeli22-Feb-06 20:04
raheeli22-Feb-06 20:04 
QuestionAdd Icon to Menu Item Pin
Praveen_S22-Feb-06 20:04
Praveen_S22-Feb-06 20:04 
QuestionHow to create simple boolean property for usercontrol, so, that it shows in IDE property page? Pin
Oskars22-Feb-06 19:43
Oskars22-Feb-06 19:43 
AnswerRe: How to create simple boolean property for usercontrol, so, that it shows in IDE property page? Pin
Praveen Nayak23-Feb-06 19:49
Praveen Nayak23-Feb-06 19:49 
QuestionRedirecting Std Input, Output and Error Pin
Dribble22-Feb-06 19:34
Dribble22-Feb-06 19:34 
QuestionMySQL vs. SQL Server Pin
Expert Coming22-Feb-06 19:30
Expert Coming22-Feb-06 19:30 
AnswerRe: MySQL vs. SQL Server Pin
emran83422-Feb-06 19:40
emran83422-Feb-06 19:40 
GeneralRe: MySQL vs. SQL Server Pin
Expert Coming22-Feb-06 19:42
Expert Coming22-Feb-06 19:42 
GeneralRe: MySQL vs. SQL Server Pin
emran83422-Feb-06 19:50
emran83422-Feb-06 19:50 
QuestionHow to store images in dll? Pin
Oskars22-Feb-06 19:24
Oskars22-Feb-06 19:24 
AnswerRe: How to store images in dll? Pin
Alomgir Miah22-Feb-06 19:30
Alomgir Miah22-Feb-06 19:30 
GeneralRe: How to store images in dll? Pin
Oskars22-Feb-06 19:36
Oskars22-Feb-06 19:36 
QuestionPanel autoscrollposition hell! Pin
NewbieDude22-Feb-06 19:06
NewbieDude22-Feb-06 19:06 
QuestionMapping of Excel sheet into Access Table by using C# code Pin
vivekdeshpande22-Feb-06 18:46
vivekdeshpande22-Feb-06 18:46 
AnswerRe: Mapping of Excel sheet into Access Table by using C# code Pin
Acheive_it22-Feb-06 23:29
Acheive_it22-Feb-06 23:29 
AnswerRe: Mapping of Excel sheet into Access Table by using C# code Pin
Acheive_it23-Feb-06 18:01
Acheive_it23-Feb-06 18:01 

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.