User Profile
Collapse
-
I want to display the data extracted from database table in listbox instead of simple column in datagrid.Thats why I want to have listbox in datagrid.Can I make this happen using Template?... -
If oracle is used as back-end then
In .NET datagrid is generally used to view data
btnadd is a Button control
oraconnection1 is name given to OracleConnectio n
pt is declared as datatable
for ADD
Private Sub btnadd_Click(By Val sender As System.Object, ByVal e As System.EventArg s) Handles btnadd.Click
Dim str1 As String
str1 = "insert into tablename(emp_n o)values('"&txt 1.Text&"')"...Leave a comment:
-
-
-
self join error
I want to show a same field from database twice each with different conditions . I used self join as below:
sql2 = "select m1.int_no(selec t int_no from exg_main_master where o_r_tag = 'O'),m2.int_no( select int_no from exg_main_master where o_r_tag = 'R') from exg_main_master m1,exg_main_mas ter m2 where m1.emp_no_dept_ code = '" & txteno.Text & "' and m2.emp_no_dept_ code = '" & txteno.Text & "'"... -
error in query while getting same field twice in datagrid
I want to show a same field from database twice each with different conditions in datagrid.I use Oracle as back-end. I use self join as below:
sql2 = "select m1.int_no(selec t int_no from exg_main_master where o_r_tag = 'O'),m2.int_no( select int_no from exg_main_master where o_r_tag = 'R') from exg_main_master m1,exg_main_mas ter m2 where m1.emp_no_dept_ code = '" & txteno.Text & "' and m2.emp_no_dept_ code =... -
-
I tried by writing:
dim myString as string
myString = txt1.Text
dropdownlist1.F indByText(myStr ing).Selected = True
But Getting the same error....Leave a comment:
-
-
FindByText in dropdownlist
How to use FindByText property of dropdownlist where text to find is in a textbox? i.e
if i write,
dropdownlist1.I tems.FindByText (" ' "& txt1.Text &" ' ").Selected = True
i get error
System.NullRefe renceException: Object reference not set to an instance of an object -
custom validator
My form has a textbox for entering Phone No.How to use custom validator to validate that only numeric value is allowed?
No activity results to display
Show More
Leave a comment: