Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: Access the method from VB clients(Method has written in C#) Pin
DaveyM6914-Apr-09 23:45
professionalDaveyM6914-Apr-09 23:45 
JokeRe: Access the method from VB clients(Method has written in C#) Pin
12Code15-Apr-09 1:22
12Code15-Apr-09 1:22 
Question[Message Deleted] Pin
member12345614-Apr-09 22:09
member12345614-Apr-09 22:09 
AnswerRe: Help Pin
Christian Graus14-Apr-09 22:15
protectorChristian Graus14-Apr-09 22:15 
AnswerRe: Help Pin
benjymous14-Apr-09 22:16
benjymous14-Apr-09 22:16 
GeneralRe: Help Pin
Christian Graus14-Apr-09 22:17
protectorChristian Graus14-Apr-09 22:17 
GeneralRe: Help Pin
tom57200714-Apr-09 22:19
tom57200714-Apr-09 22:19 
QuestionHow to map data from dataAdaptater to dataset correctly Pin
tom57200714-Apr-09 22:04
tom57200714-Apr-09 22:04 
Hi

I need a few help to make a correct mapping from my dataAdaptater to my dataSet:

SqlConnection conn = new SqlConnection("Data Source=localhost;Initial Catalog=JWDTA016;Integrated Security=True");
DataAdaptater.SelectCommand = new SqlCommand(QueryString, conn);

//I try to create mapping
DataTableMapping mapping = DataAdaptater.TableMappings.Add("Table", "dt");
mapping.ColumnMappings.Add("IXROOT", "Client root");
mapping.ColumnMappings.Add("IXADID", "Addres id");
mapping.ColumnMappings.Add("IXPATH", "PDF Path");
mapping.ColumnMappings.Add("IXID", "Document id");
mapping.ColumnMappings.Add("IXESEQ", "Extraction sequence");
mapping.ColumnMappings.Add("ISSTAT", "Status");
mapping.ColumnMappings.Add("DIFREQ", "Sending frequence");
mapping.ColumnMappings.Add("IXPID", "Production id"); 
  
//But when I display the ds into my datagrid, it can just display all my dataquery result and not only the colums i want to map         
DataAdaptater.Fill(dt);
Ultragrid.DataSource = dataGridData.Tables[0].DefaultView;
Ultragrid.DataBind();


If somebody has an idea or see some wrong in my thought process...

regards
NewsRe: How to map data from dataAdaptater to dataset correctly Pin
tom57200715-Apr-09 2:24
tom57200715-Apr-09 2:24 
RantRe: How to map data from dataAdaptater to dataset correctly Pin
tom57200715-Apr-09 3:09
tom57200715-Apr-09 3:09 
QuestionHow to save an xml file from PDA webbrowser control [modified] Pin
pankaj.calm14-Apr-09 21:41
professionalpankaj.calm14-Apr-09 21:41 
QuestionC# Doubt Pin
crrajaguru14-Apr-09 21:36
crrajaguru14-Apr-09 21:36 
AnswerRe: C# Doubt Pin
Christian Graus14-Apr-09 22:05
protectorChristian Graus14-Apr-09 22:05 
QuestionWhat's the responsibility of controller? Pin
calendarw14-Apr-09 21:10
calendarw14-Apr-09 21:10 
AnswerRe: What's the responsibility of controller? Pin
crrajaguru14-Apr-09 21:41
crrajaguru14-Apr-09 21:41 
GeneralRe: What's the responsibility of controller? Pin
calendarw14-Apr-09 21:58
calendarw14-Apr-09 21:58 
QuestionUpside down printer Pin
damichab14-Apr-09 20:48
damichab14-Apr-09 20:48 
AnswerRe: Upside down printer Pin
benjymous14-Apr-09 22:08
benjymous14-Apr-09 22:08 
GeneralRe: Upside down printer Pin
damichab15-Apr-09 0:36
damichab15-Apr-09 0:36 
GeneralRe: Upside down printer Pin
benjymous15-Apr-09 2:07
benjymous15-Apr-09 2:07 
QuestionHow to export images to Excel Pin
prajeesh14-Apr-09 19:41
prajeesh14-Apr-09 19:41 
AnswerRe: How to export images to Excel Pin
Christian Graus14-Apr-09 19:52
protectorChristian Graus14-Apr-09 19:52 
GeneralRe: How to export images to Excel Pin
prajeesh14-Apr-09 21:36
prajeesh14-Apr-09 21:36 
GeneralRe: How to export images to Excel Pin
Christian Graus14-Apr-09 22:16
protectorChristian Graus14-Apr-09 22:16 
QuestionCreated setup for C# windows application which should also install .net runtime incase not installed Pin
ptr_Electron14-Apr-09 19:08
ptr_Electron14-Apr-09 19:08 

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.