![]() ![]() ![]() String createdBy = e.NewValues = null ? "" : e.NewValues.ToString() String created = e.NewValues = null ? () : e.NewValues.ToString() String pricefixed = e.NewValues.ToString() String description = e.NewValues.ToString() String productCode = e.NewValues.ToString() Int productTypeId = Convert.ToInt32(e.NewValues.ToString()) Int hotleId = Convert.ToInt32(e.NewValues.ToString()) Int selectID = Convert.ToInt32(e.Keys.ToString()) Protected void ASPxGridView1_RowUpdating(object sender, e) String sql = "select id,description from web_producttypes" Ĭol.PropertiesComboBox.TextField = "DESCRIPTION" String sql = "select id,name from hotels" Ĭol.PropertiesComboBox.DataSource = db.GetDataTable(sql) Ĭol.PropertiesComboBox.ValueField = "ID" Ĭol.PropertiesComboBox.TextField = "NAME" GridViewDataComboBoxColumn col = ASPxGridView1.Columns as GridViewDataComboBoxColumn Web_producttypes c on a.producttypeid=c.id" String sql = a.id,a.hotelid,a.producttypeid,Ī.updated_by,b.name as HotelName,c.descriptionįrom web_products a inner join hotels b on a.hotelid=b.id inner join Protected void AddProducts_Click(object sender, EventArgs e) Protected void Page_Load(object sender, EventArgs e) ![]() Public partial class WebProductsDemo : .Page
0 Comments
Leave a Reply. |