如何在Vb.Net Datagridview中使用此屏幕? [英] How Can I Do Like This Screen In Vb.Net Datagridview?
问题描述
Hello开发人员,
我的项目是酒店房间预订概念,我已完成所有这些概念,如预订,取消..我的问题是创建前屏幕,它出现所有房间,他们被创建和它显示不同的颜色,即如果房间被预订则显示红色,并且房间可用意味着它显示白色,
我的桌子详细信息,Room_Master包含room_id,room_facilities ,
和Booking_master包含Booking_Id,Guest_name,Room_No,From_date,To_date,Check_in_time,Check_out_time
使用此表我怎样才能开发前端屏幕..
请帮帮我朋友
Hello developers,
My project is hotel room booking concept, i have finished all those concept like booking ,cancel .. my problem is creating front screen , its appears all rooms which they are created and it shows different color, i.e if room is booked it shows red color, and room available means it shows white color ,
my table details are, Room_Master contains room_id ,room_facilities,
and Booking_master contains Booking_Id,Guest_name,Room_No,From_date,To_date,Check_in_time,Check_out_time
By Using this table how can i develop front screen..
Please Help me friends
推荐答案
查看此链接。您必须根据条件(即预订或未预订)手动设置单元格背景。
http://stackoverflow.com/questions/17858002/change-data-grid-view-row-colour-depend-upon-the -value [ ^ ]
Check this link. you have to manully set the cells background based on condition i.e. booked or not booked.
http://stackoverflow.com/questions/17858002/change-data-grid-view-row-colour-depend-upon-the-value[^]
这篇关于如何在Vb.Net Datagridview中使用此屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!