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 #860
Ranked #4K

28 Posted Topics

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
Member Avatar for tinstaafl
0
170
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
244
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
100
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
171
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
687
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
57
Member Avatar for missc
Member Avatar for stultuske
0
205
Member Avatar for missc
Member Avatar for LaxLoafer
0
96
Member Avatar for missc
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
120
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
94
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
90
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
103
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
127
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][email protected][/email]

Member Avatar for missc
0
127
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
64
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
91
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
135
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
115
Member Avatar for xanawa
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
77
Member Avatar for shyla

in this abstract class you should do the data members and methods that are generic(common) in all the subclasses. let say you have a rectangle[length x width] and a Trapezium [ 1/2 (top+base) x height ]: in the abstract class you should do data members like : double width/base, double …

Member Avatar for shyla
0
359
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
81
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
193
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
106

The End.