Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for ja0

Hello, I just created my first website. I want to be able to access it via a domain name like, [url]www.mytestpage.com[/url]. The problem is that looking in some hosting website and they create the website and limit the storage space... I have the website in my own computer using IIS. …

Member Avatar for jbennet
0
117
Member Avatar for ja0

Hi, I have the following data in a excel csv file: Date,Time,TempOut 3/17/2011,00:30,73.3 However, if I load it using: [CODE]ExclConn.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + dir + ";" + "Extended Properties=\"text;HDR=Yes;FMT=Delimited\"";[/CODE] Then: [CODE]string Data = "SELECT * FROM [" + FileName + "]"; OleDbDataAdapter dtadpt = new OleDbDataAdapter(Data, ExclConn); …

Member Avatar for abelLazm
0
110
Member Avatar for ja0

Hi all, I am not sure why this is happening. But I am loading a .csv file and just showing it in a datagrid. However, in the .csv field I have time like 0030 but when is showed in the datagrid it is just 30. Any suggestion?

Member Avatar for ja0
0
89
Member Avatar for ja0

Hi, I already did an application in C# in release mode. However, I am not sure if in the .msi I will need all that files that are in the folder 'Release' or just I will need the .exe and the .ini that I created to optimized the program, to …

Member Avatar for alc6379
0
75
Member Avatar for ja0

I want to know how to see if my list contains a string name...having this [code] private class item { public string itemname { get; set; } public int val { get; set; } [/code] I tried, [code] var ilst = new List<itemname>(); ilst.Add( new itemname { ilst = "AA" …

Member Avatar for Momerath
0
68
Member Avatar for ja0

I want to pass some variables from the child form to the parent form. So at the Main form or Parent form I added the variables as a constructor: [CODE] private SampleFunction() { int a, b; //Here is where I want to use the x,y and z from the Second …

Member Avatar for ashishkumar008
0
186
Member Avatar for ja0

Hi, I want to clear the content of the DataTable Main, after an error as ocurred. The problem is that I want to try to load the data again [B]without[/B] closing the program. The problem is that for the 2nd time loading, it just do not show up the data …

0
62
Member Avatar for ja0

Hi, Maybe this is a simple question... I want to open a 2nd form using a load click button. I already did it: [CODE]private void loadbtt_Click(object sender, EventArgs e) { ScndForm.Show(); ScndForm.Update(); // Rest of the instructions for load button }[/CODE] The problem is that it is only showing the …

Member Avatar for ja0
0
68
Member Avatar for ja0

Hi, I want to parse the time from a string in c#, something like, [CODE]TimeSpan a = new TimeSpan(); string pattern = @"^\d{1}:\d{1}@"; if ( dt.Rows[x][y].ToString() != "" && System.Text.RegularExpressions.Regex.IsMatch(dt.Rows[x][y].ToString(), pattern ) ) { if ( !TimeSpan.TryParse(dt.Rows[x][y].ToString(),out a ) ) { MessageBox.Show(b.ToString()); } }[/CODE] So, if I have a string …

Member Avatar for ja0
0
90
Member Avatar for ja0

I am having an error using the following code, [CODE]DataView dtView = new DataView(dt); columname = "ItemNo"; Cond procedure = Cond.checknum; //I had a public enum Cond { checknum, checkspace } procedure.Equals(null); //Null because I am changing the procedure below in the program List<string> Mapcol = new List<string>(); foreach (string …

Member Avatar for Momerath
0
867
Member Avatar for ja0

I want to know how to transfer between two server a data table without using the SPROC for link them.

Member Avatar for Momerath
0
132
Member Avatar for ja0

Hi, I am just new using the Microsoft Application Blocks .NET. I am using a custom one... The problem is that when I call the SqlHelper parameter as "SqlHelper. " it only shows to me "Equals" or "ReferenceEquals". Why I can get the others...? [CODE]public void ExecuteNonQuery(SqlCommand sqlCmd) {...} public …

0
115
Member Avatar for ja0

Hi, I want to know how to get the total of rows (of myRead) after I executed: myRead = myCommnd.ExecuteReader(); The only way I get it is using a loop, but exist a command for that? Thanks!

Member Avatar for ja0
0
127
Member Avatar for ja0

Hi, I was wondering if you guys know about a tutorial for very begineers with SQLHelper or I should say, Microsoft Data Application Block. I already looked at google... but them require previous knowledge on this area... Thanks!

0
53
Member Avatar for ja0

I am having the following trouble: "System.Data.SqlClient.SqlException: Incorrect syntax near '11'. Unclosed quotation mark after the character string ' )'. I tried the solution of using double quote right there, but it give me another problem. The more strange thing is that the data is begin copy to the new …

Member Avatar for ja0
0
153