Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Endorsement
Ranked #855
Ranked #4K
~11.9K People Reached
Favorite Tags
Member Avatar for missc

hi, i would like to change the row color in a data grid view at runtime. i made this code but it didn't work [code] foreach (DataGridViewRow dgvr in dgvReservations.Rows) { string status = dgvr.Cells[10].Value.ToString() ; if (status == "Canceled") { dgvr.DefaultCellStyle.BackColor = Color.Red; } } [/code] not even this …

Member Avatar for ian rey
0
6K
Member Avatar for missc

how to disable a button (that is found in a view) from a method in a controller ?

Member Avatar for tinstaafl
0
163
Member Avatar for missc

i am developing a hit counter in my web application to increase whenever a new user visits my website so that i will now the number of hits from different users so far. but the problem is that it is increasing even though it is the same ip address

Member Avatar for jalpesh_007
0
229
Member Avatar for missc

i have a textbox and a button in list view ! now i would like to get the text/value of the textbox on btnClick event ! can some one tell me how i can get it?

Member Avatar for missc
0
95
Member Avatar for missc

i am displaying products in list view ! now in <itemTemplate> i'm showing the product name by doing : <b> <%# Eval("ProductName") %></b> now i would like to also show the price of this product. but the price is in another table since prices are different for different types of …

Member Avatar for missc
0
169
Member Avatar for missc

i'm trying to make an if statment in asp.net. the if statement is done in the listView . but its not working ! all the if statement is been viewed upon runtime <ItemTemplate> <div class="productItem"> <div> <img src='<%# Eval("ProductImagePath") %>' alt="<%#Eval("ProductName") %>" height="120" width="120" /> </a> </div> <div> <br /> …

Member Avatar for AleMonteiro
0
674
Member Avatar for missc

i have a website that i did using html and i used google chrome while doing it. now when i'm testing it on internet explorer the buttons and texts are moving. what can i do ?!

Member Avatar for JorgeM
0
55
Member Avatar for missc
Member Avatar for stultuske
0
187
Member Avatar for missc

if website has been hacked. what has to be done to solve the problem ?

Member Avatar for LaxLoafer
0
87
Member Avatar for missc
Member Avatar for happygeek
0
44
Member Avatar for missc

hi, i have a system ans it is that users logs in with username and password .. and this is a risk since users can log in with others account.. now as a mitigation(avoid the risk) i listed that users can log in using finger print. now i have to …

Member Avatar for sufyan2011
0
114
Member Avatar for missc

[CODE]<%if(Request.ServerVariables["SCRIPT_NAME"].Contains("PostOpinion.aspx")){Response.Write("Menu_selected");}else{Response.Write("Menu");}%>[/CODE] what is this code used for ?

Member Avatar for shakeb@techwave
0
89
Member Avatar for missc

hi, i want to add a file path to my program. the file is stored in the folder where my solution is saved!! how can i code my path in the project so that my path will always be valid? because at the moment it is e:/..... and when i …

Member Avatar for missc
0
84
Member Avatar for missc

what is the pseudo code to get data from the database and view it in your application??

Member Avatar for Mitja Bonca
0
92
Member Avatar for missc

hi, can i use count and top 6 in the same sql command ?? and also, how can i use inner joins to link guest id in reservation table with guest name from guest table

Member Avatar for missc
0
123
Member Avatar for missc

what is the best regex to validate email. i would like to validate it to be a valid email not ex : [email]abcd@efgh.ijk[/email]

Member Avatar for missc
0
121
Member Avatar for missc
Member Avatar for missc

i am doing a hotel reservation system and i wish to do a report of todays check in , displaying a list of arrivals .. how can i filter data in a report ? pls help.. i wish that the user can choose the date to filter

0
61
Member Avatar for missc

I have a C# WinForm application. On my Buttons I use the '&' (in the .Text properties) for Hotkey access. The strange behavior is that the '&' is converted to the appropriate underscore while in design mode BUT DOES NOT appear at Runtime. At runtime the Hotkey functionality works, but …

Member Avatar for missc
0
83
Member Avatar for missc

I have a C# WinForm application. On my Buttons I use the '&' (in the .Text properties) for Hotkey access. The strange behavior is that the '&' is converted to the appropriate underscore while in design mode BUT DOES NOT appear at Runtime. At runtime the Hotkey functionality works, but …

Member Avatar for missc
0
131
Member Avatar for missc

i made a form that consists of labels !! this form is like an invoice .. all labels and lists contains the items and its const and at the end the total cost .. now i have a print button, and i would like to print the contents of the …

Member Avatar for missc
0
108
Member Avatar for xanawa

Hi, i have a datagridview where i create new rows and give the name of the header myself eg: table 1 table 2 table 3 As you know the datagridview has the column headers and the rows.. The attachment with this thread has a red circle where i would like …

Member Avatar for xanawa
0
135
Member Avatar for missc

hi, i am doing a hotel reservation system and i don't know how to get the rooms available ! can some one help pls ? i have these tables: [ICODE][B][U][COLOR="Red"]tblRoom[/COLOR][/U][/B] ID--int RoomNo--int RoomType--int BedType--varchar(25) RatePerNight--money MaxNoOfPersons--int [COLOR="red"][B][U]tblReservation[/U][/B][/COLOR] ID--int GuestID--int DateOfReservation--datetime NoOfPersons--int RoomID--int ArrivalDate--datetime DepartureDate--datetime TotalCost--money CheckIn--bit (-this is set to …

Member Avatar for missc
0
3K
Member Avatar for missc

hi, i have 2 data grid views in my form.. one displaying the guests and the other the reservations.. i would like to filter the reservations data grid view to display only reservations of the guest selected form the guest data grid view ... but i need help with this …

Member Avatar for missc
0
73
Member Avatar for shyla

i am trying to figure this exercise. i just started, but i dont understand what do i need to put where ? [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ShapesDemo { abstract class GeometricFigure { int height; int width; double area; /* public GeometricFigure(int Height, int Width) { …

Member Avatar for shyla
0
240
Member Avatar for missc

hi i have two table : Guest and Country.. which are linked by a country id foreign key in guest table .. now in my program i would like to do a data grid view showing all guests details .. how can i show the name of the country instead …

Member Avatar for missc
0
72
Member Avatar for missc

hi, for a 'total cost' field in sql i used the data type 'money'.. in c# what data type should i use to match that of the sql?? decimal or float?? thanks

Member Avatar for Momerath
0
185
Member Avatar for missc

hi, i have added a new tool to the toolbox in visual studio by adding an existing solution to my solution and automatically a new tool was added to the toolbox. now, how can i make it portable so that when i open my solution on another pc, it will …

Member Avatar for missc
0
102