Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~741 People Reached
Favorite Tags
Member Avatar for alam14_mist

web.config [CODE] <connectionStrings> <add name="Conn" connectionString="Dsn=odbc_OnlineAcc;uid=sa;pwd=12345" providerName="System.Data.Odbc"/> </connectionStrings> [/CODE] C# [CODE] string connect =ConfigurationManager.AppSettings["Conn"]; OdbcConnection odbcConnection = new OdbcConnection(connect); odbcConnection.Open(); [/CODE] error message is "connection property is not initiated"; How can I solve it? Thanks to all................

Member Avatar for alam14_mist
0
136
Member Avatar for alam14_mist

In attachment I have sent the structure of my website.I have used web configuration file for connection string. How can I publish the website in IIS? Notice : I have never publish asp.net web site. so help me in step by step way. Thanks.

0
49
Member Avatar for alam14_mist

I have use following code [CODE] string msg = "Saved Successfully."; Label lbl = new Label(); lbl.Text = "<script language='javascript'>" + Environment.NewLine + "window.alert('" + msg + "') </script>"; Page.Controls.Add(lbl);[/CODE] How can I change the icon? (I also tried by :window.alert('" + msg + "',3))

0
53
Member Avatar for alam14_mist

I have declared the datatyp of 'p_date' as datetime I have also used DateTextBox_CalenderExtender on textbox.(from Ajax ToolKit) [CODE] DateTime datetime=new DateTime(); datetime=convert.ToDateTime(DateTextBox.text); InsertIntoMrNo(mrNoTextBox.Text, datetime, postIdTextBox.Text); public void InsertIntoMrNo(string mrno, DateTime mrdate, string postid) { connection =ConfigurationManager.AppSettings["ConnectionString"]; sqlConnectionObj = new SqlConnection(connection); insertQuery = @"INSERT INTO mrno (mr_no,p_date,post_id) VALUES('" + mrno+"', …

Member Avatar for debasisdas
0
90
Member Avatar for alam14_mist
Member Avatar for jomgrg
0
172
Member Avatar for alam14_mist

[CODE] ListView listView1 = new ListView(); DataTable dataTable = new DataTable(); MoneyReceiptGateway moneyReceiptGateway = new MoneyReceiptGateway(); dataTable = moneyReceiptGateway.SelectDataForListView(narrationTextBox.Text); string[] str = new string[dataTable.Columns.Count]; foreach (DataRow rr in dataTable.Rows) { for (int coll = 0; coll <= dataTable.Columns.Count; coll++) { str[coll] = rr[coll].ToString(); } ListViewDataItem li; li = new ListViewDataItem(str); …

Member Avatar for alam14_mist
0
241