- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
hello ...........i have question that where to use tostring() function...... like when we write.......... [CODE]Textbox1.Text=dr["ename"].ToString();[/CODE] here dr is the object of data reader and ename is the column name my question is why ToString() was used here.. | |
hello i have a problem .......my problem is that i want to concatenate two query strings but i don't know how to do this can somebody tell me how to concatenate query strings and correct the code that i wrote below [CODE][B]<a class="Links" href='OrderDetail.aspx?oID= <%#Eval("orderid")%>&uID=<%#Eval("userid") %>'>[/B][/CODE] thanks in advance | |
whats the difference between [COLOR="Green"]static int[/COLOR] and [COLOR="green"]int32[/COLOR] in asp.net | |
can somebody tell me how does data reader work in following list and what will the result of............if(dr.Read()).. [CODE] public List<clsproductprp> RetFind_rec(clsproductprp prp1) { SqlDataReader dr=null; List<clsproductprp> obj = new List<clsproductprp>(); SqlCommand discmd = new SqlCommand(); try { if (con.State == ConnectionState.Closed) { con.Open(); } discmd.CommandText = "spFindFromProduct"; discmd.CommandType = … | |
i wrote a c++ prgram i have aproblem abt the output; the program is as [CODE] #include<conio.h> #include<iostream.h> void main() { int i=1; i=400*400/400; cout<<i; getch(); } [/CODE] the output of this is =72 can somebody tell me that is this any type of garbage value??????????? | |
i m working with asp.net and we make a stored procedure we declare the parameters like @fanuser_id int, @fsuser_name string my question is that why we use [COLOR="red"][B]fs[/B][/COLOR] for string and [COLOR="red"][B]fan[/B][/COLOR] for integer what the meaning of these.......... | |
[U][I]how does highlighted lines work............. [/I][/U] [CODE] public List<clsproductprp> RetAllCol_rec() { List<clsproductprp> obj = new List<clsproductprp>(); SqlDataReader dr=null; SqlCommand discmd = new SqlCommand(); try { if (con.State == ConnectionState.Closed) { con.Open(); } discmd.CommandText = "spDisplayALLProduct"; discmd.CommandType = CommandType.StoredProcedure; discmd.Connection = con; [COLOR="red"][B] dr = discmd.ExecuteReader();[/B][/COLOR] while (dr.Read()) { clsproductprp prp … | |
hey.........i m new in asp.net ....and following is the class library.... ........can somebody tell me the working of the following code like why catch{} is used why finally is used and all this [CODE] public abstract class clscon { protected SqlConnection con = new SqlConnection(); public clscon() { con.ConnectionString = … | |
whats the difference between [code] while(dr.Read()) { } [/code] and [code] if(dr.Read()) { } [/code] | |
rectangle r1=new rectangle(); rectangle r2=r1; whats the working of second line here |