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
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
202
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
280
Member Avatar for ddanbe

The test.txt file I'm using is: 1,2,3,Name1,Pizza,Pizza Hut,7,8,9 1,2,3,Name2,goose,my home,7,8,9 1,2,3,Name3,chicken,airplane,7,8,9 Most of the explanation can be found in the snippet. Some CSV(Comma Separated Value) files often contain as first line, a header. You could skip this, or threat it a bit differently. I had no header, so I leave …

Member Avatar for deceptikon
0
3K
Member Avatar for kkjaykamau

I am new to using datagridviews and wanted to know how to populate certain fields. I have created a form and added a datagridview (named GridSellProducts) with Visual Studio designer and added 8 columns with the first named Item. I have also changed the column type for Item to DataGridViewComboBoxColumn …

Member Avatar for Kratoswoo
0
175
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
231
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
169
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
300
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
166
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
681
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
229
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
221
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
100
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
69
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
119
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
180
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
239