如何使用会话将Tab容器中的Gridview值插入数据库 [英] how to insert the Gridview values in tab container to database using session
问题描述
在运行模式下如下
i有每个标签的下拉列表。每个下拉列表中的四个项目如下
差,公平,良好,优秀
差1,公平2,优3,优秀4。
例如当用户选择要保存在数据库中的差1值时。
当用户选择要保存在数据库中的Fair 2值时。
当用户选择要保存在数据库中的Good 3值时。
当用户选择要保存在数据库中的优秀4值时。
教师指导管理(标签容器)
教师(标签容器)当我点击gridview记录中的Faculty如下
In run mode as follows
i have dropdownlist for each tab.in each dropdownlist four items as follows
Poor,Fair,Good,Excellent
For Poor 1,Fair 2,Good 3,Excellent 4.
For example when user select the Poor 1 value to be saved in the database.
when user select the Fair 2 value to be saved in the database.
when user select the Good 3 value to be saved in the database.
when user select the Excellent 4 value to be saved in the database.
Faculty Instrcutor Managment Adminisration(Tab container)
Faculty(Tab container) When i click the Faculty in gridview record as follows
Facname Question1 Question2 Question3 Question4
xxx Dropdownlist1 Dropdownlist2 Dropdownlist3 Dropdownlist4
yyy Dropdownlist5 Dropdownlist6 Dropdownlist7 Dropdownlist8
教练(标签容器)当我点击gridview记录中的教师时如下
Instructor(Tab container) When i click the Instructor in gridview record as follows
Insname Question1 Question2 Question3 Question4
xxx Dropdownlist1 Dropdownlist2 Dropdownlist3 Dropdownlist4
yyy Dropdownlist5 Dropdownlist6 Dropdownlist7 Dropdownlist8
管理(标签容器)当我点击网格视图中的管理记录如下
Management(Tab container) When i click the Management in gridview record as follows
List of Questions Ratings
MgtQuestions1 Dropdownlist1
MgtQuestions2 Dropdownlist2
MgtQuestions3 Dropdownlist3
MgtQuestions4 Dropdownlist4
管理(标签容器)当我点击gridview记录中的管理时如下
Administration (Tab container) When i click the Administration in gridview record as follows
List of Questions Ratings
AdminQuestions1 Dropdownlist1
AdminQuestions2 Dropdownlist2
AdminQuestions3 Dropdownlist3
AdminQuestions4 Dropdownlist4
i创建了三个table.Three表结构如下
教师表结构如下
i created three table.Three table structure as follows
Faculty table structure as follows
ID Autoincrement
FID varchar(50)
Facname varchar(50)
Question1 int
Question2 int
Question3 int
Question1 int
教练表结构如下
Instructor table structure as follows
ID Autoincrement
IID varchar(50)
Insname varchar(50)
Question1 int
Question2 int
Question3 int
Question1 int
反馈表结构如下
Feedback table structure as follows
ID Autoincrement
MgtQuestions1 int
MgtQuestions2 int
MgtQuestions3 int
MgtQuestions4 int
AdminQuestions1 int
AdminQuestions2 int
AdminQuestions3 int
AdminQuestions4 int
1 .i想在Faculty表中保存Faculty(tabcontainer)gridview详细信息。
讲师表格中的讲师(tabcontainer)gridview详细信息。
2 .i想要在反馈表中保存管理和管理(选项卡容器)gridview详细信息。
用于在数据库中保存上述记录。我可以使用会话并将所有gridview值详细信息存储在会话中,然后保存到数据库中。
我怎样才能在asp.net中使用c#。
问候,
Narasiman P.
1.i want to save Faculty(tabcontainer) gridview details in Faculty table.
Instructor (tabcontainer) gridview details in Instructor table.
2.i want to save Management and Adminsitration(tab container) gridview details in Feedback table.
For saving the above record in database. can i use session and store the all the gridview values details in session and then save into database.
for that how can i do in asp.net using c#.
Regards,
Narasiman P.
推荐答案
这篇关于如何使用会话将Tab容器中的Gridview值插入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!