No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
Try string.Split should work. If you want validate you can write a regex for the same. Thanks.
Here's a great awesome [c# interview question video playlist](http://www.youtube.com/playlist?list=PL5753E1DFB675A268) . This is a great c# mock interview question video. The person has demonstrated how c# interviews actually happen. http://www.youtube.com/watch?v=hPXXCdK7nmk
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]
The ajax timer is a right approach. Easy and nice the complete page will not referesh.
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 …
It should be Label1.Forecolor = Color.Green; remove the from name , just use the enum value
That happens by itself, why do you want to specify the file size. The control takes care of the same.
How about a simple invoicing application project which creates invoices , prints and reporting with masters.
[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]
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(); …
[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]
Will graphics object work for you
You can use the scope_identity to get the latest identity inserted.
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 …
Hello Makarand, I think that will expose your password on the client side. Must be session variables would be a good thought.
The End.