- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
[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 … |
|
Re:
hi I am facing problem in connection of sql server in asp.net pages Actually there is error when i importing namespace [B]System.Data.Sqlclient[/B] [B] Error is:[/B] The type or namespace name 'sqlclient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) now i don't idea that what … |