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
Ranked #4K
~6K People Reached
Favorite Tags

18 Posted Topics

Member Avatar for Kratoswoo

I am using asp.net configuration tool for my website. Have everything working fine (The sign out button and the database) Now I want to implament something that shows the users who are online and offline. An icon that shows up next to a users datbase table that if they are …

Member Avatar for aryan.sen03
0
207
Member Avatar for Kratoswoo

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { DataContext db = new DataContext(); using (var SI = new DataContext()) { var search = (from l in SI.**** orderby l.*** descending where l.**** == l.**** select l).First(); Session["ID"] = search.***; Response.Redirect("http://localhost:63558/****.aspx"); } } So here I have it so when I hit …

Member Avatar for KushMishra
0
282
Member Avatar for ddanbe

Here is how I did it with a .csv file and it puts the information into the textbox private void btnSearch_Click(object sender, EventArgs e) { string filepath = "C:***.csv"; using (StreamReader readFile = new StreamReader(filepath)) { string line; while ((line = readFile.ReadLine()) != null) { IList<string> split = Regex.Split(line, ",(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)"); …

Member Avatar for deceptikon
0
3K
Member Avatar for kkjaykamau

I am trying to figure out what you mean? I am sorry any way of explaining better of what you want it to do?

Member Avatar for Kratoswoo
0
179
Member Avatar for Kratoswoo

using (StreamReader readFile = new StreamReader(filepath)) { string line; while ((line = readFile.ReadLine()) != null) { textBox1.Text = textBox1.Text + line + Environment.NewLine; } } This is what I have so far. I have tried using .Split to try to seperate them but do not know much about it. So …

Member Avatar for ddanbe
0
233
Member Avatar for Kratoswoo

So What I am trying to do it take a CSV file take what is in it and diplay it in a big textbox or txt file. String[] lines = File.ReadAllText("**").Split(','); foreach (string line in lines) { textBox1.Text = line; } That is what I have so far. Issues is …

Member Avatar for Kratoswoo
0
172
Member Avatar for Kratoswoo

So working on something and it is running on asp.net so this page is refreshing a lot. It has numbers in a textbox that have been counted and keep changing all day long. What I want to so the textbox witht he highest number is turned green. int[] MyNumbers = …

Member Avatar for ss125
0
304
Member Avatar for Kratoswoo

So I am using gridview and want it so my first 2 clumns of my last row to combine into one. Becuase right now just have a blank area and it looks weird. Also trying to figure out how to set the font a diffrent size on that 1 word …

Member Avatar for Kratoswoo
0
171
Member Avatar for Kratoswoo

The title says it all. I have looked all over and can't find a solution. <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <style type="text/css"> body, html { width: 100%; height: 100%; margin: 0; padding: 0; overflow:hidden; position:relative } </style> <title></title> </head> <body bgcolor="#000000" text="#FFFFFF" link="#9690CC" vlink="#FFFF0F" style="width: 100%; height: 100%"> <form id="form1" runat="server"> …

Member Avatar for pritaeas
0
691
Member Avatar for Kratoswoo

So I have a Datatable that is supposed to show information. I have it working in Windows Forms but tranfering it over to asp.net so a little diffrent. I do not understand GridViews that much. So any help would be appreciative. I will not give everything away. I did a …

Member Avatar for Kratoswoo
0
236
Member Avatar for Kratoswoo

So I have this linq code and I am trying to get it to look at the datbase and what it is doing is pulling back the last record put into the database. My asp page refreshes and displays the new information that was updated. What I want is to …

Member Avatar for Kratoswoo
0
225
Member Avatar for Kratoswoo

So I have items displayed in 2 diffrent comboxes. I want it so when I select a customer in combobox 1, In combobox 2 it only shows the jobs to that customer. I tried it many diffrent ways but can not seem to get it to work. Any help would …

Member Avatar for tinstaafl
0
65
Member Avatar for Kratoswoo

So our server is located in Cali and we are 2 hours ahead so When I save my time to database it does it according to the local time. I tried to figure out how to use GetDate() and GetUTCDate() but can not figure out how to use it. How …

Member Avatar for imBaCodes
0
101
Member Avatar for Kratoswoo

I am using linq for a log in and out type thing. Want to know if there is a way to grab the ID of a row that the persons username is under.... Have 3 tables with 2 primary keys in the 3rd table. Want to save the ID from …

0
127
Member Avatar for Kratoswoo

Have a custom Login page. Want it so if you type in http the whole address to the enxt page to skip over the login page to redirect you.... Right now you can skip the login page by typing the whole url. Any help?

Member Avatar for JorgeM
0
71
Member Avatar for Kratoswoo

So I created a form that used windows.forms and I was moving it over to web based. Now in there, there was DataGridView. Asp.net does not use that. So when I try the same thing. using (var = new ()) { var v = from l in .Logins where l.LogoutTime …

Member Avatar for Kratoswoo
0
122
Member Avatar for Kratoswoo

So I have been working on something that will check if a user is online or offline. I have the login page set up adn when you loggin, it will take you to the datase that shows all the users. I have a row called "UserOnline" and I want it …

Member Avatar for GliderPilot
0
189
Member Avatar for Kratoswoo

Im trying to do this code to create a Parking ticket Simulator. This is the code. public class Parking_Ticket { private String make; private String model; private String color; private String licenseNumber; public int minutes; public class ParkedCar { private String make; private String model; private String color; private String …

Member Avatar for Kratoswoo
0
244

The End.