No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site www.questpond.com for .NET, C# , design pattern…
18 Posted Topics
Re: Try string.Split should work. If you want validate you can write a regex for the same. Thanks. | |
Re: You can also try .NET Interview questions videos | |
Re: Can you check the following Did you create DSN connection string on the local machine Ensur eyou have not added in user dsn Make sure you have proper connection string [url]www.connectionstrings.com[/url] | |
Re: The ajax timer is a right approach. Easy and nice the complete page will not referesh. | |
Re: In this .NET Interview questions interviewer expects two things. First the importance of configuration and second in which scenarios are the above file applicable. So lets answer the question in two parts. The importance of config files ================================================== App.config, web.config and machine.config are files which store configuration data in XML … | |
Re: The list of differences are huge. In interviews you normally need to short and sweet. So we will list down top 5 differences from each section. So lets first start with the difference between 1.0 and 2.0. Support for 64 bit application. Generics SQL cache dependency Master pages Membership and … | |
Re: It should be Label1.Forecolor = Color.Green; remove the from name , just use the enum value | |
Re: That happens by itself, why do you want to specify the file size. The control takes care of the same. | |
Re: How about a simple invoicing application project which creates invoices , prints and reporting with masters. | |
Re: [CODE]SqlConnection con =new SqlConnection(ConfigurationManager.ConnectionStrings["ConString"].ConnectionString.ToString();) SqlCommand cmd=new SqlCommand(); cmd.connection=con; con.open(); cmd.commandText="SELECT id,FirstName FROM tablename"; SqlDataReader dr; dr=cmd.ExecuteReader(); ddlname.DataSource =dr; ddlname.DataTextField = "FirstName"; ddlname.DataValueField = "id"; ddlname.DataBind(); dr.close(); con.close();[/CODE] | |
Re: The below code works for me, Can you set content encoding and also can you ensure that MS word is installed on the client side. [CODE]Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=FileName.doc"); Response.ContentEncoding = System.Text.Encoding.UTF7; Response.ContentType = "application/vnd.word"; System.IO.StringWriter oStringWriter = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter oHtmlTextWriter = new System.Web.UI.HtmlTextWriter(oStringWriter); this.GridView1.RenderControl(oHtmlTextWriter); Response.Output.Write(oStringWriter.ToString()); Response.Flush(); … | |
Re: [CODE]Response.Buffer=<SPAN style="COLOR: blue">true;<o:p></o:p> Response.ExpiresAbsolute=DateTime.Now.AddDays(-1d); Response.Expires =-1500; Response.CacheControl = "no-cache";[/CODE] | |
| |
Re: You can use the scope_identity to get the latest identity inserted. | |
Re: The above answer of functions and stored procedure is not convincing heres one below. Function reduce redudant code in SP.Function - You can not change data while in stored procedures you can , can return only one value while SP returns multiple values, functions can be called inside a SP … | |
Re: Hello Makarand, I think that will expose your password on the client side. Must be session variables would be a good thought. | |
| |
Re: There are some good tutorial at www.questpond.com |
The End.