Click here to Skip to main content
15,899,025 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to embedd or bind any file to my app at runtime ? Pin
Saqib Mehmood17-May-06 18:17
Saqib Mehmood17-May-06 18:17 
GeneralRe: how to embedd or bind any file to my app at runtime ? Pin
hdv21217-May-06 19:55
hdv21217-May-06 19:55 
GeneralRe: how to embedd or bind any file to my app at runtime ? Pin
Saqib Mehmood17-May-06 20:08
Saqib Mehmood17-May-06 20:08 
GeneralRe: how to embedd or bind any file to my app at runtime ? Pin
hdv21217-May-06 22:56
hdv21217-May-06 22:56 
QuestionCustom User Control and VS.NET 2005 Pin
Drew McGhie17-May-06 12:00
Drew McGhie17-May-06 12:00 
AnswerRe: Custom User Control and VS.NET 2005 Pin
Ed.Poore17-May-06 12:09
Ed.Poore17-May-06 12:09 
GeneralRe: Custom User Control and VS.NET 2005 Pin
Drew McGhie18-May-06 3:22
Drew McGhie18-May-06 3:22 
AnswerRe: Custom User Control and VS.NET 2005 Pin
microsoc17-May-06 19:58
microsoc17-May-06 19:58 
QuestionNeed help in parsing MIME version 1.0 email message Pin
msolh17-May-06 10:52
msolh17-May-06 10:52 
AnswerRe: Need help in parsing MIME version 1.0 email message Pin
Kakuji17-May-06 18:48
Kakuji17-May-06 18:48 
Questionhow to add an image into resource library? Pin
Susuko17-May-06 10:43
Susuko17-May-06 10:43 
AnswerRe: how to add an image into resource library? Pin
Judah Gabriel Himango17-May-06 11:02
sponsorJudah Gabriel Himango17-May-06 11:02 
GeneralRe: how to add an image into resource library? Pin
Susuko17-May-06 11:18
Susuko17-May-06 11:18 
GeneralRe: how to add an image into resource library? Pin
Judah Gabriel Himango17-May-06 12:31
sponsorJudah Gabriel Himango17-May-06 12:31 
AnswerRe: how to add an image into resource library? Pin
stancrm18-May-06 2:43
stancrm18-May-06 2:43 
QuestionC# and MySQL Pin
Terji17-May-06 10:23
Terji17-May-06 10:23 
AnswerRe: C# and MySQL Pin
Guffa17-May-06 12:00
Guffa17-May-06 12:00 
QuestionTableLayoutPanel format Pin
reshsilk17-May-06 10:06
reshsilk17-May-06 10:06 
QuestionThe "\" character? Pin
Nick H. Lauritsen17-May-06 10:06
Nick H. Lauritsen17-May-06 10:06 
AnswerRe: The "\" character? Pin
Joshua Quick17-May-06 10:35
Joshua Quick17-May-06 10:35 
AnswerRe: The "\" character? Pin
stancrm18-May-06 2:45
stancrm18-May-06 2:45 
QuestionHow to save my DataTable, to my HD ? Pin
Tintin9217-May-06 9:52
Tintin9217-May-06 9:52 
Hello,

How to save my DataTable, to my HD ?
If I written something like that :


// Create a DataTable.
DataTable table = new DataTable("Product");

// Create a DataColumn and set various properties.
DataColumn column = new DataColumn();
column.DataType = System.Type.GetType("System.Decimal");
column.AllowDBNull = false;
column.Caption = "Price";
column.ColumnName = "Price";
column.DefaultValue = 25;

// Add the column to the table.
table.Columns.Add(column);

// Add 10 rows and set values.
DataRow row;
for (int i = 0; i < 10; i++)
{
row = table.NewRow();
row["Price"] = i + 1;

// Be sure to add the new row to the
// DataRowCollection.
table.Rows.Add(row);
}

And now I want to save my DataTable, to my HD in the current directory with a name like "MyDataTable.mdb" ?
How I code it ?

Thanks.

Tintin92
AnswerRe: How to save my DataTable, to my HD ? Pin
coolvinx17-May-06 11:15
coolvinx17-May-06 11:15 
Questionc# button control Pin
reshsilk17-May-06 9:44
reshsilk17-May-06 9:44 
AnswerRe: c# button control Pin
User 665817-May-06 9:49
User 665817-May-06 9:49 

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.